Changeset 5402 in subversion for branches/release-0.7/program/steps/mail/compose.inc
- Timestamp:
- Nov 9, 2011 5:03:54 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0.7/program/steps/mail/compose.inc
r5297 r5402 6 6 | | 7 7 | This file is part of the Roundcube Webmail client | 8 | Copyright (C) 2005-20 09, The Roundcube Dev Team |8 | Copyright (C) 2005-2011, The Roundcube Dev Team | 9 9 | Licensed under the GNU GPL | 10 10 | | … … 123 123 // set current mailbox in client environment 124 124 $OUTPUT->set_env('mailbox', $IMAP->get_mailbox_name()); 125 $OUTPUT->set_env('sig_above', $CONFIG['sig_above']); 126 $OUTPUT->set_env('top_posting', $CONFIG['top_posting']); 125 $OUTPUT->set_env('sig_above', $RCMAIL->config->get('sig_above', false)); 126 $OUTPUT->set_env('top_posting', $RCMAIL->config->get('top_posting', false)); 127 $OUTPUT->set_env('recipients_separator', trim($RCMAIL->config->get('recipients_separator', ','))); 127 128 128 129 // get reference message and set compose mode … … 325 326 $a_recipients = array(); 326 327 $parts = array('to', 'cc', 'bcc', 'replyto', 'followupto'); 328 $separator = trim($RCMAIL->config->get('recipients_separator', ',')) . ' '; 327 329 328 330 foreach ($parts as $header) { … … 368 370 $fvalue .= $v; 369 371 if ($v = $MESSAGE->headers->cc) 370 $fvalue .= (!empty($fvalue) ? ', ': '') . $v;372 $fvalue .= (!empty($fvalue) ? $separator : '') . $v; 371 373 } 372 374 } … … 411 413 } 412 414 413 $fvalue = implode( ', ', $fvalue);415 $fvalue = implode($separator, $fvalue); 414 416 } 415 417
Note: See TracChangeset
for help on using the changeset viewer.
