Code

Updated mailMethod.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Dec 2008 12:54:31 +0000 (12:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Dec 2008 12:54:31 +0000 (12:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13259 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/personal/mail/class_mail-methods.inc
gosa-plugins/mail/personal/mail/class_mailAccount.inc

index ad049adba3981b2f58066f1685b77a930f11622a..2dac9998cf51768cdb80216c22922b434bf71aed 100644 (file)
@@ -735,7 +735,7 @@ class mailMethod{
     }elseif(empty($quota)){
       return("&nbsp;&nbsp;"._("Unlimited"));
     }else{
-      $usage =(int) ($use/$quota) * 100;
+      $usage =round(($use/$quota) * 100);
       return("<img src='progress.php?x=100&amp;y=17&amp;p=$usage'>");
     }
   }
index 27139dbd6b605adee649753731f9bca401c7e32d..958770a5858e2d904bb6565a0861d383c75e7c49 100644 (file)
@@ -406,8 +406,6 @@ class mailAccount extends plugin
     $smarty->assign("allowSieveManagement", $this->mailMethod->allowSieveManagement());
     $smarty->assign("own_script",  $this->sieveManagementUsed);
 
-    print_a($this->multi_boxes);
-
     /* _Multiple users vars_ */
     foreach($this->attributes as $attr){
       $u_attr = "use_".$attr;