diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 757a64d6a..42c3f1006 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -545,11 +545,11 @@ if (count($available_monitor_ids)) { Capturing()); + echo htmlSelect('newMonitor[Capturing]', ZM\Monitor::getCapturingOptions(), $monitor->Capturing()); ?>
$translated) { + foreach (ZM\Monitor::getCapturingOptions() as $fn => $translated) { if (isset($OLANG['CAPTURING_'.strtoupper($fn)])) { echo '
'.$OLANG['CAPTURING_'.strtoupper($fn)]['Help'].'
'; } @@ -572,11 +572,11 @@ if (count($available_monitor_ids)) { Recording(), array('on-change-this'=>'Recording_onChange')); + echo htmlSelect('newMonitor[Recording]', ZM\Monitor::getRecordingOptions(), $monitor->Recording(), array('on-change-this'=>'Recording_onChange')); ?>
$translated) { + foreach (ZM\Monitor::getRecordingOptions() as $fn => $translated) { if (isset($OLANG['RECORDING_'.strtoupper($fn)])) { echo '
'.$OLANG['RECORDING_'.strtoupper($fn)]['Help'].'
'; } @@ -625,12 +625,12 @@ if (count($available_monitor_ids)) { Analysing(), array('on-change-this'=>'Analysing_onChange')); + echo htmlSelect('newMonitor[Analysing]', ZM\Monitor::getAnalysingOptions(), $monitor->Analysing(), array('on-change-this'=>'Analysing_onChange')); ?>
$translated) { + foreach (ZM\Monitor::getAnalysingOptions() as $fn => $translated) { if (isset($OLANG['ANALYSING_'.strtoupper($fn)])) { echo '
'.$OLANG['ANALYSING_'.strtoupper($fn)]['Help'].'
'; } @@ -643,7 +643,7 @@ if (count($available_monitor_ids)) { AnalysisSource()); + echo htmlSelect('newMonitor[AnalysisSource]', ZM\Monitor::getAnalysisSourceOptions(), $monitor->AnalysisSource()); ?> @@ -1008,7 +1008,7 @@ include('_monitor_source_nvsocket.php'); RecordingSource()); + echo htmlSelect('newMonitor[RecordingSource]', ZM\Monitor::getRecordingSourceOptions(), $monitor->RecordingSource()); ?>