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/user.inc.php

    r1651 r1677  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
     
    7171}
    7272
    73 if (isset($_GET['filter_global_mode']))
    74 {
    75   $user['filter_global_mode'] = ($_GET['filter_global_mode'] == 'start');
    76   pwg_set_session_var('filter_global_mode', $user['filter_global_mode']);
    77 }
    78 else
    79 {
    80   $user['filter_global_mode'] = pwg_get_session_var('filter_global_mode', false);
    81 }
    82 
    8373$user = build_user( $user['id'],
    84           ( defined('IN_ADMIN') and IN_ADMIN ) ? false : true, // use cache ?
    85           $user['filter_global_mode'] // filter_global_mode ?
     74          ( defined('IN_ADMIN') and IN_ADMIN ) ? false : true // use cache ?
    8675         );
    8776
Note: See TracChangeset for help on using the changeset viewer.