Changeset 3414
- Timestamp:
- 10/26/10 14:18:29 (13 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
r3402 r3414 934 934 && $file_type != 'attachment') 935 935 { 936 937 938 if($this->prefs['max_msg_size'] == "1") 939 $max_size = 1048576; 940 else 941 $max_size = 102400; 942 936 943 if($file_type == "text/plain" && !$show_only_html && $has_multipart) 937 944 { 938 945 // if TXT file size > 100kb, then it will not expand. 939 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) {946 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > $max_size)) { 940 947 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 941 $content = '<pre>' . $content . '</pre>';948 $content = '<pre>' . $content . '</pre>'; 942 949 } 943 950 } 944 951 // if HTML attachment file size > 300kb, then it will not expand. 945 else if($file_type == "text/html" && $msg->fsize[$msg_number][$values] < 307200)952 else if($file_type == "text/html" && $msg->fsize[$msg_number][$values] < $max_size*3) 946 953 { 947 954 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); -
branches/2.2/expressoMail1_2/inc/hook_settings.inc.php
r3400 r3414 207 207 208 208 create_select_box('What is the height of the lines in the list of messages?','line_height',$default,''); 209 create_check_box('Increases th maximum size of show messages?','max_msg_size','Increases the maximum size of show emails from 100kb to 1mb'); 209 210 create_check_box('Use dynamic contacts?','use_dynamic_contacts','Store your\'s most used contacts'); 210 211 create_check_box('Use shortcuts?','use_shortcuts','n key (Open new message)<br>ESC key (Close tab)<br>i key (print)<br>e key (forward)<br>r key (reply)<br>DELETE key (delete the current message)<br>Ctrl + up (go to previous message)<br>Ctrl + down (go to next message)<br>Shift + up or down (select multiple messages)<br>F9 key (search at catalog)<br>'); -
branches/2.2/expressoMail1_2/index.php
r3407 r3414 87 87 88 88 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] = $current_config['expressoMail_Max_attachment_size'] ? $current_config['expressoMail_Max_attachment_size']."M" : ini_get('upload_max_filesize'); 89 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] = $current_config['expressoMail_imap_max_folders']; 89 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] : "0"; 90 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] = $current_config['expressoMail_imap_max_folders']; 90 91 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_email_per_page'] : "50"; 91 92 $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['extended_info'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['extended_info']?$_SESSION['phpgw_info']['user']['preferences']['expressoMail']['extended_info'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['extended_info']:'0'; -
branches/2.2/expressoMail1_2/setup/phpgw_pt-br.lang
r3407 r3414 621 621 Do you want to use SpellChecker in email editor? expressoMail1_2 pt-br Quer usar o corretor ortográfico no editor de emails? 622 622 It allow you to check the spelling of your emails expressoMail1_2 pt-br Possiblita a correção ortográfica de emails. 623 Increases th maximum size of show messages? expressoMail1_2 pt-br Você quer que se aumente o limite de tamanho de emails que são mostrados? 624 Increases the maximum size of show emails from 100kb to 1mb' expressoMail1_2 pt-br Essa opção aumenta o tamanho máximo dos emails mostrados de 100KB para 1MB.
Note: See TracChangeset
for help on using the changeset viewer.