Add "draggable" icon for cat_list.

git-svn-id: http://piwigo.org/svn/trunk@2567 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2008-09-22 15:31:38 +00:00
parent 3b480117a4
commit d6f1eb7c83
6 changed files with 8 additions and 1 deletions
+2
View File
@@ -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}" />