diff options
author | mistic100 <mistic@piwigo.org> | 2014-06-22 12:44:43 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-06-22 12:44:43 +0000 |
commit | 275e810c5f062721d8477a484cd2e4a0c2358da9 (patch) | |
tree | 01023f8468345a558bd0ac206847ea210f7968c8 /admin/themes/default/template | |
parent | b4b17975304e776518bb2f456f8000cef6bd60e9 (diff) |
feature 3080: add cancel button, one minute granularity, fix missing css
git-svn-id: http://piwigo.org/svn/trunk@28765 68402e56-0260-453c-a942-63ccdbb3a9ee
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} |