Changeset 3854
- Timestamp:
- 03/10/11 11:14:29 (12 years ago)
- Location:
- branches/2.2/expressoMail1_2
- Files:
-
- 4 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)){ -
branches/2.2/expressoMail1_2/js/InfoQuota.js
r3157 r3854 81 81 } 82 82 var content = ''; 83 var q_limit = data.quota_root.quota_limit;83 var q_limit = borkb(data.quota_root.quota_limit*1024); 84 84 85 85 var value = ''; … … 134 134 for(var x in data) { 135 135 if(x == 'quota_root') continue; 136 q_used = data[x]['quota_used'];136 q_used = borkb(data[x]['quota_used']); 137 137 value = data[x]['quota_percent']; 138 138 td01 = document.createElement("TD"); … … 199 199 th_tfoot.style.paddingRight = '5px'; 200 200 th_tfoot.style.paddingLeft = '5px'; 201 th_tfoot.innerHTML = get_lang("You are currently using %1 Mb (%2%).",data.quota_root.quota_used, data.quota_root.quota_percent);201 th_tfoot.innerHTML = get_lang("You are currently using %1 (%2%).",borkb(data.quota_root.quota_used*1024), data.quota_root.quota_percent); 202 202 tr_tfoot.appendChild(th_tfoot); 203 203 return table; -
branches/2.2/expressoMail1_2/setup/phpgw_es-es.lang
r3828 r3854 1 1 % used expressoMail1_2 es-es % utilizado 2 2 View Quota Usage in Folders expressoMail1_2 es-es Visualizar cuota utilizada por cada carpeta 3 You are currently using %1 Mb (%2%). expressoMail1_2 es-es Usted está usando actualmente %1Mb(%2%).3 You are currently using %1 (%2%). expressoMail1_2 es-es Usted está usando actualmente %1 (%2%). 4 4 News expressoMail1_2 es-es Noticias 5 5 1 Day expressoMail1_2 es-es 1 Día -
branches/2.2/expressoMail1_2/setup/phpgw_pt-br.lang
r3847 r3854 1 1 % used expressoMail1_2 pt-br % utilizado 2 2 View Quota Usage in Folders expressoMail1_2 pt-br Visualizar quota utilizada por cada pasta 3 You are currently using %1 Mb (%2%). expressoMail1_2 pt-br Você está usando atualmente %1Mb(%2%).3 You are currently using %1 (%2%). expressoMail1_2 pt-br Você está usando atualmente %1 (%2%). 4 4 News expressoMail1_2 pt-br Notícias 5 5 1 Day expressoMail1_2 pt-br 1 Dia
Note: See TracChangeset
for help on using the changeset viewer.