Dotclear


Ignore:
Timestamp:
09/17/13 10:30:36 (12 years ago)
Author:
Dsls
Branch:
default
Message:

New dcPager for everyone, now works also with plugins. closes #1607

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/list.php

    r1912 r1926  
    2525          else 
    2626          { 
    27                $pager = new pager($page,$this->rs_count,$nb_per_page,10); 
    28                $pager->html_prev = $this->html_prev; 
    29                $pager->html_next = $this->html_next; 
    30                $pager->var_page = 'page'; 
     27               $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); 
    3128                
    3229               $html_block = 
     
    4441               } 
    4542                
    46                echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 
     43               echo $pager->getLinks(); 
    4744                
    4845               $blocks = explode('%s',$html_block); 
     
    5754               echo $blocks[1]; 
    5855                
    59                echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 
     56               echo $pager->getLinks(); 
    6057          } 
    6158     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map