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

* godmode/agentes/planned_downtime.editor.php: Allowed to change
	type of planned downtime while it's not active.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-11-19 06:23:24 +00:00
parent a4f0d8f2b4
commit 750a5b190a
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2012-11-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.editor.php: Allowed to change
type of planned downtime while it's not active.
2012-11-18 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated

View File

@ -322,17 +322,13 @@ $table->data[1][0] = __('Group');
$table->data[1][1] = html_print_select_groups(false, "AR", true, 'id_group', $id_group, '', '', 0, true);
$table->data[2][0] = __('Description');
$table->data[2][1] = html_print_textarea ('description', 3, 35, $description, '', true);
$disabled_type = false;
if ($id_downtime > 0) {
$disabled_type = true;
}
$table->data[3][0] = __('Type');
$table->data[3][1] = html_print_select(array('quiet' => __('Quiet'),
'disable_agents' => __('Disabled Agents'),
'disable_agents_alerts' => __('Disabled only Alerts')),
'type_downtime', $type_downtime, '', '', 0, true, false, true,
'', $disabled_type);
'');
$table->data[4][0] = __('Execution');
$table->data[4][1] = html_print_select(array('once' => __('once'),
'periodically' => __('Periodically')),