2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
|
|
|
//
|
|
|
|
// ZoneMinder web zone view file, $Date$, $Revision$
|
2008-07-25 17:48:16 +08:00
|
|
|
// Copyright (C) 2001-2008 Philip Coombes
|
2008-07-14 21:54:50 +08:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version 2
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
2016-12-26 23:23:16 +08:00
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2008-07-14 21:54:50 +08:00
|
|
|
//
|
|
|
|
|
2017-04-20 04:12:12 +08:00
|
|
|
if ( !canView( 'Monitors' ) ) {
|
|
|
|
$view = 'error';
|
2008-07-14 21:54:50 +08:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2008-09-26 17:47:20 +08:00
|
|
|
$mid = validInt($_REQUEST['mid']);
|
|
|
|
$zid = !empty($_REQUEST['zid'])?validInt($_REQUEST['zid']):0;
|
|
|
|
|
2008-07-14 21:54:50 +08:00
|
|
|
$scale = SCALE_BASE;
|
|
|
|
|
2016-04-09 23:24:59 +08:00
|
|
|
$hicolor = '0x00ff00'; // Green
|
2008-07-14 21:54:50 +08:00
|
|
|
|
|
|
|
$presets = array();
|
|
|
|
$presetNames = array();
|
2015-05-10 21:10:30 +08:00
|
|
|
$presetNames[0] = translate('ChoosePreset');
|
2017-04-20 04:12:12 +08:00
|
|
|
$sql = 'SELECT *, Units-1 AS UnitsIndex, CheckMethod-1 AS CheckMethodIndex FROM ZonePresets ORDER BY Id ASC';
|
|
|
|
foreach( dbFetchAll( $sql ) as $preset ) {
|
|
|
|
$presetNames[$preset['Id']] = $preset['Name'];
|
|
|
|
$presets[] = $preset;
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
$optTypes = array();
|
2017-04-20 04:12:12 +08:00
|
|
|
foreach ( getEnumValues( 'Zones', 'Type' ) as $optType ) {
|
|
|
|
$optTypes[$optType] = $optType;
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
$optUnits = array();
|
2017-04-20 04:12:12 +08:00
|
|
|
foreach ( getEnumValues( 'Zones', 'Units' ) as $optUnit ) {
|
|
|
|
$optUnits[$optUnit] = $optUnit;
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
$optCheckMethods = array();
|
2017-04-20 04:12:12 +08:00
|
|
|
foreach ( getEnumValues( 'Zones', 'CheckMethod' ) as $optCheckMethod ) {
|
|
|
|
$optCheckMethods[$optCheckMethod] = $optCheckMethod;
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-02-22 22:19:07 +08:00
|
|
|
$monitor = new ZM\Monitor( $mid );
|
2008-07-14 21:54:50 +08:00
|
|
|
|
|
|
|
$minX = 0;
|
2016-04-09 02:09:59 +08:00
|
|
|
$maxX = $monitor->Width()-1;
|
2008-07-14 21:54:50 +08:00
|
|
|
$minY = 0;
|
2016-04-09 02:09:59 +08:00
|
|
|
$maxY = $monitor->Height()-1;
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2017-04-20 04:12:12 +08:00
|
|
|
if ( !isset($newZone) ) {
|
2018-11-17 23:39:42 +08:00
|
|
|
if ( $zid > 0 ) {
|
|
|
|
$zone = dbFetchOne( 'SELECT * FROM Zones WHERE MonitorId = ? AND Id=?', NULL, array( $monitor->Id(), $zid ) );
|
|
|
|
} else {
|
|
|
|
$zone = array(
|
|
|
|
'Id' => 0,
|
|
|
|
'Name' => translate('New'),
|
|
|
|
'Type' => 'Active',
|
|
|
|
'MonitorId' => $monitor->Id(),
|
|
|
|
'NumCoords' => 4,
|
|
|
|
'Coords' => sprintf( "%d,%d %d,%d, %d,%d %d,%d", $minX, $minY, $maxX, $minY, $maxX, $maxY, $minX, $maxY ),
|
|
|
|
'Area' => $monitor->Width() * $monitor->Height(),
|
|
|
|
'AlarmRGB' => 0xff0000,
|
|
|
|
'CheckMethod' => 'Blobs',
|
|
|
|
'MinPixelThreshold' => '',
|
|
|
|
'MaxPixelThreshold' => '',
|
|
|
|
'MinAlarmPixels' => '',
|
|
|
|
'MaxAlarmPixels' => '',
|
|
|
|
'FilterX' => '',
|
|
|
|
'FilterY' => '',
|
|
|
|
'MinFilterPixels' => '',
|
|
|
|
'MaxFilterPixels' => '',
|
|
|
|
'MinBlobPixels' => '',
|
|
|
|
'MaxBlobPixels' => '',
|
|
|
|
'MinBlobs' => '',
|
|
|
|
'MaxBlobs' => '',
|
|
|
|
'OverloadFrames' => '',
|
|
|
|
'ExtendAlarmFrames' => '',
|
|
|
|
);
|
|
|
|
}
|
|
|
|
$zone['Points'] = coordsToPoints( $zone['Coords'] );
|
|
|
|
$zone['AreaCoords'] = preg_replace( '/\s+/', ',', $zone['Coords'] );
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2018-11-17 23:39:42 +08:00
|
|
|
$newZone = $zone;
|
2017-04-20 04:12:12 +08:00
|
|
|
} # end if new Zone
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2017-04-20 04:12:12 +08:00
|
|
|
# Ensure Zone fits within the limits of the Monitor
|
|
|
|
limitPoints( $newZone['Points'], $minX, $minY, $maxX, $maxY );
|
2008-07-14 21:54:50 +08:00
|
|
|
|
|
|
|
ksort( $newZone['Points'], SORT_NUMERIC );
|
|
|
|
|
|
|
|
$newZone['Coords'] = pointsToCoords( $newZone['Points'] );
|
|
|
|
$newZone['Area'] = getPolyArea( $newZone['Points'] );
|
2017-04-20 04:12:12 +08:00
|
|
|
$newZone['AreaCoords'] = preg_replace( '/\s+/', ',', $newZone['Coords'] );
|
2008-07-14 21:54:50 +08:00
|
|
|
$selfIntersecting = isSelfIntersecting( $newZone['Points'] );
|
|
|
|
|
|
|
|
$focusWindow = true;
|
2016-04-10 10:34:30 +08:00
|
|
|
$connkey = generateConnKey();
|
2016-04-29 22:44:46 +08:00
|
|
|
$streamSrc = '';
|
|
|
|
$streamMode = '';
|
|
|
|
# Have to do this here, because the .js.php references somethings figured out when generating the streamHTML
|
2017-03-14 02:22:33 +08:00
|
|
|
$StreamHTML = getStreamHTML( $monitor, array('scale'=>$scale) );
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2015-05-10 21:10:30 +08:00
|
|
|
xhtmlHeaders(__FILE__, translate('Zone') );
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
<body>
|
|
|
|
<div id="page">
|
|
|
|
<div id="header">
|
2016-04-09 02:09:59 +08:00
|
|
|
<h2><?php echo translate('Monitor') ?> <?php echo $monitor->Name() ?> - <?php echo translate('Zone') ?> <?php echo $newZone['Name'] ?></h2>
|
2008-07-14 21:54:50 +08:00
|
|
|
</div>
|
|
|
|
<div id="content">
|
2019-02-10 13:39:19 +08:00
|
|
|
<form name="zoneForm" id="zoneForm" method="post" action="?" onkeypress="return event.keyCode != 13;">
|
2014-12-05 07:44:23 +08:00
|
|
|
<input type="hidden" name="view" value="<?php echo $view ?>"/>
|
2008-07-14 21:54:50 +08:00
|
|
|
<input type="hidden" name="action" value="zone"/>
|
2014-12-05 07:44:23 +08:00
|
|
|
<input type="hidden" name="mid" value="<?php echo $mid ?>"/>
|
|
|
|
<input type="hidden" name="zid" value="<?php echo $zid ?>"/>
|
|
|
|
<input type="hidden" name="newZone[NumCoords]" value="<?php echo count($newZone['Points']) ?>"/>
|
|
|
|
<input type="hidden" name="newZone[Coords]" value="<?php echo $newZone['Coords'] ?>"/>
|
|
|
|
<input type="hidden" name="newZone[Area]" value="<?php echo $newZone['Area'] ?>"/>
|
2008-07-14 21:54:50 +08:00
|
|
|
<input type="hidden" name="newZone[AlarmRGB]" value=""/>
|
|
|
|
<div id="settingsPanel">
|
|
|
|
<table id="zoneSettings" cellspacing="0">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('Name') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><input type="text" name="newZone[Name]" value="<?php echo $newZone['Name'] ?>" size="12"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('Type') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><?php echo buildSelect( "newZone[Type]", $optTypes, 'applyZoneType()' ) ?></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('Preset') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><?php echo buildSelect( "presetSelector", $presetNames, array( "onchange"=>"applyPreset()", "onblur"=>"this.selectedIndex=0" ) ) ?></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('Units') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><?php echo buildSelect( "newZone[Units]", $optUnits, 'applyZoneUnits()' ) ?></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneAlarmColour') ?></th>
|
2017-04-06 04:10:06 +08:00
|
|
|
<td colspan="2">
|
|
|
|
<input type="text" name="newAlarmRgbR" value="<?php echo ($newZone['AlarmRGB']>>16)&0xff ?>" size="3" onchange="limitRange( this, 0, 255 )"/>
|
|
|
|
/
|
|
|
|
<input type="text" name="newAlarmRgbG" value="<?php echo ($newZone['AlarmRGB']>>8)&0xff ?>" size="3" onchange="limitRange( this, 0, 255 )"/>
|
|
|
|
/
|
|
|
|
<input type="text" name="newAlarmRgbB" value="<?php echo $newZone['AlarmRGB']&0xff ?>" size="3" onchange="limitRange( this, 0, 255 )"/>
|
|
|
|
</td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('CheckMethod') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><?php echo buildSelect( "newZone[CheckMethod]", $optCheckMethods, 'applyCheckMethod()' ) ?></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneMinMaxPixelThres') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[MinPixelThreshold]" value="<?php echo $newZone['MinPixelThreshold'] ?>" size="4" onchange="limitRange( this, 0, 255 )"/></td>
|
|
|
|
<td><input type="text" name="newZone[MaxPixelThreshold]" value="<?php echo $newZone['MaxPixelThreshold'] ?>" size="4" onchange="limitRange( this, 0, 255 )"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneFilterSize') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[FilterX]" value="<?php echo $newZone['FilterX'] ?>" size="4" onchange="limitFilter( this )"/></td>
|
|
|
|
<td><input type="text" name="newZone[FilterY]" value="<?php echo $newZone['FilterY'] ?>" size="4" onchange="limitFilter( this )"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneArea') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><input type="text" name="newZone[TempArea]" value="<?php echo $newZone['Area'] ?>" size="7" disabled="disabled"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneMinMaxAlarmArea') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[MinAlarmPixels]" value="<?php echo $newZone['MinAlarmPixels'] ?>" size="6" onchange="limitArea(this)"/></td>
|
|
|
|
<td><input type="text" name="newZone[MaxAlarmPixels]" value="<?php echo $newZone['MaxAlarmPixels'] ?>" size="6" onchange="limitArea(this)"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneMinMaxFiltArea') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[MinFilterPixels]" value="<?php echo $newZone['MinFilterPixels'] ?>" size="6" onchange="limitArea(this)"/></td>
|
|
|
|
<td><input type="text" name="newZone[MaxFilterPixels]" value="<?php echo $newZone['MaxFilterPixels'] ?>" size="6" onchange="limitArea(this)"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneMinMaxBlobArea') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[MinBlobPixels]" value="<?php echo $newZone['MinBlobPixels'] ?>" size="6"/></td>
|
|
|
|
<td><input type="text" name="newZone[MaxBlobPixels]" value="<?php echo $newZone['MaxBlobPixels'] ?>" size="6"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneMinMaxBlobs') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><input type="text" name="newZone[MinBlobs]" value="<?php echo $newZone['MinBlobs'] ?>" size="4"/></td>
|
|
|
|
<td><input type="text" name="newZone[MaxBlobs]" value="<?php echo $newZone['MaxBlobs'] ?>" size="4"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneOverloadFrames') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><input type="text" name="newZone[OverloadFrames]" value="<?php echo $newZone['OverloadFrames'] ?>" size="4"/></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
2014-03-10 00:05:39 +08:00
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th scope="row"><?php echo translate('ZoneExtendAlarmFrames') ?></th>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td colspan="2"><input type="text" name="newZone[ExtendAlarmFrames]" value="<?php echo $newZone['ExtendAlarmFrames'] ?>" size="4"/></td>
|
2014-03-10 00:05:39 +08:00
|
|
|
</tr>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="definitionPanel">
|
|
|
|
<div id="imagePanel">
|
2016-05-25 03:50:22 +08:00
|
|
|
<div id="imageFrame" style="position: relative; width: <?php echo reScale( $monitor->Width(), $scale ) ?>px; height: <?php echo reScale( $monitor->Height(), $scale ) ?>px;">
|
|
|
|
<?php echo $StreamHTML; ?>
|
|
|
|
<svg id="zoneSVG" class="zones" style="position: absolute; top: 0; left: 0; width: <?php echo reScale( $monitor->Width(), $scale ) ?>px; height: <?php echo reScale( $monitor->Height(), $scale ) ?>px; background: none;">
|
2016-08-03 00:02:07 +08:00
|
|
|
<?php
|
|
|
|
if ( $zone['Id'] ) {
|
|
|
|
$other_zones = dbFetchAll( 'SELECT * FROM Zones WHERE MonitorId = ? AND Id != ?', NULL, array( $monitor->Id(), $zone['Id'] ) );
|
|
|
|
} else {
|
|
|
|
$other_zones = dbFetchAll( 'SELECT * FROM Zones WHERE MonitorId = ?', NULL, array( $monitor->Id() ) );
|
|
|
|
}
|
|
|
|
if ( count( $other_zones ) ) {
|
|
|
|
$html = '';
|
|
|
|
foreach( $other_zones as $other_zone ) {
|
|
|
|
$other_zone['AreaCoords'] = preg_replace( '/\s+/', ',', $other_zone['Coords'] );
|
|
|
|
$html .= '<polygon id="zonePoly'.$other_zone['Id'].'" points="'. $other_zone['AreaCoords'] .'" class="'. $other_zone['Type'] .'"/>';
|
|
|
|
}
|
|
|
|
echo $html;
|
|
|
|
}
|
|
|
|
?>
|
2016-08-03 00:19:55 +08:00
|
|
|
<polygon id="zonePoly" points="<?php echo $zone['AreaCoords'] ?>" class="Editing <?php echo $zone['Type'] ?>"/>
|
2016-04-09 00:36:09 +08:00
|
|
|
Sorry, your browser does not support inline SVG
|
|
|
|
</svg>
|
2008-07-14 21:54:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-10 10:34:30 +08:00
|
|
|
<div id="monitorState"><?php echo translate('State') ?>: <span id="stateValue"></span> - <span id="fpsValue"></span> fps</div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<table id="zonePoints" cellspacing="0">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<?php
|
|
|
|
$pointCols = 2;
|
|
|
|
for ( $i = 0; $i < $pointCols; $i++ )
|
|
|
|
{
|
|
|
|
?>
|
|
|
|
<td>
|
|
|
|
<table cellspacing="0">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2015-05-10 21:10:30 +08:00
|
|
|
<th><?php echo translate('Point') ?></th>
|
|
|
|
<th><?php echo translate('X') ?></th>
|
|
|
|
<th><?php echo translate('Y') ?></th>
|
|
|
|
<th><?php echo translate('Action') ?></th>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
if ( false )
|
|
|
|
for ( $j = $i; $j < count($newZone['Points']); $j += 2 )
|
|
|
|
{
|
|
|
|
?>
|
2014-12-05 07:44:23 +08:00
|
|
|
<tr id="row<?php echo $j ?>" onmouseover="highlightOn( <?php echo $j ?> )" onmouseout="highlightOff( <?php echo $j ?> )" onclick="setActivePoint( <?php echo $j ?> )">
|
|
|
|
<td><?php echo $j+1 ?></td>
|
2016-06-13 21:40:04 +08:00
|
|
|
<td><input name="newZone[Points][<?php echo $j ?>][x]" id="newZone[Points][<?php echo $j ?>][x]" size="5" value="<?php echo $newZone['Points'][$j]['x'] ?>" oninput="updateX( this, <?php echo $j ?> );"<?php if ( canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/></td>
|
|
|
|
<td><input name="newZone[Points][<?php echo $j ?>][y]" id="newZone[Points][<?php echo $j ?>][y]" size="5" value="<?php echo $newZone['Points'][$j]['y'] ?>" oninput="updateY( this, <?php echo $j ?> );"<?php if ( canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/></td>
|
2014-12-05 07:44:23 +08:00
|
|
|
<td><a href="#" onclick="addPoint( this, <?php echo $j ?> ); return( false );">+</a><?php if ( count($newZone['Points']) > 3 ) { ?> <a id="delete<?php echo $j ?>" href="#" onclick="delPoint( this, <?php echo $j ?> ); return(false);">–</a><?php } ?> <a id="cancel<?php echo $j ?>" href="#" onclick="unsetActivePoint( <?php echo $j ?> ); return( false );">X</a></td>
|
2008-07-14 21:54:50 +08:00
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
<?php
|
|
|
|
if ( $i < ($pointCols-1) )
|
|
|
|
{
|
|
|
|
?>
|
|
|
|
<td> </td>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-01-16 22:59:58 +08:00
|
|
|
<input id="pauseBtn" type="button" value="<?php echo translate('Pause') ?>" data-on-click="streamCmdPauseToggle"/>
|
2017-10-04 22:48:37 +08:00
|
|
|
<input type="submit" id="submitBtn" name="submitBtn" value="<?php echo translate('Save') ?>" onclick="return saveChanges( this )"<?php if (!canEdit( 'Monitors' ) || (false && $selfIntersecting)) { ?> disabled="disabled"<?php } ?>/>
|
|
|
|
<input type="button" value="<?php echo translate('Cancel') ?>" onclick="refreshParentWindow(); closeWindow();"/>
|
2008-07-14 21:54:50 +08:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|