Add RTSP Server checkbox
parent
e09c80e385
commit
c8af90fd24
|
@ -113,7 +113,7 @@ class Monitor extends ZM_Object {
|
|||
'SignalCheckPoints' => 0,
|
||||
'SignalCheckColour' => '#0000BE',
|
||||
'WebColour' => '#ff0000',
|
||||
'Exif' => array('type'=>'boolean','default'=>0),
|
||||
'Exif' => array('type'=>'boolean', 'default'=>0),
|
||||
'Sequence' => null,
|
||||
'ZoneCount' => 0,
|
||||
'Refresh' => null,
|
||||
|
@ -121,6 +121,7 @@ class Monitor extends ZM_Object {
|
|||
'GroupIds' => array('default'=>array(), 'do_not_update'=>1),
|
||||
'Latitude' => null,
|
||||
'Longitude' => null,
|
||||
'RTSPServer' => array('type'=>'boolean', 'default'=>0),
|
||||
);
|
||||
private $status_fields = array(
|
||||
'Status' => null,
|
||||
|
|
|
@ -1232,7 +1232,11 @@ echo htmlSelect('newMonitor[ReturnLocation]', $return_options, $monitor->ReturnL
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="text-right pr-3"><?php echo translate('Exif'); echo makeHelpLink('OPTIONS_EXIF') ?></td>
|
||||
<td><input type="checkbox" name="newMonitor[Exif]" value="1"<?php if ( $monitor->Exif() ) { ?> checked="checked"<?php } ?>/></td>
|
||||
<td><input type="checkbox" name="newMonitor[Exif]" value="1"<?php echo $monitor->Exif() ? ' checked="checked"' : '' ?>/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right pr-3"><?php echo translate('RTSPServer'); echo makeHelpLink('OPTIONS_RTSPSERVER') ?></td>
|
||||
<td><input type="checkbox" name="newMonitor[RTSPServer]" value="1"<?php echo $monitor->RTSPServer() ? ' checked="checked"' : '' ?>/></td>
|
||||
</tr>
|
||||
<?php
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue