diff options
author | alecpl <alec@alec.pl> | 2011-12-07 09:35:29 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-07 09:35:29 +0000 |
commit | 7e263ea2048721482c00db65d4511f00c4c7b1d4 (patch) | |
tree | 02ee2a01d613a7f23a8408f656953d3ee5abad41 /program/steps/mail/compose.inc | |
parent | 889665f57517cb1182de74568a239a669b22bece (diff) |
- Add option to set default font for HTML message (#1484137)
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 71729602a..03619f1a2 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -142,6 +142,12 @@ $OUTPUT->set_env('recipients_separator', trim($RCMAIL->config->get('recipients_s // use jquery UI for showing prompt() dialogs $RCMAIL->plugins->load_plugin('jqueryui'); +// default font for HTML editor +$font = rcube_fontdefs($RCMAIL->config->get('default_font', 'Verdana')); +if ($font && !is_array($font)) { + $OUTPUT->set_env('default_font', $font); +} + // get reference message and set compose mode if ($msg_uid = $COMPOSE['param']['draft_uid']) { $RCMAIL->imap->set_mailbox($CONFIG['drafts_mbox']); |