2012-11-04 Junichi Satoh <junichi@rworks.jp>

* godmode/agentes/planned_downtime.list.php: Improved to show time
	range of periodically planned downtime.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-11-04 13:58:43 +00:00
parent e5e2ce0b17
commit 364db2f6cd
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-11-04 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.list.php: Improved to show time
range of periodically planned downtime.
2012-11-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: cleaned source code style.

View File

@ -152,12 +152,16 @@ else {
$data[5] .= __('Sun');
$data[5] .= "&nbsp;";
}
$data[5] .= "&nbsp;(" . $downtime['periodically_time_from'];
$data[5] .= "-" . $downtime['periodically_time_to'] . ")";
break;
case 'monthly':
$data[5] = __('Monthly:');
$data[5] .= $downtime['periodically_day_from'];
$data[5] .= "&nbsp;" . __('to') . "&nbsp;";
$data[5] .= __('From day') . "&nbsp;" . $downtime['periodically_day_from'];
$data[5] .= "/" . __('To day') . "&nbsp;";
$data[5] .= $downtime['periodically_day_to'];
$data[5] .= "&nbsp;(" . $downtime['periodically_time_from'];
$data[5] .= "-" . $downtime['periodically_time_to'] . ")";
break;
}
break;
@ -195,4 +199,4 @@ echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo '<form method="post" action="index.php?sec=gagente&amp;sec2=godmode/agentes/planned_downtime.editor">';
html_print_submit_button (__('Create'), 'create', false, 'class="sub next"');
echo '</form>';
echo '</div>';
echo '</div>';