diff options
Diffstat (limited to 'admin/themes/default/template')
4 files changed, 13 insertions, 3 deletions
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index c484144e1..6425f49e9 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -64,7 +64,10 @@ jQuery(document).ready(function() { {/literal} jQuery(document).ready(function() {ldelim} - jQuery('[data-datepicker]').pwgDatepicker({ showTimepicker: true }); + jQuery('[data-datepicker]').pwgDatepicker({ + showTimepicker: true, + cancelButton: '{'Cancel'|translate}' + }); jQuery("a.preview-box").colorbox(); diff --git a/admin/themes/default/template/batch_manager_unit.tpl b/admin/themes/default/template/batch_manager_unit.tpl index e2a51b5e4..18671242b 100644 --- a/admin/themes/default/template/batch_manager_unit.tpl +++ b/admin/themes/default/template/batch_manager_unit.tpl @@ -23,7 +23,10 @@ tagsCache.selectize(jQuery('[data-selectize=tags]'), { lang: { {* <!-- DATEPICKER --> *} jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *} - jQuery('[data-datepicker]').pwgDatepicker({ showTimepicker: true }); + jQuery('[data-datepicker]').pwgDatepicker({ + showTimepicker: true, + cancelButton: '{'Cancel'|translate}' + }); }); {* <!-- THUMBNAILS --> *} diff --git a/admin/themes/default/template/include/datepicker.inc.tpl b/admin/themes/default/template/include/datepicker.inc.tpl index 92e40aa3a..2b4d20179 100644 --- a/admin/themes/default/template/include/datepicker.inc.tpl +++ b/admin/themes/default/template/include/datepicker.inc.tpl @@ -11,6 +11,7 @@ {combine_script id="jquery.ui.timepicker-$lang_info.code" load='footer' require='jquery.ui.timepicker-addon' path=$timepicker_language} {/if} +{combine_css path="themes/default/js/ui/theme/jquery.ui.theme.css"} {combine_css path="themes/default/js/ui/theme/jquery.ui.slider.css"} {combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"} {combine_css path="themes/default/js/ui/theme/jquery.ui.timepicker-addon.css"}
\ No newline at end of file diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl index cea48e28d..20891a2d2 100644 --- a/admin/themes/default/template/picture_modify.tpl +++ b/admin/themes/default/template/picture_modify.tpl @@ -32,7 +32,10 @@ tagsCache.selectize(jQuery('[data-selectize=tags]'), { lang: { {* <!-- DATEPICKER --> *} jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *} - jQuery('[data-datepicker]').pwgDatepicker({ showTimepicker: true }); + jQuery('[data-datepicker]').pwgDatepicker({ + showTimepicker: true, + cancelButton: '{'Cancel'|translate}' + }); }); }()); {/footer_script} |