diff options
author | flop25 <flop25@piwigo.org> | 2013-03-12 14:42:27 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-03-12 14:42:27 +0000 |
commit | 07d09df97f153d55b636c727d75fdbb170566480 (patch) | |
tree | 2aff395dcf9234bbd91d8e9be8e6cf5ae7b1da26 /include | |
parent | 6d0710445e9e082575e6e56c753077673ed026d9 (diff) |
merge rev:21515 from trunk to 2.5
add the nb of pages as template var for navigation_bar.tpl, for extensions
git-svn-id: http://piwigo.org/svn/branches/2.5@21517 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index bcbab6ad1..5b676f87c 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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; } |