Moved section length and added X10 section.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@646 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
23be77d58c
commit
7138ec829d
|
@ -30,10 +30,12 @@
|
||||||
$result = mysql_query( "select * from TriggersX10 where MonitorId = '$mid'" );
|
$result = mysql_query( "select * from TriggersX10 where MonitorId = '$mid'" );
|
||||||
if ( !$result )
|
if ( !$result )
|
||||||
die( mysql_error() );
|
die( mysql_error() );
|
||||||
$x10_monitor = mysql_fetch_assoc( $result );
|
if ( $x10_monitor = mysql_fetch_assoc( $result ) )
|
||||||
foreach( $x10_monitor as $key=>$value )
|
|
||||||
{
|
{
|
||||||
$monitor['X10'.$key] = $value;
|
foreach( $x10_monitor as $key=>$value )
|
||||||
|
{
|
||||||
|
$monitor['X10'.$key] = $value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,6 +146,7 @@ function closeWindow()
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select></td></tr>
|
</select></td></tr>
|
||||||
|
<tr><td align="left" class="text">Section Length</td><td align="left" class="text"><input type="text" name="new_section_length" value="<?= $monitor[SectionLength] ?>" size="6" class="form"></td></tr>
|
||||||
<tr><td align="left" class="text">Run Mode</td><td align="left" class="text"><select name="new_runmode" class="form">
|
<tr><td align="left" class="text">Run Mode</td><td align="left" class="text"><select name="new_runmode" class="form">
|
||||||
<?php
|
<?php
|
||||||
foreach ( getEnumValues( 'Monitors', 'RunMode' ) as $opt_runmode )
|
foreach ( getEnumValues( 'Monitors', 'RunMode' ) as $opt_runmode )
|
||||||
|
@ -237,7 +240,6 @@ $source_types = array( "Local"=>"Local", "Remote"=>"Remote" );
|
||||||
case 'misc' :
|
case 'misc' :
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr><td align="left" class="text">Section Length</td><td align="left" class="text"><input type="text" name="new_section_length" value="<?= $monitor[SectionLength] ?>" size="6" class="form"></td></tr>
|
|
||||||
<tr><td align="left" class="text">Maximum FPS</td><td align="left" class="text"><input type="text" name="new_max_fps" value="<?= $monitor[MaxFPS] ?>" size="4" class="form"></td></tr>
|
<tr><td align="left" class="text">Maximum FPS</td><td align="left" class="text"><input type="text" name="new_max_fps" value="<?= $monitor[MaxFPS] ?>" size="4" class="form"></td></tr>
|
||||||
<tr><td align="left" class="text">FPS Report Interval</td><td align="left" class="text"><input type="text" name="new_fps_report_interval" value="<?= $monitor[FPSReportInterval] ?>" size="4" class="form"></td></tr>
|
<tr><td align="left" class="text">FPS Report Interval</td><td align="left" class="text"><input type="text" name="new_fps_report_interval" value="<?= $monitor[FPSReportInterval] ?>" size="4" class="form"></td></tr>
|
||||||
<tr><td align="left" class="text">Reference Image Blend %ge</td><td align="left" class="text"><input type="text" name="new_ref_blend_perc" value="<?= $monitor[RefBlendPerc] ?>" size="4" class="form"></td></tr>
|
<tr><td align="left" class="text">Reference Image Blend %ge</td><td align="left" class="text"><input type="text" name="new_ref_blend_perc" value="<?= $monitor[RefBlendPerc] ?>" size="4" class="form"></td></tr>
|
||||||
|
|
Loading…
Reference in New Issue