mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed interval field in recon task form
This commit is contained in:
parent
dff80fed84
commit
7d6aae01cd
@ -243,12 +243,16 @@ $table->data[3][1] = html_print_input_text ('network', $network, '', 25, 0, true
|
||||
|
||||
// Interval
|
||||
|
||||
$interv_manual = 0;
|
||||
if ((int)$interval == 0) {
|
||||
$interv_manual = 1;
|
||||
}
|
||||
|
||||
$table->data[4][0] = "<b>".__('Interval');
|
||||
$table->data[4][0] .= ui_print_help_tip (__('Manual interval means that it will be executed only On-demand'), true);
|
||||
|
||||
$values = array (0 => __('Defined'), 1 => __('Manual'));
|
||||
$table->data[4][1] = html_print_select ($values, "interval_manual_defined", (int)($interval === 0), '','','',true);
|
||||
$table->data[4][1] = html_print_select ($values, "interval_manual_defined", $interv_manual, '','','',true);
|
||||
|
||||
$table->data[4][1] .= '<span id="interval_manual_container">';
|
||||
$table->data[4][1] .= html_print_extended_select_for_time ('interval' , $interval, '', '', '0', false, true, false, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user