Changeset 1264 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 08/04/09 10:52:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1248 r1264 60 60 // This error is returned from Postfix. 61 61 elseif(strstr($error,'message file too big')) { 62 return str_replace("%1",$_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] ."M",$this->functions->getLang('The size of this message has exceeded the limit (%1B).'));62 return str_replace("%1",$_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'],$this->functions->getLang('The size of this message has exceeded the limit (%1B).')); 63 63 } 64 64 elseif(strstr($error,'virus')) { … … 1818 1818 { 1819 1819 $total_uploaded_size = 0; 1820 $upload_max_filesize = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'];1820 $upload_max_filesize = str_replace("M","",$_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size']) * 1024 * 1024; 1821 1821 foreach ($attachments as $attach) 1822 1822 {
Note: See TracChangeset
for help on using the changeset viewer.