Corrected order of select arrays.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@724 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
159558a9ca
commit
7574f6eadf
|
@ -263,7 +263,7 @@ function closeWindow()
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<?php
|
<?php
|
||||||
$select_name = "new_monitor[Type]";
|
$select_name = "new_monitor[Type]";
|
||||||
$source_types = array( $zmSlangLocal=>"Local", $zmSlangRemote=>"Remote" );
|
$source_types = array( 'Local'=>$zmSlangLocal, 'Remote'=>$zmSlangRemote );
|
||||||
?>
|
?>
|
||||||
<tr><td align="left" class="text"><?= $zmSlangSourceType ?></td><td><?= buildSelect( $select_name, $source_types ); ?></td></tr>
|
<tr><td align="left" class="text"><?= $zmSlangSourceType ?></td><td><?= buildSelect( $select_name, $source_types ); ?></td></tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -84,14 +84,14 @@ function closeWindow()
|
||||||
<tr><td align="right" class="text"><?= $zmSlangEnabled ?></td><td align="left" class="text"><?= buildSelect( "new_enabled", $yesno ) ?></td></tr>
|
<tr><td align="right" class="text"><?= $zmSlangEnabled ?></td><td align="left" class="text"><?= buildSelect( "new_enabled", $yesno ) ?></td></tr>
|
||||||
<?php
|
<?php
|
||||||
$new_stream = $row[Stream];
|
$new_stream = $row[Stream];
|
||||||
$nv = array( $zmSlangNone=>'None', $zmSlangView=>'View' );
|
$nv = array( 'None'=>$zmSlangNone, 'View'=>$zmSlangView );
|
||||||
?>
|
?>
|
||||||
<tr><td align="right" class="text">Stream</td><td align="left" class="text"><?= buildSelect( "new_stream", $nv ) ?></td></tr>
|
<tr><td align="right" class="text">Stream</td><td align="left" class="text"><?= buildSelect( "new_stream", $nv ) ?></td></tr>
|
||||||
<?php
|
<?php
|
||||||
$new_events = $row[Events];
|
$new_events = $row[Events];
|
||||||
$new_monitors = $row[Monitors];
|
$new_monitors = $row[Monitors];
|
||||||
$new_system = $row[System];
|
$new_system = $row[System];
|
||||||
$nve = array( $zmSlangNone=>'None', $zmSlangView=>'View', $zmSlangEdit=>'Edit' );
|
$nve = array( 'None'=>$zmSlangNone, 'View'=>$zmSlangView, 'Edit'=>$zmSlangEdit );
|
||||||
?>
|
?>
|
||||||
<tr><td align="right" class="text"><?= $zmSlangEvents ?></td><td align="left" class="text"><?= buildSelect( "new_events", $nve ) ?></td></tr>
|
<tr><td align="right" class="text"><?= $zmSlangEvents ?></td><td align="left" class="text"><?= buildSelect( "new_events", $nve ) ?></td></tr>
|
||||||
<tr><td align="right" class="text"><?= $zmSlangMonitors ?></td><td align="left" class="text"><?= buildSelect( "new_monitors", $nve ) ?></td></tr>
|
<tr><td align="right" class="text"><?= $zmSlangMonitors ?></td><td align="left" class="text"><?= buildSelect( "new_monitors", $nve ) ?></td></tr>
|
||||||
|
|
Loading…
Reference in New Issue