Changeset 1650


Ignore:
Timestamp:
Dec 12, 2006, 7:17:53 AM (17 years ago)
Author:
rub
Message:

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

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/menubar.inc.php

    r1648 r1650  
    169169    ));
    170170
    171 // Not recent menu when filter is activated
    172 if (!$page['filter_mode'])
    173 {
    174   // recent pics
    175   $template->assign_block_vars(
    176     'special_cat',
    177     array(
    178       'URL' => make_index_url(array('section' => 'recent_pics')),
    179       'TITLE' => $lang['recent_pics_cat_hint'],
    180       'NAME' => $lang['recent_pics_cat']
    181       ));
    182   // recent cats
    183   $template->assign_block_vars(
    184     'special_cat',
    185     array(
    186       'URL' => make_index_url(array('section' => 'recent_cats')),
    187       'TITLE' => $lang['recent_cats_cat_hint'],
    188       'NAME' => $lang['recent_cats_cat']
    189       ));
    190 }
     171// recent pics
     172$template->assign_block_vars(
     173  'special_cat',
     174  array(
     175    'URL' => make_index_url(array('section' => 'recent_pics')),
     176    'TITLE' => $lang['recent_pics_cat_hint'],
     177    'NAME' => $lang['recent_pics_cat']
     178    ));
     179// recent cats
     180$template->assign_block_vars(
     181  'special_cat',
     182  array(
     183    'URL' => make_index_url(array('section' => 'recent_cats')),
     184    'TITLE' => $lang['recent_cats_cat_hint'],
     185    'NAME' => $lang['recent_cats_cat']
     186    ));
    191187
    192188// calendar
  • trunk/template/yoga/menubar.css

    r1641 r1650  
    1111#menubar DL, #menubar DT, #menubar DD {
    1212    margin: 0; padding: 0; display: block;
     13}
     14
     15#menubar .buttonmenu {
     16  margin: 0 2px;
     17  width: auto;
     18  padding: 0;
     19  text-indent: 0;
     20  list-style: none;
     21  text-align: center;
     22  float: right;
    1323}
    1424
  • trunk/template/yoga/menubar.tpl

    r1620 r1650  
    1414<!-- END links -->
    1515<dl id="mbCategories">
     16  <!-- BEGIN start_filter_mode -->
     17  <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>
     18  <!-- END start_filter_mode -->
     19  <!-- BEGIN stop_filter_mode -->
     20  <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>
     21  <!-- END stop_filter_mode -->
    1622  <dt><a href="{U_HOME}">{lang:Categories}</a></dt>
    1723  <dd>
Note: See TracChangeset for help on using the changeset viewer.