2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/setup/performance.php: Changed html element from input 
	text to select in SLA period (seconds) parameter.
	
	Fixes: #3437884



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-24 16:51:49 +00:00
parent 0939d3d4db
commit 94a6fc4e04
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/performance.php: Changed html element from input
text to select in SLA period (seconds) parameter.
Fixes: #3437884
2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es> 2011-11-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_generalagente.php: Hide agent access * operation/agentes/estado_generalagente.php: Hide agent access

View File

@ -67,8 +67,18 @@ $table->data[7][1] = html_print_input_text ('days_compact', $config["days_compac
$table->data[8][0] = __('Compact interpolation in hours (1 Fine-20 bad)'); $table->data[8][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
$table->data[8][1] = html_print_input_text ('step_compact', $config["step_compact"], '', 5, 5, true); $table->data[8][1] = html_print_input_text ('step_compact', $config["step_compact"], '', 5, 5, true);
$table->data[9][0] = __('SLA period (seconds)') . ui_print_help_tip(__('You can see this in SLA agent tab.'), true);; $intervals = array ();
$table->data[9][1] = html_print_input_text ('sla_period', $config["sla_period"], '', 8, 8, true); $intervals[3600] = "1 ".__('hour');
$intervals[43200] = "12 ".__('hours');
$intervals[86400] = __('Last day');
$intervals[172800] = "2 ". __('days');
$intervals[864000] = "10 ". __('days');
$intervals[604800] = __('Last week');
$intervals[1209600] = "2 " . __('weeks');
$intervals[2592000] = __('Last month');
$table->data[9][0] = __('SLA period (seconds)') . ui_print_help_tip(__('You can see this in SLA agent tab.'), true);
$table->data[9][1] = html_print_select ($intervals, 'sla_period', $config["sla_period"], '', '', '0', true);
$table->data[10][0] = __('Default hours for event view'); $table->data[10][0] = __('Default hours for event view');
$table->data[10][1] = html_print_input_text ('event_view_hr', $config["event_view_hr"], '', 5, 5, true); $table->data[10][1] = html_print_input_text ('event_view_hr', $config["event_view_hr"], '', 5, 5, true);