diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-12-02 19:46:30 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-12-02 19:46:30 +0000 |
commit | af1cbac19d7478b935a991abddaa2dd4c8df6c34 (patch) | |
tree | 0c9e42aa73da4db5a99537641db9cb46db0f8fcb /themes/default/template/header.tpl | |
parent | 208a5acddcfebc131af01855edbf7f6cdc903bf7 (diff) |
new template features: combine_script, footer_script and get_combined_scripts
migrated public templates only; need more code doc
git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/header.tpl')
-rw-r--r-- | themes/default/template/header.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl index bb42c7289..36222e268 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -40,12 +40,15 @@ {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} - +{* <script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script> +*} <!--[if lt IE 7]> <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> <![endif]--> +{get_combined_scripts load='header'} + {if not empty($head_elements)} {foreach from=$head_elements item=elt}{$elt} {/foreach} |