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:
Teatek
2019-02-15 15:34:43 +01:00
committed by Pierrick Le Gall
parent 61b7974a8d
commit a4187cabf0
4 changed files with 12 additions and 6 deletions
+2 -4
View File
@@ -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');