From 6649b1f0a5db6160d197a13ca79cfd67fbb02d77 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Sat, 23 Sep 2006 19:37:29 -0400 Subject: [PATCH] added TinyMCE spellchecker plugin, configured to use GoogleSpell --- program/steps/mail/compose.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 0b09065..5077d5c 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -410,7 +410,7 @@ $OUTPUT->include_script('tiny_mce/tiny_mce.js'); $OUTPUT->include_script("editor.js"); - $OUTPUT->add_script('rcmail_editor_init($__skin_path);'); + $OUTPUT->add_script('rcmail_editor_init("$__skin_path");'); $out = $form_start ? "$form_start\n" : ''; @@ -543,10 +543,10 @@ "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">From: </th><td>%s</td></tr>" . "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">To: </th><td>%s</td></tr>" . "</tbody></table><br>", - $MESSAGE['subject'], - $MESSAGE['headers']->date, - $IMAP->decode_header($MESSAGE['headers']->from), - $IMAP->decode_header($MESSAGE['headers']->to)); + rep_specialchars_output($MESSAGE['subject']), + rep_specialchars_output($MESSAGE['headers']->date), + rep_specialchars_output($IMAP->decode_header($MESSAGE['headers']->from)), + rep_specialchars_output($IMAP->decode_header($MESSAGE['headers']->to))); } // add attachments -- Gitblit v1.9.1