$mids)); xhtmlHeaders(__FILE__, translate('Zones')); ?>
ViewWidth()-1; $minY = 0; $maxY = $monitor->ViewHeight()-1; $zones = array(); foreach ( dbFetchAll('SELECT * FROM Zones WHERE MonitorId=? ORDER BY Area DESC', NULL, array($mid)) as $row ) { $row['Points'] = coordsToPoints($row['Coords']); limitPoints($row['Points'], $minX, $minY, $maxX, $maxY); $row['Coords'] = pointsToCoords($row['Points']); $row['AreaCoords'] = preg_replace('/\s+/', ',', $row['Coords']); $zones[] = $row; } $connkey = generateConnKey(); $options = array('width'=>'100%', 'height'=>'auto'); ?>
Sorry, your browser does not support inline SVG
ViewWidth(), $monitor->ViewHeight()), validHtmlStr($zone['Name']), true, 'data-on-click-true="streamCmdQuit"'); ?>  / ViewWidth()*$monitor->ViewHeight()) ) ?> disabled="disabled"/>
ViewWidth(), $monitor->ViewHeight()), translate('AddNewZone'), canEdit('Monitors')); ?>