Skip to content

Commit

Permalink
feature:2114
Browse files Browse the repository at this point in the history
Simplify public templates.

git-svn-id: http://piwigo.org/svn/trunk@9587 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Mar 9, 2011
1 parent 8b64b57 commit d821320
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion 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}
Expand Down
6 changes: 1 addition & 5 deletions 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"}
Expand All @@ -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(
Expand Down
4 changes: 0 additions & 4 deletions 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(){
Expand Down

0 comments on commit d821320

Please sign in to comment.