aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/include/datepicker.inc.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-03-09 15:11:25 +0000
committerpatdenice <patdenice@piwigo.org>2011-03-09 15:11:25 +0000
commitd8213207dd6022f1026ba5164e0e976337643272 (patch)
treee8fe36ce647cfd0f496b3987d95d318e26eaa39c /themes/default/template/include/datepicker.inc.tpl
parent8b64b57a27139a671800c6768133be0a8bb6d35f (diff)
feature:2114
Simplify public templates. git-svn-id: http://piwigo.org/svn/trunk@9587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/include/datepicker.inc.tpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/themes/default/template/include/datepicker.inc.tpl b/themes/default/template/include/datepicker.inc.tpl
index d3a7fc0ef..9b58b0d2d 100644
--- a/themes/default/template/include/datepicker.inc.tpl
+++ b/themes/default/template/include/datepicker.inc.tpl
@@ -1,7 +1,3 @@
-
-{combine_script id='jquery' load='footer' path='themes/default/js/jquery.min.js'}
-{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'}
-{combine_script id='jquery.ui.datepicker' load='footer' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.datepicker.min.js'}
{combine_script id='datepicker.js' load='footer' require='jquery.ui.datepicker' path='themes/default/js/datepicker.js'}
{assign var="datepicker_language" value="themes/default/js/ui/i18n/jquery.ui.datepicker-`$lang_info.code`.js"}
@@ -12,7 +8,7 @@
{combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"}
-{footer_script}
+{footer_script require='jquery.ui.datepicker,datepicker.js'}
function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date)
{ldelim}
return pwg_common_initialization_datepicker(