Changeset 1083
- Timestamp:
- 05/13/2008 06:32:49 PM (2 years ago)
- Location:
- trunk/handlers
- Files:
-
- 2 modified
-
referrers/referrers.php (modified) (4 diffs)
-
review_blacklist/review_blacklist.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/handlers/referrers/referrers.php
r1076 r1083 163 163 $refdel = NULL; # referrer records deleted 164 164 $bladd = NULL; # blacklist records added 165 $r = 1; # row counter 165 166 166 167 // ------------------------------------- … … 574 575 echo '<thead>'; 575 576 echo '<tr><th class="hits" scope="col">'.LIST_HEAD_HITS.'</th>'; 576 if ($isAdmin) echo '<th class="action " scope="col">'.LIST_HEAD_ACTION.'</th>';577 if ($isAdmin) echo '<th class="action c2" scope="col">'.LIST_HEAD_ACTION.'</th>'; 577 578 echo '<th class="refs" scope="col">'.$refshead.'</th></tr>'."\n"; 578 579 echo '</thead>'."\n"; … … 590 591 $ref = $this->htmlspecialchars_ent($referrer['referrer']); 591 592 } 592 echo '<tr >';593 echo '<tr'.(($r%2)? '' : ' class="alt"').'>'."\n"; #enable alternate row color echo '<td class="hits">'.$hits.'</td>'; 593 594 echo '<td class="hits">'.$hits.'</td>'; 594 if ($isAdmin) echo '<td class="action ">'.sprintf($blacklink,$ref,$redir).'</td>';595 if ($isAdmin) echo '<td class="action c2">'.sprintf($blacklink,$ref,$redir).'</td>'; 595 596 if ($sites) 596 597 { … … 602 603 } 603 604 echo '</tr>'."\n"; 605 $r++; 604 606 } 605 607 -
trunk/handlers/review_blacklist/review_blacklist.php
r1073 r1083 60 60 $loggedin = ($isAdmin) ? TRUE : (bool)$this->GetUser(); 61 61 $pre = $this->config['table_prefix']; 62 $r = 1; # row counter 62 63 63 64 $queryd = ''; … … 289 290 echo '<table id="reflist" class="data" summary="'.$summary.'">'."\n"; 290 291 echo '<thead>'; 291 if ($isAdmin) echo '<th class="action " scope="col">'.LIST_HEAD_ACTION.'</th>';292 if ($isAdmin) echo '<th class="action c2" scope="col">'.LIST_HEAD_ACTION.'</th>'; 292 293 echo '<th class="refs" scope="col">'.$refshead.'</th></tr>'."\n"; 293 294 echo '</thead>'."\n"; … … 296 297 { 297 298 $ref = $this->htmlspecialchars_ent($spammer['spammer']); 298 echo '<tr >';299 if ($isAdmin) echo '<td class="action ">'.sprintf($removelink,$ref).'</td>';299 echo '<tr'.(($r%2)? '' : ' class="alt"').'>'."\n"; #enable alternate row color echo '<td class="hits">'.$hits.'</td>'; 300 if ($isAdmin) echo '<td class="action c2">'.sprintf($removelink,$ref).'</td>'; 300 301 echo '<td class="refs">'.$ref.'</td>'; 301 302 echo '</tr>'."\n"; 303 $r++; 302 304 } 303 305 echo '</tbody>'."\n"; … … 307 309 { 308 310 echo '<h4 id="'.$idResult.'">'.$result.'</h4>'."\n"; 309 echo '<p><em >'.NONE_NOTE.'</em></p>'."\n";311 echo '<p><em class="error">'.NONE_NOTE.'</em></p>'."\n"; 310 312 } 311 313 }