| # | Line 61 | Line 61 | function showStat($title, $value, $input) { | |
|---|---|---|
| 61 | ||
| 62 | ||
| 63 | # show a bar-represented value. | |
| 64 | < | function showBar($title, $value, $max, $input) { |
| 64 | > | function showBar($title, $value, $max, $units, $input) { |
| 65 | ||
| 66 | include("latest_config.inc.php"); | |
| 67 | ||
| # | Line 89 | Line 89 | function showBar($title, $value, $max, $input) { | |
| 89 | <td colspan="2"><img src="<?=$scaleImage?>" border="0" height="11" width="<?=$max_width?>"></td> | |
| 90 | </tr> | |
| 91 | <tr> | |
| 92 | < | <td align="left">0</td> |
| 93 | < | <td align="right"><?=$max?></td> |
| 92 | > | <td align="left">0<?=$units?></td> |
| 93 | > | <td align="right"><?=$max?><?=$units?></td> |
| 94 | </tr> | |
| 95 | </table> | |
| 96 | <? | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |