diff --git a/bureau/admin/menu.php b/bureau/admin/menu.php index c5b5a9a9..6ff5966f 100644 --- a/bureau/admin/menu.php +++ b/bureau/admin/menu.php @@ -77,11 +77,10 @@ foreach ($obj_menu as $k => $m ) { foreach( $m['links'] as $l ) { if ( $l['txt'] == 'progressbar' ) { $usage_percent = (int) ($l['used'] / $l['total'] * 100); - $usage_color = ( $l['used'] > $l['total'] ? '#800' : '#080'); - $usage_color = ((85 < $usage_percent && $usage_percent <= 100) ? '#ff8800' : $usage_color); // yellow echo "
@@ -101,6 +102,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set |
---|
"; ?> -
@@ -138,7 +140,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set } elseif (isset($mode) &&$mode==1) { echo sprintf("%.1f", $pc)." %"; } else { - $quota->quota_displaybar(2*$pc); + $quota->quota_displaybar(2*$pc, 0); } echo " |
---|