diff options
author | thomascube <thomas@roundcube.net> | 2006-08-20 14:41:57 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-08-20 14:41:57 +0000 |
commit | a5d3e661e46f18082821ad1731fece8cb3e72368 (patch) | |
tree | 8e6ab356962577a1d3bc39c0385a9e257732685b | |
parent | 9960666abef914905768c5f9fb43c3de846b80c2 (diff) |
Set default spelling language (Ticket #1483938)
-rw-r--r-- | CHANGELOG | 12 | ||||
-rw-r--r-- | program/steps/mail/compose.inc | 4 |
2 files changed, 15 insertions, 1 deletions
@@ -1,6 +1,18 @@ CHANGELOG RoundCube Webmail --------------------------- +2006/08/20 (thomasb) +---------- +- Set default spelling language (Ticket #1483938) +- Added support for Nox Spell Server + + +2006/08/18 (thomasb) +---------- +- Re-built message parsing (Bug #1327068) +- Fixed some XSS and SQL injection issues + + 2006/08/10 (thomasb) ---------- - Fixed charset problems with folder renaming diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index f486175d8..2f650d6e4 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -395,7 +395,8 @@ function rcmail_compose_body($attrib) "googie.lang_rsm_edt = \"%s\";\n". "googie.lang_close = \"%s\";\n". "googie.lang_revert = \"%s\";\n". - "googie.lang_no_error_found = \"%s\";\n%s". + "googie.lang_no_error_found = \"%s\";\n%s". + "googie.setCurrentLanguage('%s');\n". "googie.decorateTextarea('%s');\n". "%s.set_env('spellcheck', googie);", $GLOBALS['COMM_PATH'], @@ -405,6 +406,7 @@ function rcmail_compose_body($attrib) rep_specialchars_output(rcube_label('revertto')), rep_specialchars_output(rcube_label('nospellerrors')), $lang_set, + substr($_SESSION['user_lang'], 0, 2), $attrib['id'], $JS_OBJECT_NAME), 'foot'); |