alecpl
2008-09-19 ea373f65738ff730a6e91f15bfa7cc076e524d3c
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;