Changeset 2823:f011562dadc7 for plugins/antispam/inc
- Timestamp:
- 11/27/14 15:28:36 (11 years ago)
- Branch:
- default
- Location:
- plugins/antispam/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/inc/class.dc.spamfilter.php
r2566 r2823 40 40 } 41 41 42 $this->gui_url = 'plugin.php?p=antispam&f='.get_class($this);42 $this->gui_url = $core->adminurl->decode('admin.plugin.antispam',array('f' => get_class($this))); 43 43 } 44 44 -
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.