diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 149e597878..23b647b322 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-11-04 Junichi Satoh + + * godmode/agentes/planned_downtime.list.php: Improved to show time + range of periodically planned downtime. + 2012-11-03 Miguel de Dios * godmode/users/configure_user.php: cleaned source code style. diff --git a/pandora_console/godmode/agentes/planned_downtime.list.php b/pandora_console/godmode/agentes/planned_downtime.list.php index 5b0d9cc8af..5e65c9e8d9 100755 --- a/pandora_console/godmode/agentes/planned_downtime.list.php +++ b/pandora_console/godmode/agentes/planned_downtime.list.php @@ -152,12 +152,16 @@ else { $data[5] .= __('Sun'); $data[5] .= " "; } + $data[5] .= " (" . $downtime['periodically_time_from']; + $data[5] .= "-" . $downtime['periodically_time_to'] . ")"; break; case 'monthly': $data[5] = __('Monthly:'); - $data[5] .= $downtime['periodically_day_from']; - $data[5] .= " " . __('to') . " "; + $data[5] .= __('From day') . " " . $downtime['periodically_day_from']; + $data[5] .= "/" . __('To day') . " "; $data[5] .= $downtime['periodically_day_to']; + $data[5] .= " (" . $downtime['periodically_time_from']; + $data[5] .= "-" . $downtime['periodically_time_to'] . ")"; break; } break; @@ -195,4 +199,4 @@ echo '
'; echo '
'; html_print_submit_button (__('Create'), 'create', false, 'class="sub next"'); echo '
'; -echo '
'; \ No newline at end of file +echo '';