Dotclear


Ignore:
File:
1 edited

Legend:

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

    r2131 r2008  
    151151class adminPostList extends adminGenericList 
    152152{ 
    153      public function display($page,$nb_per_page,$enclose_block='',$filter=false) 
     153     public function display($page,$nb_per_page,$enclose_block='') 
    154154     { 
    155155          if ($this->rs->isEmpty()) 
    156156          { 
    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                } 
     157               echo '<p><strong>'.__('No entry').'</strong></p>'; 
    162158          } 
    163159          else 
     
    170166                    } 
    171167               } 
    172                $html_block  =  
     168               $html_block = 
    173169               '<div class="table-outer">'. 
    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>'. 
     170               '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
    183171               '<th colspan="2" class="first">'.__('Title').'</th>'. 
    184172               '<th scope="col">'.__('Date').'</th>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map