There are no filter enabled if filter configuration is empty (no icon, no functions, ...)

New system for the filter page configuration 

View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient)

Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']).


git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-01-15 00:09:14 +00:00
parent 3cef1e6895
commit 9362801a48
15 changed files with 148 additions and 64 deletions
+3 -3
View File
@@ -34,9 +34,9 @@
*/
function get_filter_check_key()
{
global $user;
return $user['id'].$user['recent_period'].date('Ymd');
global $user, $filter;
return $user['id'].$filter['recent_period'].date('Ymd');
}
/**