alecpl
2008-09-12 6cd00992a2c7de38e0ff7df152fba8ea89012dce
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;