Changeset 89
- Timestamp:
- 02/18/08 14:02:21 (9 months ago)
- Files:
-
- 1 modified
-
trunk/lib/action.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/action.php
r85 r89 80 80 ?> 81 81 <div> 82 <table border=0>82 <table width="100%" border=0> 83 83 <tr valign="top"> 84 84 <td width="25%"> … … 102 102 //# exclude $wpurl from search results... 103 103 //# ...$siteurl already excluded in db query. 104 //if (!eregi($siteurl, $chR->referrer) {105 104 if ($wpurl == $siteurl || !eregi($wpurl,$chR->referrer)) { 106 105 print '<li class="charts">'.$chR->top_referrer.': '; … … 108 107 //#cut "http://" from shown url, then truncate 109 108 //# instead of using stringShortener... 110 //print stringShortener($chR->referrer,round($max_char_len*.25,0)).'</a>'."\n";111 109 print substr(preg_replace('/^'.preg_quote('http://','/').'/i', '', $chR->referrer),0,$char_len); 112 110 if (strlen($chR->referrer) > ($char_len + 7)) {
