diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php
index 8f1c34ae4..001d56e2d 100644
--- a/web/skins/classic/views/console.php
+++ b/web/skins/classic/views/console.php
@@ -302,7 +302,7 @@ foreach( $displayMonitors as $monitor )
$scale = max( reScale( SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE );
?>
= makePopupLink( '?view=watch&mid='.$monitor['Id'], 'zmWatch'.$monitor['Id'], array( 'watch', reScale( $monitor['Width'], $scale ), reScale( $monitor['Height'], $scale ) ), $monitor['Name'], $running && ($monitor['Function'] != 'None') && canView( 'Stream' ) ) ?> |
- = makePopupLink( '?view=function&mid='.$monitor['Id'], 'zmFunction', 'function', ''.$SLANG['Fn'.$monitor['Function']].'', canEdit( 'Monitors' ) ) ?> |
+ = makePopupLink( '?view=function&mid='.$monitor['Id'], 'zmFunction', 'function', ''.$SLANG['Fn'.$monitor['Function']].( empty($monitor['Enabled']) ? ', disabled' : '' ) .'', canEdit( 'Monitors' ) ) ?> |
= makePopupLink( '?view=monitor&mid='.$monitor['Id'], 'zmMonitor'.$monitor['Id'], 'monitor', ''.$monitor['Device'].' ('.$monitor['Channel'].')', canEdit( 'Monitors' ) ) ?> |
diff --git a/web/skins/flat/views/console.php b/web/skins/flat/views/console.php
index 29aca44f9..27228444d 100644
--- a/web/skins/flat/views/console.php
+++ b/web/skins/flat/views/console.php
@@ -302,7 +302,7 @@ foreach( $displayMonitors as $monitor )
$scale = max( reScale( SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE );
?>
= makePopupLink( '?view=watch&mid='.$monitor['Id'], 'zmWatch'.$monitor['Id'], array( 'watch', reScale( $monitor['Width'], $scale ), reScale( $monitor['Height'], $scale ) ), $monitor['Name'], $running && ($monitor['Function'] != 'None') && canView( 'Stream' ) ) ?> |
- = makePopupLink( '?view=function&mid='.$monitor['Id'], 'zmFunction', 'function', ''.$monitor['Function'].'', canEdit( 'Monitors' ) ) ?> |
+ = makePopupLink( '?view=function&mid='.$monitor['Id'], 'zmFunction', 'function', ''.$monitor['Function'].( empty($monitor['Enabled']) ? ', disabled' : '' ).'', canEdit( 'Monitors' ) ) ?> |
= makePopupLink( '?view=monitor&mid='.$monitor['Id'], 'zmMonitor'.$monitor['Id'], 'monitor', ''.$monitor['Device'].' ('.$monitor['Channel'].')', canEdit( 'Monitors' ) ) ?> |