diff options
author | patdenice <patdenice@piwigo.org> | 2008-09-27 21:00:12 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-09-27 21:00:12 +0000 |
commit | d61c255341c0b9c94357ad4e007e138d3a408dff (patch) | |
tree | 3526b18ac5c636b90ca27677b0afd1850ce7d4bc /admin/template/goto/picture_modify.tpl | |
parent | 781eb636fc950175861f80ca031792d2ac81f321 (diff) |
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
Diffstat (limited to 'admin/template/goto/picture_modify.tpl')
-rw-r--r-- | admin/template/goto/picture_modify.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index da8ff2594..a92018732 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -1,4 +1,14 @@ {* $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> + <h2>{'title_picmod'|@translate}</h2> <img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail" /> |