diff --git a/web/zm_html_view_monitor.php b/web/zm_html_view_monitor.php
index 52e5be3f0..d6f7523c6 100644
--- a/web/zm_html_view_monitor.php
+++ b/web/zm_html_view_monitor.php
@@ -263,7 +263,7 @@ function closeWindow()
"Local", $zmSlangRemote=>"Remote" );
+ $source_types = array( 'Local'=>$zmSlangLocal, 'Remote'=>$zmSlangRemote );
?>
= $zmSlangSourceType ?> | = buildSelect( $select_name, $source_types ); ?> |
= $zmSlangEnabled ?> | = buildSelect( "new_enabled", $yesno ) ?> |
'None', $zmSlangView=>'View' );
+ $nv = array( 'None'=>$zmSlangNone, 'View'=>$zmSlangView );
?>
Stream | = buildSelect( "new_stream", $nv ) ?> |
'None', $zmSlangView=>'View', $zmSlangEdit=>'Edit' );
+ $nve = array( 'None'=>$zmSlangNone, 'View'=>$zmSlangView, 'Edit'=>$zmSlangEdit );
?>
= $zmSlangEvents ?> | = buildSelect( "new_events", $nve ) ?> |
= $zmSlangMonitors ?> | = buildSelect( "new_monitors", $nve ) ?> |