Code

Removed quota message (It also pops up if quota wasn't defined yet)
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Jul 2006 04:43:59 +0000 (04:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Jul 2006 04:43:59 +0000 (04:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4242 594d385d-05f5-0310-b6e9-bd551577e9d8

include/smarty/plugins/block.render.php
plugins/admin/groups/class_groupMail.inc
plugins/personal/mail/class_mailAccount.inc

index 831009fda1921b1a682ff363cb8c8dd14f841a1d..efd183ffddb1a7493580b55e4edd9fbb1f6419be 100755 (executable)
@@ -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 */
index 233f112036d3fc267ecd88ac6822f4afa26bc519..18bff510000933ee02b831c237dc45fdb9fd8702 100644 (file)
@@ -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])){
index ecda1e744bae965f294dbe888bdc307a167f9ebb..c901295d85f1298f22cbe73dbb47b14e7479f5f3 100644 (file)
@@ -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 ..*/