aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template
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
parent8b64b57a27139a671800c6768133be0a8bb6d35f (diff)
feature:2114
Simplify public templates. git-svn-id: http://piwigo.org/svn/trunk@9587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template')
-rw-r--r--themes/default/template/include/autosize.inc.tpl1
-rw-r--r--themes/default/template/include/datepicker.inc.tpl6
-rw-r--r--themes/default/template/include/resize.inc.tpl4
3 files changed, 1 insertions, 10 deletions
diff --git a/themes/default/template/include/autosize.inc.tpl b/themes/default/template/include/autosize.inc.tpl
index e21162f9e..fd2b2ca75 100644
--- a/themes/default/template/include/autosize.inc.tpl
+++ b/themes/default/template/include/autosize.inc.tpl
@@ -1,4 +1,3 @@
-{combine_script id='jquery' load='async' path='themes/default/js/jquery.min.js'}
{combine_script id='jquery.autogrow' load='async' require='jquery' path='themes/default/js/plugins/jquery.autogrow-textarea.js'}
{* Auto size and auto grow textarea *}
{footer_script require='jquery.autogrow'}{literal}
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(
diff --git a/themes/default/template/include/resize.inc.tpl b/themes/default/template/include/resize.inc.tpl
index a8044f6dc..152ee61a2 100644
--- a/themes/default/template/include/resize.inc.tpl
+++ b/themes/default/template/include/resize.inc.tpl
@@ -1,7 +1,3 @@
-{combine_script id='jquery' load='async' 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.resizable' load='async' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.resizable.min.js'}
-
{* Resize possible *}
{footer_script require='jquery.ui.resizable'}{literal}
jQuery().ready(function(){