Dotclear


Ignore:
Timestamp:
07/05/15 12:39:27 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add IP and antispam filter columns when displaying spams, closes #1816

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/comments.php

    r2888 r3044  
    5252); 
    5353 
    54  
    5554/* Get comments 
    5655-------------------------------------------------------- */ 
     
    110109     $params['comment_ip'] = $ip; 
    111110     $show_filters = true; 
     111} 
     112 
     113// Add some sort order if spams displayed 
     114if ($with_spam || ($status == -2)) { 
     115     $sortby_combo[__('IP')] = 'comment_ip'; 
     116     $sortby_combo[__('Spam filter')] = 'comment_spam_filter'; 
    112117} 
    113118 
     
    274279 
    275280     '</form>', 
    276      $show_filters 
     281     $show_filters, 
     282     ($with_spam || ($status == -2)) 
    277283     ); 
    278284} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map