From 21fc6813022401aea633ca6e6990eab6da9929e6 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 11 Oct 2008 20:18:49 +0000 Subject: jQuery Datepicker: Readd resize for list of categories Use include for double select list git-svn-id: http://piwigo.org/svn/trunk@2718 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/cat_modify.tpl | 1 + admin/template/goto/cat_move.tpl | 2 ++ admin/template/goto/double_select.tpl | 17 +---------------- admin/template/goto/include/dbselect.inc.tpl | 23 +++++++++++++++++++++++ admin/template/goto/include/resize.inc.tpl | 23 +++++++++++++++++++++++ admin/template/goto/picture_modify.tpl | 1 + admin/template/goto/site_update.tpl | 2 ++ 7 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 admin/template/goto/include/dbselect.inc.tpl create mode 100644 admin/template/goto/include/resize.inc.tpl (limited to 'admin/template/goto') diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl index 4648b92d8..54fccd687 100644 --- a/admin/template/goto/cat_modify.tpl +++ b/admin/template/goto/cat_modify.tpl @@ -1,6 +1,7 @@ {* $Id$ *} {include file='include/autosize.inc.tpl'} +{include file='include/resize.inc.tpl'}

{'title_edit_cat'|@translate}

diff --git a/admin/template/goto/cat_move.tpl b/admin/template/goto/cat_move.tpl index 2ca670e20..a2735aa91 100644 --- a/admin/template/goto/cat_move.tpl +++ b/admin/template/goto/cat_move.tpl @@ -1,5 +1,7 @@ {* $Id$ *} +{include file='include/resize.inc.tpl'} +

{'Move categories'|@translate}

diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl index 62930aeb1..2be698b0d 100644 --- a/admin/template/goto/double_select.tpl +++ b/admin/template/goto/double_select.tpl @@ -1,21 +1,6 @@ {* $Id$ *} -{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} -{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} - +{include file='include/dbselect.inc.tpl'} diff --git a/admin/template/goto/include/dbselect.inc.tpl b/admin/template/goto/include/dbselect.inc.tpl new file mode 100644 index 000000000..cab472460 --- /dev/null +++ b/admin/template/goto/include/dbselect.inc.tpl @@ -0,0 +1,23 @@ +{* $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/ui.core.packed.js"} +{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} + +{* Resize possible *} +{literal} + +{/literal} diff --git a/admin/template/goto/include/resize.inc.tpl b/admin/template/goto/include/resize.inc.tpl new file mode 100644 index 000000000..9bd89325f --- /dev/null +++ b/admin/template/goto/include/resize.inc.tpl @@ -0,0 +1,23 @@ +{* $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/ui.core.packed.js"} +{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} + +{* Resize possible *} +{literal} + +{/literal} diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index a35f07436..37a5fc5f9 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -1,6 +1,7 @@ {* $Id$ *} {include file='include/autosize.inc.tpl'} +{include file='include/dbselect.inc.tpl'} {include file='include/datepicker.inc.tpl'} {literal} diff --git a/admin/template/goto/site_update.tpl b/admin/template/goto/site_update.tpl index ad4f99e0f..54429c1b6 100644 --- a/admin/template/goto/site_update.tpl +++ b/admin/template/goto/site_update.tpl @@ -1,5 +1,7 @@ {* $Id$ *} +{include file='include/resize.inc.tpl'} +

{'title_update'|@translate}: {$SITE_URL}

-- cgit v1.2.3