aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-03-12 14:24:46 +0000
committerflop25 <flop25@piwigo.org>2013-03-12 14:24:46 +0000
commit539180863fa0ac151a7e694bfc7a5d7f54b89b4f (patch)
tree2d44a3d81c4845efa384dfb55f413cf29bf52f20
parent6c6df4986c6d440f9f1a1994b672b2de1a6e5cc9 (diff)
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
-rw-r--r--include/functions.inc.php1
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;
}