diff options
author | plegall <plg@piwigo.org> | 2005-08-25 22:43:47 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-08-25 22:43:47 +0000 |
commit | f01a9f5b7c5d0511391464bf818d87c98f48bd95 (patch) | |
tree | c6e0601f650725279acb4a26fce8d9acf8330f19 /include/functions_html.inc.php | |
parent | 429dd2ff626119727103297cd33b3c9a3b921d89 (diff) |
- 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
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r-- | include/functions_html.inc.php | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index b797d2657..b3aacb70d 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -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']); + $menu.= ' - $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) { |