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
File:
1 edited

Legend:

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

    r1652 r1677  
    6464    );
    6565}
     66
     67//------------------------------------------------------------------------ filter
     68if ($filter['enabled'])
     69{
     70  $template->assign_block_vars(
     71    'stop_filter',
     72    array(
     73      'URL' => add_url_params(make_index_url(array()), array('filter' => 'stop'))
     74      )
     75    );
     76}
     77else
     78{
     79  $template->assign_block_vars(
     80    'start_filter',
     81    array(
     82      'URL' => add_url_params(make_index_url(array()), array('filter' => 'start'))
     83      )
     84    );
     85}
     86
     87
    6688//------------------------------------------------------------------------ tags
    6789if ('tags' == $page['section'])
Note: See TracChangeset for help on using the changeset viewer.