Changeset 12894 for trunk/admin


Ignore:
Timestamp:
01/15/12 18:05:30 (8 years ago)
Author:
mistic100
Message:

feaure:2379 option to display user comments sorted new>old instead of old>new

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r12887 r12894  
    420420      array( 
    421421        'NB_COMMENTS_PAGE'=>$conf['nb_comment_page'], 
    422         )); 
     422        'comments_order'=>$conf['comments_order'], 
     423        'comments_order_options'=> $sort_directions 
     424        ) 
     425      ); 
    423426 
    424427    foreach ($comments_checkboxes as $checkbox) 
  • trunk/admin/themes/default/template/configuration.tpl

    r12892 r12894  
    204204      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> 
    205205    </li> 
     206     
     207    <li> 
     208      <span class="property">{'Default comments order'|@translate}</span> 
     209      <select name="comments_order"> 
     210        {html_options options=$comments.comments_order_options selected=$comments.comments_order} 
     211      </select> 
     212    </li> 
    206213 
    207214    <li> 
Note: See TracChangeset for help on using the changeset viewer.