From 315a9625588f85f19772c5a7a83ea5035accdc72 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 22 Mar 2009 14:50:36 +0000 Subject: feature 959 : improve reordering of menubar block by using drag and drop a new jquery pluging to reodering table rows because jquery.sortable don't work well with table rows. git-svn-id: http://piwigo.org/svn/trunk@3219 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/menubar.tpl | 68 ++++++++++++++++++++++++++++------------- 1 file changed, 46 insertions(+), 22 deletions(-) (limited to 'admin') diff --git a/admin/template/goto/menubar.tpl b/admin/template/goto/menubar.tpl index ca693dfba..6cc439f12 100644 --- a/admin/template/goto/menubar.tpl +++ b/admin/template/goto/menubar.tpl @@ -1,30 +1,54 @@ {* $Id$ *} +{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.core.packed.js" } +{known_script id="jquery-tablednd" src=$ROOT_URL|@cat:"template-common/lib/jquery.tablednd.js"} + +{literal} + +{/literal}
-

Menubar

+

Menubar

- +
- - - - - - - - - {foreach from=$blocks item=block name="block_loop"} +
Id{'Author'|@translate}{'Name'|@translate}{'Position'|@translate}Hide
+ + + + + + + + + + + {foreach from=$blocks item=block name="block_loop"} - - - - - + + + + + - {/foreach} -
Id{'Author'|@translate}{'Name'|@translate}{'Position'|@translate}Hide
{$block.reg->get_id()}{$block.reg->get_owner()}{$block.reg->get_name()|@translate}{$block.reg->get_id()}{$block.reg->get_owner()}{$block.reg->get_name()|@translate}
-

- - -

+ {/foreach} + + +

+ + +

-- cgit v1.2.3