This commit is contained in:
Isaac Connor 2021-11-10 14:25:45 -05:00
parent 795c5bb7d7
commit 8872b8be63
1 changed files with 33 additions and 34 deletions

View File

@ -80,11 +80,10 @@ xhtmlHeaders(__FILE__, translate('Zones'));
<?php echo getStreamHTML($monitor, $options); ?>
<svg class="zones" viewBox="0 0 <?php echo $monitor->ViewWidth().' '.$monitor->ViewHeight() ?>">
<?php
foreach( array_reverse($zones) as $zone ) {
foreach (array_reverse($zones) as $zone) {
?>
<polygon points="<?php echo $zone['AreaCoords'] ?>"
class="zmlink <?php echo $zone['Type']?>"
data-on-click-true="streamCmdQuit"
data-url="?view=zone&amp;mid=<?php echo $mid ?>&amp;zid=<?php echo $zone['Id'] ?>"
/>
<?php
@ -126,7 +125,7 @@ xhtmlHeaders(__FILE__, translate('Zones'));
<button type="submit" name="deleteBtn" value="Delete" disabled="disabled"><?php echo translate('Delete') ?></button>
</div>
</div><!--zones-->
<br class="clear"/>
<br class="clear"/>
</div><!--Monitor-->
<?php
} # end foreach monitor