From d61c255341c0b9c94357ad4e007e138d3a408dff Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 27 Sep 2008 21:00:12 +0000 Subject: Put resizable and growfield scripts on each page where is needed. git-svn-id: http://piwigo.org/svn/trunk@2614 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/admin.tpl | 1 - admin/template/goto/cat_modify.tpl | 10 +++++++++ admin/template/goto/configuration.tpl | 10 +++++++++ admin/template/goto/double_select.tpl | 32 +++++++++++++--------------- admin/template/goto/element_set_unit.tpl | 9 ++++++++ admin/template/goto/footer.tpl | 11 ---------- admin/template/goto/header.tpl | 4 ---- admin/template/goto/notification_by_mail.tpl | 9 ++++++++ admin/template/goto/picture_modify.tpl | 10 +++++++++ 9 files changed, 63 insertions(+), 33 deletions(-) (limited to 'admin/template/goto') diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl index d41d5dda7..1c4ca1a6c 100644 --- a/admin/template/goto/admin.tpl +++ b/admin/template/goto/admin.tpl @@ -1,5 +1,4 @@ {* $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.accordion" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.accordion.packed.js" } diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl index eb3d67765..de7e9d6a9 100644 --- a/admin/template/goto/cat_modify.tpl +++ b/admin/template/goto/cat_modify.tpl @@ -1,4 +1,14 @@ {* $Id$ *} +{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} + + +

{'title_edit_cat'|@translate}

diff --git a/admin/template/goto/configuration.tpl b/admin/template/goto/configuration.tpl index 8bd9ecaf6..d6c082429 100644 --- a/admin/template/goto/configuration.tpl +++ b/admin/template/goto/configuration.tpl @@ -1,4 +1,14 @@ {* $Id$ *} +{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} + + +

{'title_configuration'|@translate} {$TABSHEET_TITLE}

diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl index 95363def8..62930aeb1 100644 --- a/admin/template/goto/double_select.tpl +++ b/admin/template/goto/double_select.tpl @@ -2,6 +2,21 @@ {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"} + +
@@ -21,20 +36,3 @@
- -{literal} - -{/literal} \ No newline at end of file diff --git a/admin/template/goto/element_set_unit.tpl b/admin/template/goto/element_set_unit.tpl index 40e1c1863..4361efff2 100644 --- a/admin/template/goto/element_set_unit.tpl +++ b/admin/template/goto/element_set_unit.tpl @@ -1,4 +1,13 @@ {* $Id$ *} +{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} + +

{'Batch management'|@translate}

diff --git a/admin/template/goto/footer.tpl b/admin/template/goto/footer.tpl index 787bf1f1e..9e0dcd85d 100644 --- a/admin/template/goto/footer.tpl +++ b/admin/template/goto/footer.tpl @@ -36,16 +36,5 @@ {/if} -{literal} - -{/literal} - \ No newline at end of file diff --git a/admin/template/goto/header.tpl b/admin/template/goto/header.tpl index ba45b3be1..04e445004 100644 --- a/admin/template/goto/header.tpl +++ b/admin/template/goto/header.tpl @@ -1,7 +1,6 @@ {* $Id$ *} {* - Warning : This is the admin pages header only don't confuse with the public page header @@ -22,9 +21,6 @@ {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*} -{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"} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} {$themeconf.local_head}