Changeset 2614


Ignore:
Timestamp:
Sep 27, 2008, 11:00:12 PM (16 years ago)
Author:
patdenice
Message:

Put resizable and growfield scripts on each page where is needed.

Location:
trunk/admin/template/goto
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/admin.tpl

    r2579 r2614  
    11{* $Id$ *}
    2 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
    32{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js" }
    43{known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.accordion.packed.js" }
  • trunk/admin/template/goto/cat_modify.tpl

    r2534 r2614  
    11{* $Id$ *}
     2{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3
     4<script type="text/javascript">
     5  jQuery().ready(function(){ldelim}
     6    jQuery("textarea").growfield({ldelim}
     7      animate: false
     8    });
     9  });
     10</script>
     11
    212<div class="titrePage">
    313  <h2>{'title_edit_cat'|@translate}</h2>
  • trunk/admin/template/goto/configuration.tpl

    r2531 r2614  
    11{* $Id$ *}
     2{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3
     4<script type="text/javascript">
     5  jQuery().ready(function(){ldelim}
     6    jQuery("textarea").growfield({ldelim}
     7      animate: false
     8    });
     9  });
     10</script>
     11
    212<div class="titrePage">
    313  <h2>{'title_configuration'|@translate} {$TABSHEET_TITLE}</h2>
  • trunk/admin/template/goto/double_select.tpl

    r2606 r2614  
    22{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    33{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
     4
     5<script type="text/javascript">
     6  jQuery().ready(function(){ldelim}
     7    jQuery(".doubleSelect select.categoryList").resizable({ldelim}
     8    handles: "w,e",
     9    animate: true,
     10    animateDuration: "slow",
     11    animateEasing: "swing",
     12    preventDefault: true,
     13    preserveCursor: true,
     14    autoHide: true,
     15    ghost: true
     16    });
     17  });
     18</script>
    419
    520<table class="doubleSelect">
     
    2237  </tr>
    2338</table>
    24 
    25 {literal}
    26 <script type="text/javascript">
    27   jQuery().ready(function(){
    28     jQuery(".doubleSelect select.categoryList").resizable({
    29     handles: "w,e",
    30     animate: true,
    31     animateDuration: "slow",
    32     animateEasing: "swing",
    33     preventDefault: true,
    34     preserveCursor: true,
    35     autoHide: true,
    36     ghost: true
    37     });
    38   });
    39 </script>
    40 {/literal}
  • trunk/admin/template/goto/element_set_unit.tpl

    r2531 r2614  
    11{* $Id$ *}
     2{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3
     4<script type="text/javascript">
     5  jQuery().ready(function(){ldelim}
     6    jQuery("textarea").growfield({ldelim}
     7      animate: false
     8    });
     9  });
     10</script>
    211
    312<h2>{'Batch management'|@translate}</h2>
  • trunk/admin/template/goto/footer.tpl

    r2607 r2614  
    3737</div> <!-- the_page -->
    3838
    39 {literal}
    40 <script type="text/javascript">
    41   jQuery().ready(function(){
    42     // Auto size for all text area
    43     jQuery("TEXTAREA").growfield({
    44       animate: false
    45     });
    46   });
    47 </script>
    48 {/literal}
    49 
    5039</body>
    5140</html>
  • trunk/admin/template/goto/header.tpl

    r2607 r2614  
    11{* $Id$ *}
    22{*
    3 
    43
    54          Warning : This is the admin pages header only
     
    2322<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
    2423{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*}
    25 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    26 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
    27 {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
    2824{$themeconf.local_head}
    2925<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
  • trunk/admin/template/goto/notification_by_mail.tpl

    r2531 r2614  
    11{* $Id$ *}
     2{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3
     4<script type="text/javascript">
     5  jQuery().ready(function(){ldelim}
     6    jQuery("textarea").growfield({ldelim}
     7      animate: false
     8    });
     9  });
     10</script>
    211
    312<div class="titrePage">
  • trunk/admin/template/goto/picture_modify.tpl

    r2534 r2614  
    11{* $Id$ *}
     2{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
     3
     4<script type="text/javascript">
     5  jQuery().ready(function(){ldelim}
     6    jQuery("textarea").growfield({ldelim}
     7      animate: false
     8    });
     9  });
     10</script>
     11
    212<h2>{'title_picmod'|@translate}</h2>
    313
Note: See TracChangeset for help on using the changeset viewer.