Dotclear

Changeset 472:6a046e84276c


Ignore:
Timestamp:
07/01/11 19:57:38 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
default
Message:

Reprise du libellé (et des balises) du favori des commentaires si présence d'indésirable(s)

File:
1 edited

Legend:

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

    r270 r472  
    7575          if (($count = self::countSpam($core)) > 0) { 
    7676               $str = ($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'); 
    77                $icons['comments'][0] .= '</a> <br /><a href="comments.php?status=-2">'.sprintf($str,$count); 
     77               $icons['comments'][0] .= '</a> <br /><a href="comments.php?status=-2"><span>'.sprintf($str,$count).'</span>'; 
    7878          } 
    7979     } 
     
    8383          if (($count = self::countSpam($core)) > 0) { 
    8484               $str = ($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'); 
    85                return '</a> <br /><a href="comments.php?status=-2">'.sprintf($str,$count); 
     85               return '</a> <br /><a href="comments.php?status=-2"><span>'.sprintf($str,$count).'</span>'; 
    8686          } else { 
    8787               return ''; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map