put in the onclick for the zone to open the edit page

pull/1406/head
Isaac Connor 2016-04-08 14:25:19 -04:00
parent b10c6ee093
commit c73e768f1f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ xhtmlHeaders(__FILE__, translate('Zones') );
<?php
foreach( array_reverse($zones) as $zone ) {
?>
<polygon points="<?php echo $zone['AreaCoords'] ?>" class="<?php echo $zone['Type']?>" />
<polygon points="<?php echo $zone['AreaCoords'] ?>" class="<?php echo $zone['Type']?>" onclick="createPopup( '?view=zone&amp;mid=<?php echo $mid ?>&amp;zid=<?php echo $zone['Id'] ?>', 'zmZone', 'zone', <?php echo $monitor->Width ?>, <?php echo $monitor->Height ?> ); return( false );"/>
<?php
} // end foreach zone
?>