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(); xhtmlHeaders(__FILE__, translate('Zones')); ?>
Sorry, your browser does not support inline SVG
ViewWidth(), $monitor->ViewHeight()), validHtmlStr($zone['Name']), true, 'onclick="streamCmdQuit(true); return false;"'); ?>  / ViewWidth()*$monitor->ViewHeight()) ) ?> disabled="disabled"/>
ViewWidth(), $monitor->ViewHeight()), translate('AddNewZone'), canEdit('Monitors')); ?>