From 07d09df97f153d55b636c727d75fdbb170566480 Mon Sep 17 00:00:00 2001 From: flop25 Date: Tue, 12 Mar 2013 14:42:27 +0000 Subject: 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 --- include/functions.inc.php | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3