Changeset 1677 for trunk/template/yoga


Ignore:
Timestamp:
Dec 21, 2006, 10:38:20 PM (17 years ago)
Author:
rub
Message:

Feature Issue ID 0000601: Filter all public pages with only recent elements

It's a finalized version.
Obsolete code of draft are removed.

You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)

You can flat categories and sub-categories with a recent date period of your choice.

Next, perhaps, a panel to choice recent date for the 2 features.

On draft, there have problem with MySql 5, be careful!

Css problem not resolved:

  • Menu "Categories" is bad centered
  • Icon on dark too on the top
Location:
trunk/template/yoga
Files:
2 added
7 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/default-colors.css

    r1657 r1677  
    101101}
    102102
     103/**
     104 * Header notes box in public/administration
     105 */
     106.header_notes {
     107  border: 1px solid #aaaaaa; /* border color and style */
     108  text-align: center;
     109  background-image: url(icon/note.png);
     110  background-repeat: no-repeat;
     111  background-position: top left;
     112  font-weight: bold;
     113  margin: 14px;
     114  padding: 5px 00px 0px 0px;
     115}
     116
    103117LEGEND {
    104118  font-style: italic;
  • trunk/template/yoga/header.tpl

    r1636 r1677  
    7373<!-- END header_msgs -->
    7474<div id="theHeader">{PAGE_BANNER}</div>
     75<!-- BEGIN header_notes -->
     76<div class="header_notes">
     77  <!-- BEGIN header_note -->
     78  <P>{header_notes.header_note.HEADER_NOTE}</p>
     79  <!-- END header_note -->
     80</div>
     81<!-- END header_notes -->
  • trunk/template/yoga/index.tpl

    r1651 r1677  
    2828      <!-- END search_rules -->
    2929
    30       <!-- BEGIN start_filter_local_mode -->
    31       <li><a href="{start_filter_local_mode.URL}" title="{lang:start_filter_local_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/start_filter_mode.png" class="button" alt="{lang:start_filter_local_mode_hint}"></a></li>
    32       <!-- END start_filter_local_mode -->
    33       <!-- BEGIN stop_filter_local_mode -->
    34       <li><a href="{stop_filter_local_mode.URL}" title="{lang:stop_filter_local_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter_mode.png" class="button" alt="{lang:stop_filter_local_mode_hint}"></a></li>
    35       <!-- END stop_filter_local_mode -->
    36 
    3730      <!-- BEGIN mode_normal -->
    3831      <li><a href="{mode_normal.URL}" title="{lang:mode_normal_hint}"><img src="{pwg_root}{themeconf:icon_dir}/normal_mode.png" class="button" alt="{lang:mode_normal_hint}"></a></li>
    3932      <!-- END mode_normal -->
     33
     34      <!-- BEGIN flat_recent_cat -->
     35      <li><a href="{flat_recent_cat.URL}" title="{lang:flat_recent_cat_hint}"><img src="{pwg_root}{themeconf:icon_dir}/flat_recent_cat.png" class="button" alt="{lang:flat_recent_cat_hint}"></a></li>
     36      <!-- END flat_recent_cat -->
     37
    4038      <!-- BEGIN mode_posted -->
    4139      <li><a href="{mode_posted.URL}" title="{lang:mode_posted_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/calendar.png" class="button" alt="{lang:mode_posted_hint}"></a></li>
  • trunk/template/yoga/menubar.tpl

    r1652 r1677  
    1414<!-- END links -->
    1515<dl id="mbCategories">
    16   <!-- BEGIN start_filter_global_mode -->
    17   <a href="{start_filter_global_mode.URL}" title="{lang:start_filter_global_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/start_filter_mode.png" class="buttonmenu" alt="{lang:start_filter_global_mode_hint}"></a>
    18   <!-- END start_filter_global_mode -->
    19   <!-- BEGIN stop_filter_global_mode -->
    20   <a href="{stop_filter_global_mode.URL}" title="{lang:stop_filter_global_mode_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter_mode.png" class="buttonmenu" alt="{lang:stop_filter_global_mode_hint}"></a>
    21   <!-- END stop_filter_global_mode -->
     16  <!-- BEGIN start_filter -->
     17  <a href="{start_filter.URL}" title="{lang:start_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="buttonmenu" alt="{lang:start_filter_hint}"></a>
     18  <!-- END start_filter -->
     19  <!-- BEGIN stop_filter -->
     20  <a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="buttonmenu" alt="{lang:stop_filter_hint}"></a>
     21  <!-- END stop_filter -->
    2222  <dt><a href="{U_HOME}">{lang:Categories}</a></dt>
    2323  <dd>
  • trunk/template/yoga/theme/clear/theme.css

    r1515 r1677  
    1616}
    1717
    18 #menubar DL, #content, #imageToolBar {
     18#menubar DL, #content, #imageToolBar, .header_notes {
    1919  background-color: #eeeeee;
    2020}
  • trunk/template/yoga/theme/dark/theme.css

    r1515 r1677  
    2727}
    2828
    29 #menubar DL, #content, #imageToolBar {
     29#menubar DL, #content, #imageToolBar, .header_notes {
    3030  background-color: #5f5f5f;
    3131}
Note: See TracChangeset for help on using the changeset viewer.