aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/category.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-01 02:46:26 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-01 02:46:26 +0000
commitbb181b04cf3e4984cb1dfbe95e5521ad917fab76 (patch)
tree10199843cd8c12ff06ea1f2e0fb6977d6fa1c46f /template/yoga/category.tpl
parentac5fd23412f64b5b8647574a431e3cc13518538e (diff)
feature 280: Allow visitors/users to choose image ordering inside a category
improvement 82: Viewing pictures from remote galleries does not check anymore for the high pictures (existence flag added to create_listing_file and db) correction: link element in picture is in the head instead of body (w3c spec) correction: in profile.php the current template was not selected by default git-svn-id: http://piwigo.org/svn/trunk@1020 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/category.tpl')
-rw-r--r--template/yoga/category.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl
index 1f9e50c66..263342408 100644
--- a/template/yoga/category.tpl
+++ b/template/yoga/category.tpl
@@ -120,6 +120,16 @@
<li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}"><img src="{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
<!-- END search_rules -->
+ <!-- BEGIN preferred_image_order -->
+ <li>
+ {lang:Sort order}:
+ <select onchange="document.location = this.options[this.selectedIndex].value;">
+ <!-- BEGIN order -->
+ <option value="{preferred_image_order.order.URL}" {preferred_image_order.order.SELECTED_OPTION}>{preferred_image_order.order.DISPLAY}</option>
+ <!-- END order -->
+ </select>
+ </li>
+ <!-- END preferred_image_order -->
</ul>
<h2>{TITLE}</h2>