better display of bandwidth over-quota
This commit is contained in:
parent
910146365e
commit
a248eee925
|
@ -47,10 +47,16 @@ if (!is_array($q)) {
|
|||
$col=3-$col;
|
||||
echo "<tr class=\"lst$col\">";
|
||||
echo "<td>";
|
||||
if ($q[$key]["u"]==$q[$key]["t"]) echo "<font class=\"over\">";
|
||||
if ($q[$key]["u"] >= $q[$key]["t"]) echo "<font class=\"over\">";
|
||||
echo _($val);
|
||||
if ($q[$key]["u"]==$q[$key]["t"]) echo "</font>";
|
||||
if ($q[$key]["u"] >= $q[$key]["t"]) echo "</font>";
|
||||
|
||||
if ($val == 'quota_bw_web') {
|
||||
echo " </td><td align=\"center\">". format_size($q[$key]["u"]) ." </td><td align=\"center\">". format_size($q[$key]["t"]) ." </td>";
|
||||
} else {
|
||||
echo " </td><td align=\"center\">".$q[$key]["u"]." </td><td align=\"center\">".$q[$key]["t"]." </td>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
|
|
Loading…
Reference in New Issue