- Timestamp:
- Jan 8, 2005, 1:18:39 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r675 r678 111 111 $navbar.= ' <a href="'; 112 112 $navbar.= add_session_id($url.'&start=0'); 113 $navbar.= '" class="'.$link_class.'">1</a> ...'; 113 $navbar.= '" class="'.$link_class.'">1</a>'; 114 if ($cur_page > $pages_around + 2) 115 { 116 $navbar.= ' ...'; 117 } 114 118 } 115 119 … … 140 144 { 141 145 $temp_start = ($maximum - 1) * $nb_element_page; 142 $navbar.= ' ... <a href="'; 146 if ($cur_page < ($maximum - $pages_around - 1)) 147 { 148 $navbar.= ' ...'; 149 } 150 $navbar.= ' <a href="'; 143 151 $navbar.= add_session_id($url.'&start='.$temp_start); 144 152 $navbar.= '" class="'.$link_class.'">'.$maximum.'</a>';
Note: See TracChangeset
for help on using the changeset viewer.