Browse Source

miner.php highlight any Status that isn't 'Alive'

nfactor-troky
Kano 13 years ago
parent
commit
39eeca263e
  1. 7
      miner.php

7
miner.php

@ -304,6 +304,13 @@ function fmt($section, $name, $value) @@ -304,6 +304,13 @@ function fmt($section, $name, $value)
$dec = '.'.$parts[1];
$ret = number_format($parts[0]).$dec;
break;
case 'GPU.Status':
case 'PGA.Status':
case 'POOL.Status':
if ($value != 'Alive')
$class = $errorclass;
break;
}
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')

Loading…
Cancel
Save