add the nb of pages as template var for navigation_bar.tpl for extensions
git-svn-id: http://piwigo.org/svn/trunk@21515 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
6c6df4986c
commit
539180863f
1 changed files with 1 additions and 0 deletions
|
@ -1460,6 +1460,7 @@ function create_navigation_bar($url, $nb_element, $start, $nb_element_page, $cle
|
|||
$navbar['pages'][$i] = $url.$start_str.(($i - 1) * $nb_element_page);
|
||||
}
|
||||
$navbar['pages'][$maximum] = $url_start.$last;
|
||||
$navbar['NB_PAGE']=$nb_element;
|
||||
}
|
||||
return $navbar;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue