aboutsummaryrefslogtreecommitdiffstats
path: root/include/filter.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-21 23:49:12 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-21 23:49:12 +0000
commitb1a6316ca2f5f79891c6170049bfd06650847e49 (patch)
tree6875a8ac04560174d14ab4ed7a854ca66dbe04bf /include/filter.inc.php
parentcab8f98c4ab88a0ad05f2359099c883675319084 (diff)
Very small corrections:
- syntax error (action.php) - language (call to l10n_dec and English language) - replace some fetch_array with fetch_assoc (less memory used) - removed one unnecessary assign_block_vars - removed meta name="robots" (conflict with notification.php) git-svn-id: http://piwigo.org/svn/trunk@1678 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/filter.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/filter.inc.php b/include/filter.inc.php
index 3a1279f94..fd3bf0cda 100644
--- a/include/filter.inc.php
+++ b/include/filter.inc.php
@@ -33,7 +33,7 @@ $filter = array();
// $filter['visible_images']: List of visible images
-$filter['enabled'] =
+$filter['enabled'] =
(in_array(basename($_SERVER['SCRIPT_FILENAME']), $conf['filter_pages'])) and
(
(isset($_GET['filter']) and ($_GET['filter'] == 'start')) or
@@ -98,7 +98,7 @@ WHERE ';
$filter['visible_images'] = pwg_get_session_var('filter_visible_images', '');
}
- $header_notes[] = l10n_dec($lang['note_filter_day'], $lang['note_filter_days'], $user['recent_period']);
+ $header_notes[] = l10n_dec('note_filter_day', 'note_filter_days', $user['recent_period']);
}
else
{