- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/inc/lib.dc.antispam.php
r2566 r2823 75 75 if (($count = self::countSpam($core)) > 0) { 76 76 $str = ($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'); 77 $icons['comments'][0] .= '</span></a> <br /><a href="comments.php?status=-2"><span>'.sprintf($str,$count); 77 $icons['comments'][0] .= '</span></a> <br /><a href="'.$core->adminurl->get('admin.comments',array('status' => '-2')).'"><span>'. 78 sprintf($str,$count); 78 79 } 79 80 } … … 83 84 if (($count = self::countSpam($core)) > 0) { 84 85 $str = ($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'); 85 return '</span></a> <br /><a href="comments.php?status=-2"><span>'.sprintf($str,$count); 86 return '</span></a> <br /><a href="'.$core->adminurl->get('admin.comments',array('status' => '-2')).'"><span>'. 87 sprintf($str,$count); 86 88 } else { 87 89 return '';
Note: See TracChangeset
for help on using the changeset viewer.