From 0e78db47de2041912447dd5bbbfafb7684e7480f Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 8 Feb 2006 01:17:07 +0000 Subject: - remake of Remote sites and Synchronize: - synchronization for remote and local sites are done by the same code - remote sites can update metadata now (not before) - bug 279 - fixes bug 82: has_high column - improve feature 280: user sort by filename - fix path to template mimetypes icons - bug 284: session cookie lifetime, deletion on logout and corrected issue when db upgrades were missing git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/functions_category.inc.php') diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 370ab48e6..9e0e16a1d 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -321,13 +321,14 @@ SELECT galleries_url // returns an array of image orders available for users/visitors function get_category_preferred_image_orders() { - global $lang, $conf; + global $conf; return array( array('Default', '', true), - array($lang['best_rated_cat'], 'average_rate DESC', $conf['rate']), - array($lang['most_visited_cat'], 'hit DESC', true), - array($lang['Creation date'], 'date_creation DESC', true), - array($lang['Availability date'], 'date_available DESC', true) + array(get_lang('best_rated_cat'), 'average_rate DESC', $conf['rate']), + array(get_lang('most_visited_cat'), 'hit DESC', true), + array(get_lang('Creation date'), 'date_creation DESC', true), + array(get_lang('Availability date'), 'date_available DESC', true), + array(get_lang('File name'), 'file ASC', true) ); } -- cgit v1.2.3