diff options
Diffstat (limited to '')
-rw-r--r-- | admin/template/goto/cat_modify.tpl | 11 | ||||
-rw-r--r-- | admin/template/goto/configuration.tpl | 11 | ||||
-rw-r--r-- | admin/template/goto/element_set_unit.tpl | 11 | ||||
-rw-r--r-- | admin/template/goto/include/autosize.inc.tpl | 2 | ||||
-rw-r--r-- | admin/template/goto/notification_by_mail.tpl | 2 | ||||
-rw-r--r-- | admin/template/goto/picture_modify.tpl | 11 | ||||
-rw-r--r-- | plugins/AMenuManager/admin/amm_personalisedlist_edit.tpl | 4 |
7 files changed, 12 insertions, 40 deletions
diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl index de7e9d6a9..27b6be457 100644 --- a/admin/template/goto/cat_modify.tpl +++ b/admin/template/goto/cat_modify.tpl @@ -1,13 +1,6 @@ {* $Id$ *} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - -<script type="text/javascript"> - jQuery().ready(function(){ldelim} - jQuery("textarea").growfield({ldelim} - animate: false - }); - }); -</script> + +{include file='include/autosize.inc.tpl'} <div class="titrePage"> <h2>{'title_edit_cat'|@translate}</h2> diff --git a/admin/template/goto/configuration.tpl b/admin/template/goto/configuration.tpl index d6c082429..0c851082d 100644 --- a/admin/template/goto/configuration.tpl +++ b/admin/template/goto/configuration.tpl @@ -1,13 +1,6 @@ {* $Id$ *} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - -<script type="text/javascript"> - jQuery().ready(function(){ldelim} - jQuery("textarea").growfield({ldelim} - animate: false - }); - }); -</script> + +{include file='include/autosize.inc.tpl'} <div class="titrePage"> <h2>{'title_configuration'|@translate} {$TABSHEET_TITLE}</h2> diff --git a/admin/template/goto/element_set_unit.tpl b/admin/template/goto/element_set_unit.tpl index 6f2fc5569..e4805cf44 100644 --- a/admin/template/goto/element_set_unit.tpl +++ b/admin/template/goto/element_set_unit.tpl @@ -1,17 +1,8 @@ {* $Id$ *} +{include file='include/autosize.inc.tpl'} {include file='include/datepicker.inc.tpl'} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - -<script type="text/javascript"> - jQuery().ready(function(){ldelim} - jQuery("textarea").growfield({ldelim} - animate: false - }); - }); -</script> - <h2>{'Batch management'|@translate}</h2> <h3>{$CATEGORIES_NAV}</h3> diff --git a/admin/template/goto/include/autosize.inc.tpl b/admin/template/goto/include/autosize.inc.tpl index 08fbe66ad..79152302c 100644 --- a/admin/template/goto/include/autosize.inc.tpl +++ b/admin/template/goto/include/autosize.inc.tpl @@ -1,4 +1,6 @@ {* $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.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} {* Auto size and auto grow textarea *} diff --git a/admin/template/goto/notification_by_mail.tpl b/admin/template/goto/notification_by_mail.tpl index eef0b3de4..375093d01 100644 --- a/admin/template/goto/notification_by_mail.tpl +++ b/admin/template/goto/notification_by_mail.tpl @@ -1,7 +1,5 @@ {* $Id$ *} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - {include file='include/autosize.inc.tpl'} <div class="titrePage"> diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index 8f2aacc03..2e4d161e7 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -1,5 +1,6 @@ {* $Id$ *} +{include file='include/autosize.inc.tpl'} {include file='include/datepicker.inc.tpl'} {literal} @@ -8,16 +9,6 @@ </script> {/literal} -{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - -<script type="text/javascript"> - jQuery().ready(function(){ldelim} - jQuery("textarea").growfield({ldelim} - animate: false - }); - }); -</script> - <h2>{'title_picmod'|@translate}</h2> <img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail" /> diff --git a/plugins/AMenuManager/admin/amm_personalisedlist_edit.tpl b/plugins/AMenuManager/admin/amm_personalisedlist_edit.tpl index ddccc6b23..ca2516315 100644 --- a/plugins/AMenuManager/admin/amm_personalisedlist_edit.tpl +++ b/plugins/AMenuManager/admin/amm_personalisedlist_edit.tpl @@ -1,3 +1,7 @@ +{* $Id $ *} + +{include file='include/autosize.inc.tpl'} + {literal} <script type="text/javascript"> |