From d39db9aaaf43eaedd634a7a5b7d06bcb69d41152 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 11 Sep 2008 21:40:00 +0000 Subject: feature 169 added: ability to manually sort images inside a category. A dedicated screen let the administrator sort the images (pur HTML, no JavaScript yet). The "rank" sort order is available only for a category without flat mode. New database column image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@2517 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/yoga/admin/cat_modify.tpl | 1 + admin/template/yoga/admin/element_set_ranks.tpl | 41 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 admin/template/yoga/admin/element_set_ranks.tpl (limited to 'admin/template/yoga') diff --git a/admin/template/yoga/admin/cat_modify.tpl b/admin/template/yoga/admin/cat_modify.tpl index aeac221e6..a45f251a5 100644 --- a/admin/template/yoga/admin/cat_modify.tpl +++ b/admin/template/yoga/admin/cat_modify.tpl @@ -9,6 +9,7 @@
  • {'jump to category'|@translate}
  • {if isset($U_MANAGE_ELEMENTS) }
  • {'elements'|@translate}
  • +
  • {'ranks'|@translate}
  • {/if}
  • {'sub-categories'|@translate}
  • {if isset($U_MANAGE_PERMISSIONS) } diff --git a/admin/template/yoga/admin/element_set_ranks.tpl b/admin/template/yoga/admin/element_set_ranks.tpl new file mode 100644 index 000000000..31e614480 --- /dev/null +++ b/admin/template/yoga/admin/element_set_ranks.tpl @@ -0,0 +1,41 @@ +

    {'Manage image ranks'|@translate}

    + +

    {$CATEGORIES_NAV}

    + +{if !empty($thumbnails)} +
    + +
    + + {'Edit ranks'|@translate} + + {if !empty($thumbnails)} +
      + {foreach from=$thumbnails item=thumbnail} +
    • + + +
    • + {/foreach} +
    + {/if} + +

    + +
    + +
    + +{else} +

    {'No element in this category'|@translate}

    +{/if} -- cgit v1.2.3