From 5f7feb75aa1b697b56c3a4525f5fb2e402c1a7ea Mon Sep 17 00:00:00 2001 From: alexhigh Date: Wed, 7 May 2014 14:14:23 +0000 Subject: [PATCH] 2014-05-07 Alejandro Gallardo * godmode/agentes/planned_downtime.editor.php, godmode/alerts/configure_alert_template.php, godmode/reporting/reporting_builder.item_editor.php, operation/netflow/nf_live_view.php: Changed the maximum character length of the time inputs from 7 to 8. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ .../godmode/agentes/planned_downtime.editor.php | 4 ++-- .../godmode/alerts/configure_alert_template.php | 4 ++-- .../godmode/reporting/reporting_builder.item_editor.php | 4 ++-- pandora_console/operation/netflow/nf_live_view.php | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a2dea49f32..105331fe7b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2014-05-07 Alejandro Gallardo + + * godmode/agentes/planned_downtime.editor.php, + godmode/alerts/configure_alert_template.php, + godmode/reporting/reporting_builder.item_editor.php, + operation/netflow/nf_live_view.php: Changed the maximum + character length of the time inputs from 7 to 8. + 2014-05-06 Alejandro Gallardo * godmode/alerts/alert_list.list.php: Now the form and diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index 0a9accbfa0..c1ce80bf67 100755 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -339,7 +339,7 @@ $table->data[5][1] = " " ". html_print_input_text ('once_date_from', $once_date_from, '', 10, 10, true) . - html_print_input_text ('once_time_from', $once_time_from, '', 7, 7, true) . + html_print_input_text ('once_time_from', $once_time_from, '', 7, 8, true) . " @@ -350,7 +350,7 @@ $table->data[5][1] = " " ". html_print_input_text ('once_date_to', $once_date_to, '', 10, 10, true) . - html_print_input_text ('once_time_to', $once_time_to, '', 7, 7, true) . + html_print_input_text ('once_time_to', $once_time_to, '', 7, 8, true) . " diff --git a/pandora_console/godmode/alerts/configure_alert_template.php b/pandora_console/godmode/alerts/configure_alert_template.php index 578b17c6f9..fc25393b5a 100644 --- a/pandora_console/godmode/alerts/configure_alert_template.php +++ b/pandora_console/godmode/alerts/configure_alert_template.php @@ -499,11 +499,11 @@ if ($step == 2) { $table->data[1][0] = __('Time from') . ' ' . ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true); - $table->data[1][1] = html_print_input_text ('time_from', $time_from, '', 7, 7, + $table->data[1][1] = html_print_input_text ('time_from', $time_from, '', 7, 8, true); $table->data[1][2] = __('Time to') . ' ' . ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true); - $table->data[1][3] = html_print_input_text ('time_to', $time_to, '', 7, 7, + $table->data[1][3] = html_print_input_text ('time_to', $time_to, '', 7, 8, true); $table->colspan['threshold'][1] = 3; diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 8bea870fcf..4626879078 100644 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -640,7 +640,7 @@ html_print_input_hidden('id_item', $idItem); ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true); ?> - + @@ -649,7 +649,7 @@ html_print_input_hidden('id_item', $idItem); ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true); ?> - + diff --git a/pandora_console/operation/netflow/nf_live_view.php b/pandora_console/operation/netflow/nf_live_view.php index 7709dd2479..750c7c144f 100644 --- a/pandora_console/operation/netflow/nf_live_view.php +++ b/pandora_console/operation/netflow/nf_live_view.php @@ -183,7 +183,7 @@ echo '
"calendar")) . ui_print_help_tip(__('Date format in Pandora is year/month/day'), true) . - html_print_input_text ('time', $time, false, 10, 5, true) . + html_print_input_text ('time', $time, false, 10, 8, true) . ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true) . "";