Changeset 203:7d4b71c7c72f for plugins/antispam/inc/lib.dc.antispam.php
- Timestamp:
- 05/07/11 16:35:27 (14 years ago)
- Branch:
- default
- Children:
- 206:ccf48ff350d5, 207:19dcc79dc756
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/inc/lib.dc.antispam.php
r0 r203 79 79 } 80 80 81 public static function dashboardIconTitle($core) 82 { 83 if (($count = self::countSpam($core)) > 0) { 84 $str = ($count > 1) ? __('(including %d spam comments)') : __('(including %d spam comment)'); 85 return '</a> <br /><a href="comments.php?status=-2">'.sprintf($str,$count); 86 } else { 87 return ''; 88 } 89 } 90 81 91 public static function countSpam($core) 82 92 {
Note: See TracChangeset
for help on using the changeset viewer.