Browse Source

miner.php highlight any device that isn't 'Enabled'

Kano 14 years ago
parent
commit
d5323b7c0c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      miner.php

+ 5 - 1
miner.php

@@ -310,7 +310,11 @@ function fmt($section, $name, $value)
 	if ($value != 'Alive')
 	if ($value != 'Alive')
 		$class = $errorclass;
 		$class = $errorclass;
 	break;
 	break;
-
+ case 'GPU.Enabled':
+ case 'PGA.Enabled':
+	if ($value != 'Y')
+		$class = $warnclass;
+	break;
  }
  }
 
 
  if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')
  if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')