make zones unclickable when zm is not running

This commit is contained in:
Andrew Bauer 2016-05-26 09:35:36 -05:00
parent a8e407172a
commit 730abc9789
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ echo $Server->Name();
<?php
}
?>
<td class="colZones"><?php echo makePopupLink( '?view=zones&amp;mid='.$monitor['Id'], 'zmZones', array( 'zones', $monitor['Width'], $monitor['Height'] ), $monitor['ZoneCount'], canView( 'Monitors' ) ) ?></td>
<td class="colZones"><?php echo makePopupLink( '?view=zones&amp;mid='.$monitor['Id'], 'zmZones', array( 'zones', $monitor['Width'], $monitor['Height'] ), $monitor['ZoneCount'], $running && canView( 'Monitors' ) ) ?></td>
<?php
if ( canEdit('Monitors') )
{