diff options
Diffstat (limited to 'admin/template/goto')
-rw-r--r-- | admin/template/goto/footer.tpl | 24 | ||||
-rw-r--r-- | admin/template/goto/header.tpl | 2 |
2 files changed, 23 insertions, 3 deletions
diff --git a/admin/template/goto/footer.tpl b/admin/template/goto/footer.tpl index 0ae5dde2c..dbfca19e5 100644 --- a/admin/template/goto/footer.tpl +++ b/admin/template/goto/footer.tpl @@ -1,10 +1,7 @@ {* $Id$ *} {* - - Warning : This is the admin pages footer only don't be confusing with the public page footer - *} <div id="copyright"> <a name="EoP"></a> <!-- End of ADMIN Page --> @@ -38,5 +35,26 @@ </div> {/if} </div> <!-- the_page --> + +<!-- Begin of JS --> +{literal} +<script type="text/javascript"> + // All admin textarea are resizable + jQuery().ready(function(){ + jQuery("TEXTAREA").resizable({ + handles: "all", + animate: true, + animateDuration: "slow", + animateEasing: "swing", + preventDefault: true, + preserveCursor: true, + autoHide: true, + ghost: true + }); + }); +</script> +{/literal} +<!-- End of JS --> + </body> </html>
\ No newline at end of file diff --git a/admin/template/goto/header.tpl b/admin/template/goto/header.tpl index 607f31529..08440e43c 100644 --- a/admin/template/goto/header.tpl +++ b/admin/template/goto/header.tpl @@ -23,6 +23,8 @@ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css"> <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> {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.sortable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} {$themeconf.local_head} <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script> <!--[if lt IE 7]> |