diff options
author | rub <rub@piwigo.org> | 2006-12-12 06:17:53 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-12-12 06:17:53 +0000 |
commit | 5e9a4b02be26994e7d49a7d1ece7595a50b28c4b (patch) | |
tree | 40e4225aa935fb47d9ba00b290afc6b610735523 /include/menubar.inc.php | |
parent | d54d1a52349c30f81529095ce21befda4079180e (diff) |
Feature Issue ID 0000601: Filter all public pages with only recent elements
Change stop icon.
Add icon to menu.
It's still a draft.
Try this!
Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490
git-svn-id: http://piwigo.org/svn/trunk@1650 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rwxr-xr-x | include/menubar.inc.php | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 79643ba26..c360b2600 100755 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -168,26 +168,22 @@ $template->assign_block_vars( 'NAME' => $lang['random_cat'] )); -// Not recent menu when filter is activated -if (!$page['filter_mode']) -{ - // recent pics - $template->assign_block_vars( - 'special_cat', - array( - 'URL' => make_index_url(array('section' => 'recent_pics')), - 'TITLE' => $lang['recent_pics_cat_hint'], - 'NAME' => $lang['recent_pics_cat'] - )); - // recent cats - $template->assign_block_vars( - 'special_cat', - array( - 'URL' => make_index_url(array('section' => 'recent_cats')), - 'TITLE' => $lang['recent_cats_cat_hint'], - 'NAME' => $lang['recent_cats_cat'] - )); -} +// recent pics +$template->assign_block_vars( + 'special_cat', + array( + 'URL' => make_index_url(array('section' => 'recent_pics')), + 'TITLE' => $lang['recent_pics_cat_hint'], + 'NAME' => $lang['recent_pics_cat'] + )); +// recent cats +$template->assign_block_vars( + 'special_cat', + array( + 'URL' => make_index_url(array('section' => 'recent_cats')), + 'TITLE' => $lang['recent_cats_cat_hint'], + 'NAME' => $lang['recent_cats_cat'] + )); // calendar $template->assign_block_vars( |