Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/inc/lib.dc.antispam.php

    r2566 r2823  
    7575          if (($count = self::countSpam($core)) > 0) { 
    7676               $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); 
    7879          } 
    7980     } 
     
    8384          if (($count = self::countSpam($core)) > 0) { 
    8485               $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); 
    8688          } else { 
    8789               return ''; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map