From c50a7dca1ef1c9f47b0b3716a55a4a1341ede15e Mon Sep 17 00:00:00 2001 From: rub Date: Sun, 28 Sep 2008 21:02:22 +0000 Subject: jQuery use. Purpose of include for template. More easy to use on plugin. "include file" don't work on include file? => double declaration git-svn-id: http://piwigo.org/svn/trunk@2623 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/include/autosize.inc.tpl | 14 ++++++++++++++ admin/template/goto/notification_by_mail.tpl | 9 ++------- 2 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 admin/template/goto/include/autosize.inc.tpl (limited to 'admin/template/goto') diff --git a/admin/template/goto/include/autosize.inc.tpl b/admin/template/goto/include/autosize.inc.tpl new file mode 100644 index 000000000..08fbe66ad --- /dev/null +++ b/admin/template/goto/include/autosize.inc.tpl @@ -0,0 +1,14 @@ +{* $Id$ *} +{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} + +{* Auto size and auto grow textarea *} +{literal} + +{/literal} diff --git a/admin/template/goto/notification_by_mail.tpl b/admin/template/goto/notification_by_mail.tpl index 6f6a57a87..eef0b3de4 100644 --- a/admin/template/goto/notification_by_mail.tpl +++ b/admin/template/goto/notification_by_mail.tpl @@ -1,13 +1,8 @@ {* $Id$ *} + {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} - +{include file='include/autosize.inc.tpl'}

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

-- cgit v1.2.3