mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -203,6 +203,13 @@ jQuery(document).ready(function () {
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class="property">{'Default comments order'|@translate}</span>
|
||||
<select name="comments_order">
|
||||
{html_options options=$comments.comments_order_options selected=$comments.comments_order}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user