Changeset 4816 in subversion
- Timestamp:
- May 30, 2011 12:19:51 PM (2 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 9 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
program/localization/en_US/messages.inc (modified) (1 diff)
-
program/localization/pl_PL/labels.inc (modified) (1 diff)
-
program/localization/pl_PL/messages.inc (modified) (1 diff)
-
program/steps/mail/sendmail.inc (modified) (2 diffs)
-
program/steps/settings/func.inc (modified) (1 diff)
-
program/steps/settings/save_prefs.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r4812 r4816 2 2 =========================== 3 3 4 - Added option to force spellchecking before sending a message (#1485458) 4 5 - Fix handling of "<" character in contact data, search fields and folder names (#1487864) 5 6 - Fix saving "<" character in identity name and organization fields (#1487864) -
trunk/roundcubemail/config/main.inc.php.dist
r4811 r4816 704 704 $rcmail_config['default_addressbook'] = null; 705 705 706 // Enables spell checking before sending a message. 707 $rcmail_config['spellcheck_before_send'] = false; 708 706 709 // end of config file -
trunk/roundcubemail/program/localization/en_US/labels.inc
r4811 r4816 414 414 $labels['replysamefolder'] = 'Place replies in the folder of the message being replied to'; 415 415 $labels['defaultaddressbook'] = 'Add new contacts to the selected addressbook'; 416 $labels['spellcheckbeforesend'] = 'Check spelling before sending a message'; 416 417 417 418 $labels['folder'] = 'Folder'; -
trunk/roundcubemail/program/localization/en_US/messages.inc
r4724 r4816 142 142 $messages['foldercreated'] = 'Folder created successfully'; 143 143 $messages['invalidimageformat'] = 'Not a valid image format'; 144 $messages['mispellingsfound'] = 'Spelling errors detected in the message'; 144 145 145 146 ?> -
trunk/roundcubemail/program/localization/pl_PL/labels.inc
r4811 r4816 458 458 $labels['defaultaddressbook'] = 'Nowe kontakty dodawaj do wybranej ksiÄ 459 459 ÅŒki adresowej'; 460 $labels['spellcheckbeforesend'] = 'Przed wysÅaniem wiadomoÅci sprawdzaj pisowniÄ'; 460 461 461 462 ?> -
trunk/roundcubemail/program/localization/pl_PL/messages.inc
r4724 r4816 193 193 cych wpisów</b>'; 194 194 $messages['invalidimageformat'] = 'Niepoprawny format obrazka'; 195 $messages['mispellingsfound'] = 'Wykryto bÅÄdy pisowni w tej wiadomoÅci'; 195 196 196 197 ?> -
trunk/roundcubemail/program/steps/mail/sendmail.inc
r4604 r4816 410 410 } 411 411 412 // Check spelling before send 413 if ($CONFIG['spellcheck_before_send'] && $CONFIG['enable_spellcheck'] 414 && empty($_SESSION['compose']['spell_checked']) 415 ) { 416 $spellchecker = new rcube_spellchecker(); 417 $spell_result = $spellchecker->check($message_body, $isHtml); 418 419 $_SESSION['compose']['spell_checked'] = true; 420 421 if (!$spell_result) { 422 $OUTPUT->show_message('mispellingsfound', 'error'); 423 $OUTPUT->command('command', 'spellcheck'); 424 $OUTPUT->send('iframe'); 425 } 426 } 427 412 428 // generic footer for all messages 413 429 if ($isHtml && !empty($CONFIG['generic_message_footer_html'])) { … … 421 437 $footer = '<pre>'.$footer.'</pre>'; 422 438 } 439 423 440 if ($footer) 424 441 $message_body .= "\r\n" . $footer; -
trunk/roundcubemail/program/steps/settings/func.inc
r4811 r4816 546 546 } 547 547 548 if (!isset($no_override['spellcheck_before_send']) && $config['enable_spellcheck']) { 549 $field_id = 'rcmfd_spellcheck_before_send'; 550 $input_spellcheck = new html_checkbox(array('name' => '_spellcheck_before_send', 'id' => $field_id, 'value' => 1)); 551 552 $blocks['main']['options']['spellcheck_before_send'] = array( 553 'title' => html::label($field_id, Q(rcube_label('spellcheckbeforesend'))), 554 'content' => $input_spellcheck->show($config['spellcheck_before_send']?1:0), 555 ); 556 } 557 548 558 if (!isset($no_override['show_sig'])) { 549 559 $field_id = 'rcmfd_show_sig'; -
trunk/roundcubemail/program/steps/settings/save_prefs.inc
r4813 r4816 71 71 'dsn_default' => isset($_POST['_dsn_default']) ? TRUE : FALSE, 72 72 'reply_same_folder' => isset($_POST['_reply_same_folder']) ? TRUE : FALSE, 73 'spellcheck_before_send' => isset($_POST['_spellcheck_before_send']) ? TRUE : FALSE, 73 74 'show_sig' => isset($_POST['_show_sig']) ? intval($_POST['_show_sig']) : 1, 74 75 'top_posting' => !empty($_POST['_top_posting']),
Note: See TracChangeset
for help on using the changeset viewer.
