alecpl
2009-04-22 b659c3e2424a5602808cf3d48f4044a3975c9dd2
bin/quotaimg.php
@@ -172,7 +172,8 @@
      }
      $quota_width = $quota / 100 * $width;
      imagefilledrectangle($im, $border, 0, $quota_width, $height-2*$border, $fill);
      if ($quota_width)
         imagefilledrectangle($im, $border, 0, $quota_width, $height-2*$border, $fill);
      $string = $quota . '%';
      $mid    = floor(($width-(strlen($string)*imagefontwidth($font)))/2)+1;