aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/menubar.tpl
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-10 20:05:37 +0000
committernikrou <nikrou@piwigo.org>2010-04-10 20:05:37 +0000
commit9131b5a1cb309db6d29dac3328703f130a37d3ae (patch)
treeae123682c0747cf6810242d0b4da3136d6e10211 /admin/themes/default/template/menubar.tpl
parent265d57e83026e190fb1936ffd54702ac2101f5ab (diff)
add icon to say that items for menu can be drag and drop to reorganize them.
git-svn-id: http://piwigo.org/svn/trunk@5783 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/menubar.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/themes/default/template/menubar.tpl b/admin/themes/default/template/menubar.tpl
index 552880b45..95fe660c8 100644
--- a/admin/themes/default/template/menubar.tpl
+++ b/admin/themes/default/template/menubar.tpl
@@ -37,7 +37,10 @@ for (var i=0; i<rows.length; i++) {
<tbody>
{foreach from=$blocks item=block name="block_loop"}
<tr class="{if $smarty.foreach.block_loop.index is odd}row1{else}row2{/if}">
- <td>{$block.reg->get_id()}</td>
+ <td>
+ <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
+ {$block.reg->get_id()}
+ </td>
<td>{$block.reg->get_owner()}</td>
<td>{$block.reg->get_name()|@translate}</td>
<td><input type="text" name="pos_{$block.reg->get_id()}" value={math equation="abs(pos)" pos=$block.pos} size="2"></td>