alecpl
2008-10-07 a22cb65adbde7e7b101d2c950b617eaec6f5c790
bin/quotaimg.php
@@ -159,7 +159,7 @@
      }
      $quota_width = $quota / 100 * $width;
      imagefilledrectangle($im, $border, 0, $quota, $height-2*$border, $fill);
      imagefilledrectangle($im, $border, 0, $quota_width, $height-2*$border, $fill);
      $string = $quota . '%';
      $mid    = floor(($width-(strlen($string)*imagefontwidth($font)))/2)+1;