aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/search.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-12-02 19:46:30 +0000
committerrvelices <rv-github@modusoptimus.com>2010-12-02 19:46:30 +0000
commitaf1cbac19d7478b935a991abddaa2dd4c8df6c34 (patch)
tree0c9e42aa73da4db5a99537641db9cb46db0f8fcb /themes/default/template/search.tpl
parent208a5acddcfebc131af01855edbf7f6cdc903bf7 (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 '')
-rw-r--r--themes/default/template/search.tpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl
index 5ad8dee96..cc958f7dd 100644
--- a/themes/default/template/search.tpl
+++ b/themes/default/template/search.tpl
@@ -1,26 +1,25 @@
{* Example of resizeable *}
-{*
+
{include file='include/resize.inc.tpl'}
-*}
+
{* Example of datepicker *}
-{*
+
{include file='include/datepicker.inc.tpl'}
-{literal}
-<script type="text/javascript">
+{footer_script}{literal}
pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date");
pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null);
jQuery().ready(function(){ $(".date_today").hide(); });
-</script>
-{/literal}
-*}
+{/literal}{/footer_script}
+
<div id="content" class="content">
<div class="titrePage">
<ul class="categoryActions">
+ {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
<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>
<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>
</ul>