Dotclear


Ignore:
Timestamp:
09/27/13 19:03:25 (12 years ago)
Author:
Lepeltier kévin <kevin@…>
Branch:
Ticket #1548
Parents:
2133:5ba259352620 (diff), 2113:a134102bfd9a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fusion avec default

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.pager.php

    r2071 r2134  
    151151class adminPostList extends adminGenericList 
    152152{ 
    153      public function display($page,$nb_per_page,$enclose_block='') 
     153     public function display($page,$nb_per_page,$enclose_block='',$filter=false) 
    154154     { 
    155155          if ($this->rs->isEmpty()) 
    156156          { 
    157                echo '<p><strong>'.__('No entry').'</strong></p>'; 
     157               if( $filter ) { 
     158                    echo '<p><strong>'.__('No entry matches the filter').'</strong></p>'; 
     159               } else { 
     160                    echo '<p><strong>'.__('No entry').'</strong></p>'; 
     161               } 
    158162          } 
    159163          else 
     
    166170                    } 
    167171               } 
    168                $html_block = 
     172               $html_block  =  
    169173               '<div class="table-outer">'. 
    170                '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
     174               '<table class="clear">'; 
     175                
     176               if( $filter ) { 
     177                    $html_block .= '<caption>'.sprintf(__('List of %s entries match the filter.'), $this->rs_count).'</caption>'; 
     178               } else { 
     179                    $html_block .= '<caption class="hidden">'.__('Entries list').'</caption>'; 
     180               } 
     181                          
     182               $html_block .= '<tr>'. 
    171183               '<th colspan="2" class="first">'.__('Title').'</th>'. 
    172184               '<th scope="col">'.__('Date').'</th>'. 
  • inc/admin/lib.pager.php

    r2131 r2134  
    469469          $res .= 
    470470          '<td class="nowrap">'. 
    471           form::checkbox(array('comments[]'),$this->rs->comment_id,'','','',0).'</td>'. 
     471          form::checkbox(array('comments[]'),$this->rs->comment_id,$checked,'','',0).'</td>'. 
    472472          '<td class="nowrap" abbr="'.__('Type and author').'" scope="row">'. 
    473473               '<a href="'.$comment_url.'" title="'.$comment_title.'">'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map