Ignore:
Timestamp:
Mar 9, 2011, 3:22:48 PM (14 years ago)
Author:
patdenice
Message:

feature:2114
Simplify all admin templates.

Location:
trunk/admin/themes/default/template/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/include/autosize.inc.tpl

    r8162 r9586  
    1 {combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
    21{combine_script id='jquery.autogrow' load='async' require='jquery' path='themes/default/js/plugins/jquery.autogrow-textarea.js'}
    32{* Auto size and auto grow textarea *}
  • trunk/admin/themes/default/template/include/datepicker.inc.tpl

    r9559 r9586  
    1 {combine_script id='jquery' load='footer' path='themes/default/js/jquery.min.js'}
    2 {combine_script id='jquery.ui' load='footer' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'}
    3 {combine_script id='jquery.ui.datepicker' load='footer' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.datepicker.min.js'}
    41{combine_script id='datepicker.js' load='footer' require='jquery.ui.datepicker' path='themes/default/js/datepicker.js'}
    52
     
    129{combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"}
    1310
    14 {footer_script}
     11{footer_script require='jquery.ui.datepicker,datepicker.js'}
    1512function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date)
    1613{ldelim}
  • trunk/admin/themes/default/template/include/dbselect.inc.tpl

    r9559 r9586  
    1 {combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
    2 {combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js' }
    3 {combine_script id='jquery.ui.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.resizable.min.js' }
    41{footer_script require='jquery.ui.resizable'}{literal}
    52jQuery(document).ready(function(){
  • trunk/admin/themes/default/template/include/resize.inc.tpl

    r9559 r9586  
    1 {combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
    2 {combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'}
    3 {combine_script id='jquery.ui.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.resizable.min.js'}
    4 
    51{* Resize possible *}
    62{footer_script require='jquery.ui.resizable'}{literal}
  • trunk/admin/themes/default/template/include/tag_selection.inc.tpl

    r5931 r9586  
    1 {literal}
    2 <script type="text/javascript">
    3 $(document).ready(function(){
    4   $(".tagSelection label").click(function () {
    5     var parent = $(this).parent('li');
    6     var checkbox = $(this).children("input[type=checkbox]");
     1{footer_script require='jquery'}{literal}
     2jQuery(document).ready(function(){
     3  jQuery(".tagSelection label").click(function () {
     4    var parent = jQuery(this).parent('li');
     5    var checkbox = jQuery(this).children("input[type=checkbox]");
    76
    8     if ($(checkbox).is(':checked')) {
    9        $(parent).addClass("tagSelected");
     7    if (jQuery(checkbox).is(':checked')) {
     8      jQuery(parent).addClass("tagSelected");
    109    }
    1110    else {
    12        $(parent).removeClass('tagSelected');
     11      jQuery(parent).removeClass('tagSelected');
    1312    }
    1413  });
    1514});
    16 </script>
    17 {/literal}
     15{/literal}{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.