feature 2379: option to change comments order: change caption again, fix a bug in config page (induced by r13087)

git-svn-id: http://piwigo.org/svn/trunk@13224 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2012-02-17 19:30:52 +00:00
commit e474f947fa
9 changed files with 10 additions and 16 deletions

View file

@ -124,6 +124,11 @@ $sort_fields = array(
'rank ASC' => l10n('manual sort order'),
);
$comments_order = array(
'ASC' => l10n('Show oldest comments first'),
'DESC' => l10n('Show latest comment first'),
);
//------------------------------ verification and registration of modifications
if (isset($_POST['submit']))
@ -359,7 +364,7 @@ switch ($page['section'])
array(
'NB_COMMENTS_PAGE'=>$conf['nb_comment_page'],
'comments_order'=>$conf['comments_order'],
'comments_order_options'=> $sort_directions
'comments_order_options'=> $comments_order
)
);