diff options
author | plegall <plg@piwigo.org> | 2014-07-03 13:18:12 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-07-03 13:18:12 +0000 |
commit | f2704dcb6207a8f89fe5b1f6f2ffe6a3f9358cc6 (patch) | |
tree | 2a1f8908527ed60fa5227fd8bcb365e689503996 /admin/themes | |
parent | c14bedcbd03054c447159bdfec33c0c57d1f4ba5 (diff) |
feature 2809: sort albums by date
git-svn-id: http://piwigo.org/svn/trunk@28934 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r-- | admin/themes/default/template/cat_list.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 5fe54b9eb..a8f976cf7 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -85,8 +85,9 @@ jQuery(document).ready(function(){ <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> <p><strong>{'Sort order'|@translate}</strong> - <br><label><input type="radio" value="asc" name="ascdesc" checked="checked">{'ascending'|@translate}</label> - <br><label><input type="radio" value="desc" name="ascdesc">{'descending'|@translate}</label> + {foreach from=$sort_orders key=sort_code item=sort_label} + <br><label><input type="radio" value="{$sort_code}" name="order_by" {if $sort_code eq $sort_order_checked}checked="checked"{/if}> {$sort_label}</label> + {/foreach} </p> <p> |