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
This commit is contained in:
rub
2006-12-12 06:17:53 +00:00
parent d54d1a5234
commit 5e9a4b02be
4 changed files with 32 additions and 20 deletions
+16 -20
View File
@@ -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(
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+10
View File
@@ -12,6 +12,16 @@
margin: 0; padding: 0; display: block;
}
#menubar .buttonmenu {
margin: 0 2px;
width: auto;
padding: 0;
text-indent: 0;
list-style: none;
text-align: center;
float: right;
}
/* H2 properties copied here */
#menubar DT {
font-weight: bold; /* default for h2 */
+6
View File
@@ -13,6 +13,12 @@
</dl>
<!-- END links -->
<dl id="mbCategories">
<!-- BEGIN start_filter_mode -->
<a href="{start_filter_mode.URL}" title="{lang:start_filter_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/start_filter_mode.png" class="buttonmenu" alt="{lang:start_filter_mode_hint}"></a>
<!-- END start_filter_mode -->
<!-- BEGIN stop_filter_mode -->
<a href="{stop_filter_mode.URL}" title="{lang:stop_filter_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter_mode.png" class="buttonmenu" alt="{lang:stop_filter_mode_hint}"></a>
<!-- END stop_filter_mode -->
<dt><a href="{U_HOME}">{lang:Categories}</a></dt>
<dd>
{MENU_CATEGORIES_CONTENT}