diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3d3f070f89..153a5b3a00 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,21 @@ +2013-06-10 Miguel de Dios + + * include/javascript/jquery.ui-timepicker-addon.js: updated the + datepicker for to avoid some found bugs. + + * include/javascript/i18n: added translations for the datepicker. + + * godmode/alerts/configure_alert_template.php, + godmode/reporting/reporting_builder.item_editor.php, + godmode/agentes/planned_downtime.editor.php, + include/ajax/module.php, include/functions_ui.php, + operation/tree.php, operation/agentes/status_monitor.php, + operation/agentes/datos_agente.php, + operation/reporting/reporting_viewer.php, + operation/reporting/graph_viewer.php, extensions/insert_data.php: + changed the code for to use the user/system language in the + datepicker. + 2013-06-10 Sergio Martin * include/styles/jquery-ui-1.10.0.custom.css diff --git a/pandora_console/extensions/insert_data.php b/pandora_console/extensions/insert_data.php index 8cb04468b1..d1d4c3c671 100644 --- a/pandora_console/extensions/insert_data.php +++ b/pandora_console/extensions/insert_data.php @@ -185,6 +185,8 @@ function mainInsertData() { ui_require_css_file ('datepicker'); ui_require_jquery_file ("ui-timepicker-addon"); + ui_require_javascript_file("i18n/jquery-ui-timepicker-" . get_user_language()); + ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascript/i18n/"); ?> diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 0182a53f6a..76492fc4bd 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -15,6 +15,7 @@ // GNU General Public License for more details. + // Load global vars global $config; diff --git a/pandora_console/operation/reporting/graph_viewer.php b/pandora_console/operation/reporting/graph_viewer.php index b27e2e7d6d..3297b9afd3 100644 --- a/pandora_console/operation/reporting/graph_viewer.php +++ b/pandora_console/operation/reporting/graph_viewer.php @@ -193,6 +193,8 @@ if ($view_graph) { work if the date is not correct because php is returning. */ ui_require_jquery_file ("ui-timepicker-addon"); + ui_require_javascript_file("i18n/jquery-ui-timepicker-" . get_user_language()); + ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascript/i18n/"); ?> diff --git a/pandora_console/operation/reporting/reporting_viewer.php b/pandora_console/operation/reporting/reporting_viewer.php index 10517dc9df..39964f3449 100644 --- a/pandora_console/operation/reporting/reporting_viewer.php +++ b/pandora_console/operation/reporting/reporting_viewer.php @@ -183,6 +183,8 @@ echo ''; */ ui_require_jquery_file ("ui-timepicker-addon"); +ui_require_javascript_file("i18n/jquery-ui-timepicker-" . get_user_language()); +ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascript/i18n/"); ?>