aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-10-18 00:43:34 +0000
committerrvelices <rv-github@modusoptimus.com>2008-10-18 00:43:34 +0000
commit79d51b19c17138aef43f2c01a8e2f5230970bff1 (patch)
tree3b8ceba21521611e1b3dce2154a58518f17eabe6 /include
parent6c962fc1bbf3730cb0eddbb62255cfb199c1faf8 (diff)
- added an image sort order by privacy level (admins only)
- fix an IE6 display issue with quick search on index page git-svn-id: http://piwigo.org/svn/branches/2.0@2769 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_category.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 26c9478ef..0705b852b 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -273,7 +273,8 @@ function get_category_preferred_image_orders()
l10n('Rank'),
'rank ASC',
('categories' == @$page['section'] and !isset($page['flat']) and !isset($page['chronology_field']) )
- )
+ ),
+ array( l10n('permissions'), 'level DESC', is_admin() )
));
}
@@ -522,4 +523,4 @@ LIMIT 1';
}
}
-?>
+?> \ No newline at end of file