summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2e34a0)
raw | patch | inline | side by side (parent: a2e34a0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Dec 2008 12:54:31 +0000 (12:54 +0000) | ||
committer | hickert <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 | patch | blob | history | |
gosa-plugins/mail/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc
index ad049adba3981b2f58066f1685b77a930f11622a..2dac9998cf51768cdb80216c22922b434bf71aed 100644 (file)
}elseif(empty($quota)){
return(" "._("Unlimited"));
}else{
- $usage =(int) ($use/$quota) * 100;
+ $usage =round(($use/$quota) * 100);
return("<img src='progress.php?x=100&y=17&p=$usage'>");
}
}
diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc
index 27139dbd6b605adee649753731f9bca401c7e32d..958770a5858e2d904bb6565a0861d383c75e7c49 100644 (file)
$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;