mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
Fixes #247 number of photos in breadcrumb
* Fixes #247 (Adding a span and a class to modify the picture number in the breadcrumb with css) * same for menubar categories
This commit is contained in:
@@ -110,11 +110,9 @@ $template->assign('U_CANONICAL', $canonical_url);
|
||||
//-------------------------------------------------------------- page title
|
||||
$title = $page['title'];
|
||||
$template_title = $page['section_title'];
|
||||
if (count($page['items']) > 0)
|
||||
{
|
||||
$template_title.= ' ['.count($page['items']).']';
|
||||
}
|
||||
$nb_items = count($page['items']);
|
||||
$template->assign('TITLE', $template_title);
|
||||
$template->assign('NB_ITEMS', $nb_items);
|
||||
|
||||
//-------------------------------------------------------------- menubar
|
||||
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
|
||||
|
||||
Reference in New Issue
Block a user