Changeset 18165 for trunk/include/functions.inc.php
- Timestamp:
- Sep 23, 2012, 1:19:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r18164 r18165 1430 1430 * return an array which will be sent to template to display navigation bar 1431 1431 */ 1432 function create_navigation_bar($url, $nb_element, $start, $nb_element_page, $clean_url = false )1432 function create_navigation_bar($url, $nb_element, $start, $nb_element_page, $clean_url = false, $param_name='start') 1433 1433 { 1434 1434 global $conf; … … 1436 1436 $navbar = array(); 1437 1437 $pages_around = $conf['paginate_pages_around']; 1438 $start_str = $clean_url ? '/ start-' : (strpos($url, '?')===false ? '?':'&').'start=';1438 $start_str = $clean_url ? '/'.$param_name.'-' : (strpos($url, '?')===false ? '?':'&').$param_name.'='; 1439 1439 1440 1440 if (!isset($start) or !is_numeric($start) or (is_numeric($start) and $start < 0))
Note: See TracChangeset
for help on using the changeset viewer.