From c242a2a4abbf1e575421165a421f06fad6b79789 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Jul 2006 04:43:59 +0000 Subject: [PATCH] Removed quota message (It also pops up if quota wasn't defined yet) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4242 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/smarty/plugins/block.render.php | 2 +- plugins/admin/groups/class_groupMail.inc | 2 +- plugins/personal/mail/class_mailAccount.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/smarty/plugins/block.render.php b/include/smarty/plugins/block.render.php index 831009fda..efd183ffd 100755 --- a/include/smarty/plugins/block.render.php +++ b/include/smarty/plugins/block.render.php @@ -26,7 +26,7 @@ function smarty_block_render($params, $text, &$smarty) /* Disable objects, but keep those active that have mode=read_active */ if(!(isset($params['mode']) && $params['mode']=='readable')){ $from = array("/name=/i"); - $to = array("disabled name="); + $to = array(" disabled name="); $text = preg_replace($from,$to,$text); /* Replace picture if object is disabled */ diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index 233f11203..18bff5100 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -170,7 +170,7 @@ class mailgroup extends plugin }else{ $this->quotaUsage = ""; $this->gosaMailQuota = ""; - print_red(sprintf(_("Can't get quota information for '%s'."),$this->uid)); +// print_red(sprintf(_("Can't get quota information for '%s'."),$this->uid)); } $method->disconnect(); } // ENDE $method->connect($this->attrs["gosaMailServer"][0])){ diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index ecda1e744..c901295d8 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -148,7 +148,7 @@ class mailAccount extends plugin }else{ $this->quotaUsage = ""; $this->gosaMailQuota = ""; - print_red(sprintf(_("Can't get quota information for '%s'."),$this->folder_prefix.$this->$id)); +// print_red(sprintf(_("Can't get quota information for '%s'."),$this->folder_prefix.$this->$id)); } /* Get mailboxes / folder like INBOX ..*/ -- 2.30.2