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:
flop25 2013-03-12 14:24:46 +00:00
parent 6c6df4986c
commit 539180863f

View file

@ -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;
}