Ignore:
Timestamp:
Dec 13, 2006, 1:05:16 AM (17 years ago)
Author:
rub
Message:

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

Last draft before final development.
There a icon for global mode and one other for local mode.

Counters are not good, filter on images are not everywhere applied, moment to update cache are not optimized, ...

Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490

File:
1 edited

Legend:

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

    r1648 r1651  
    6868  FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
    6969  ON id = cat_id and user_id = '.$user['id'];
    70   if ($page['filter_mode'])
     70  if ($page['filter_local_mode'])
    7171  {
    7272    $query.= '
     
    7676  else
    7777  {
    78     // Always expand when filter_mode is activated
    79     if (!$user['expand'])
     78    // Always expand when filter_local_mode is activated
     79    if (!$user['expand'] and !$user['filter_global_mode'])
    8080    {
    8181      $query.= '
Note: See TracChangeset for help on using the changeset viewer.