# | Line 70 | Line 70 | function showBar($title, $value, $max, $units, $input, | |
---|---|---|
70 | return; | |
71 | } | |
72 | ||
73 | – | $width = intval($max_width * $value / $max); |
74 | – | |
73 | if ($arrange == 'swap') { | |
74 | < | $width = $max_width - $width; |
74 | > | $value = $max - $value; |
75 | } | |
76 | + | |
77 | + | $width = intval($max_width * $value / $max); |
78 | ||
79 | ?> | |
80 | <table border="0" cellpadding="0" cellspacing="0" align="center"> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |