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 ); ?> - '.$SLANG['Fn'.$monitor['Function']].'', canEdit( 'Monitors' ) ) ?> + '.$SLANG['Fn'.$monitor['Function']].( empty($monitor['Enabled']) ? ', disabled' : '' ) .'', canEdit( 'Monitors' ) ) ?> '.$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 ); ?> - '.$monitor['Function'].'', canEdit( 'Monitors' ) ) ?> + '.$monitor['Function'].( empty($monitor['Enabled']) ? ', disabled' : '' ).'', canEdit( 'Monitors' ) ) ?> '.$monitor['Device'].' ('.$monitor['Channel'].')', canEdit( 'Monitors' ) ) ?>