Ignore:
Timestamp:
Dec 2, 2010, 8:46:30 PM (13 years ago)
Author:
rvelices
Message:

new template features: combine_script, footer_script and get_combined_scripts
migrated public templates only; need more code doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/search.tpl

    r6951 r7975  
    11
    22{* Example of resizeable *}
    3 {*
     3
    44{include file='include/resize.inc.tpl'}
    5 *}
     5
    66
    77{* Example of datepicker *}
    8 {*
     8
    99{include file='include/datepicker.inc.tpl'}
    1010
    11 {literal}
    12 <script type="text/javascript">
     11{footer_script}{literal}
    1312  pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date");
    1413  pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null);
    1514 jQuery().ready(function(){ $(".date_today").hide(); });
    16 </script>
    17 {/literal}
    18 *}
     15{/literal}{/footer_script}
     16
    1917
    2018<div id="content" class="content">
     
    2220  <div class="titrePage">
    2321    <ul class="categoryActions">
     22                        {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
    2423      <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>
    2524      <li><a href="{$U_HOME}" title="{'Home'|@translate}" rel="Home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
Note: See TracChangeset for help on using the changeset viewer.