aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-09-22 15:31:38 +0000
committerpatdenice <patdenice@piwigo.org>2008-09-22 15:31:38 +0000
commitd6f1eb7c83bff8c4e46ec8a3cb4c5970c35f835e (patch)
tree8adbe23b29518f5a8c72efdb0c9aae528c7fd270 /admin
parent3b480117a4773a794ff0559ec264f3e7d75b1881 (diff)
Add "draggable" icon for cat_list.
git-svn-id: http://piwigo.org/svn/trunk@2567 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/template/goto/cat_list.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/template/goto/cat_list.tpl b/admin/template/goto/cat_list.tpl
index dd018a8dd..d4b6b8a83 100644
--- a/admin/template/goto/cat_list.tpl
+++ b/admin/template/goto/cat_list.tpl
@@ -6,6 +6,7 @@
<script type="text/javascript">
jQuery().ready(function(){ldelim}
jQuery(".catPos").hide();
+ jQuery(".drag_button").show();
jQuery('.categoryUl').sortable({ldelim}
axis: "y",
cursor: "move",
@@ -62,6 +63,7 @@
</ul>
<p>
+ <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"/>
<strong><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}">{$category.NAME}</a></strong>
{if $category.IS_VIRTUAL}
<img src="{$themeconf.admin_icon_dir}/virt_category.png" class="button" alt="{'virtual_category'|@translate}" />