From d5323b7c0c029da8bda60452dbe076d17f3061a4 Mon Sep 17 00:00:00 2001 From: Kano Date: Wed, 18 Apr 2012 21:01:42 +1000 Subject: [PATCH] miner.php highlight any device that isn't 'Enabled' --- miner.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/miner.php b/miner.php index c5a2e007..167e9767 100644 --- a/miner.php +++ b/miner.php @@ -310,7 +310,11 @@ function fmt($section, $name, $value) if ($value != 'Alive') $class = $errorclass; break; - + case 'GPU.Enabled': + case 'PGA.Enabled': + if ($value != 'Y') + $class = $warnclass; + break; } if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')