- Timestamp:
- 03/10/11 11:14:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3843 r3854 3997 3997 $line2 = str_replace(" /vendor/cmu/cyrus-imapd/size (value.shared ",";",str_replace("* ANNOTATION ","",$line2)); 3998 3998 list($folder,$size) = explode(";",$line2); 3999 $size = str_replace(")","",$size); 4000 $quotaPercent = (($size / 1048576) / $data["quota_root"]["quota_limit"])*100; 4001 if ($size < 1048576 && $size > 1024) 4002 $quota_used = round($size / 1024, 0).' Kb'; 4003 else if($size > 1024) 4004 $quota_used = round($size / (1024*1024), 1).' Mb'; 4005 else 4006 $quota_used = $size." b"; 3999 $quota_used = str_replace(")","",$size); 4000 $quotaPercent = (($quota_used / 1024) / $data["quota_root"]["quota_limit"])*100; 4007 4001 $folder = mb_convert_encoding($folder, "ISO_8859-1", "UTF7-IMAP"); 4008 4002 if(!preg_match('/user\\'.$this->imap_delimiter.$this->username.'\\'.$this->imap_delimiter.'/i',$folder)){
Note: See TracChangeset
for help on using the changeset viewer.