mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour. - deletion : admin/search useless - improvement : in admin/user_list, special behaviour for true/false fields (expand, show_comments) - new : gallery_title and gallery_description are displayed at the top of each page. - improvement : simplification in HTML for categories menu. - improvement : standardization of presentation in all public pages (identification, registration, search, profile, notification, comments, etc.) (not in ChangeLog, below this line) - add forgotten notification.php (should have been added in a previous commit) - [template cclear] deletion of useless class .bouton - [template cclear] for test purpose, new presentation of register page (using FORM.filter) - [template cclear] adaptation of admin/group_list from template default - [template cclear] deletion of obsolete admin/infos_images - [template cclear] deletion of obsolete admin/search_username - [template cclear] new icon register.png git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -374,27 +374,21 @@ function get_html_menu_category($categories)
|
||||
$menu.= str_repeat("\n</ul>",($ref_level-$level));
|
||||
}
|
||||
$ref_level = $level;
|
||||
|
||||
|
||||
$menu.= '
|
||||
|
||||
<li>';
|
||||
|
||||
$url = add_session_id(PHPWG_ROOT_PATH.'category.php?cat='.$category['id']);
|
||||
|
||||
$class = '';
|
||||
<li';
|
||||
if (isset($page['cat'])
|
||||
and is_numeric($page['cat'])
|
||||
and $category['id'] == $page['cat'])
|
||||
{
|
||||
$class = 'menuCategorySelected';
|
||||
$menu.= ' class="selected"';
|
||||
}
|
||||
else
|
||||
{
|
||||
$class = 'menuCategoryNotSelected';
|
||||
}
|
||||
|
||||
$menu.= '>';
|
||||
|
||||
$url = add_session_id(PHPWG_ROOT_PATH.'category.php?cat='.$category['id']);
|
||||
$menu.= '
|
||||
<a href="'.$url.'" class="'.$class.'">'.$category['name'].'</a>';
|
||||
<a href="'.$url.'">'.$category['name'].'</a>';
|
||||
|
||||
if ($category['nb_images'] > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user