aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-01-15 17:05:30 +0000
committermistic100 <mistic@piwigo.org>2012-01-15 17:05:30 +0000
commite673454e05e910de3553103d6f41695c5388ffbc (patch)
treebfb6422e059cc0f26da227951d0ef74fafccb06d /admin/configuration.php
parent24eafada3e6f0b8ee27a4088ed50c35e0cad15ed (diff)
feaure:2379 option to display user comments sorted new>old instead of old>new
git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/configuration.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index b7a06aa74..6e4bb0311 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -419,7 +419,10 @@ switch ($page['section'])
'comments',
array(
'NB_COMMENTS_PAGE'=>$conf['nb_comment_page'],
- ));
+ 'comments_order'=>$conf['comments_order'],
+ 'comments_order_options'=> $sort_directions
+ )
+ );
foreach ($comments_checkboxes as $checkbox)
{