|
|
@ -124,7 +124,7 @@ if (!is_array($COMPOSE))
|
|
|
|
$OUTPUT->add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubjectwarning', 'cancel',
|
|
|
|
$OUTPUT->add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubjectwarning', 'cancel',
|
|
|
|
'nobodywarning', 'notsentwarning', 'notuploadedwarning', 'savingmessage', 'sendingmessage',
|
|
|
|
'nobodywarning', 'notsentwarning', 'notuploadedwarning', 'savingmessage', 'sendingmessage',
|
|
|
|
'messagesaved', 'converting', 'editorwarning', 'searching', 'uploading', 'uploadingmany',
|
|
|
|
'messagesaved', 'converting', 'editorwarning', 'searching', 'uploading', 'uploadingmany',
|
|
|
|
'fileuploaderror');
|
|
|
|
'fileuploaderror', 'sendmessage');
|
|
|
|
|
|
|
|
|
|
|
|
$OUTPUT->set_env('compose_id', $COMPOSE['id']);
|
|
|
|
$OUTPUT->set_env('compose_id', $COMPOSE['id']);
|
|
|
|
|
|
|
|
|
|
|
@ -139,6 +139,9 @@ $OUTPUT->set_env('sig_above', $RCMAIL->config->get('sig_above', false));
|
|
|
|
$OUTPUT->set_env('top_posting', $RCMAIL->config->get('top_posting', false));
|
|
|
|
$OUTPUT->set_env('top_posting', $RCMAIL->config->get('top_posting', false));
|
|
|
|
$OUTPUT->set_env('recipients_separator', trim($RCMAIL->config->get('recipients_separator', ',')));
|
|
|
|
$OUTPUT->set_env('recipients_separator', trim($RCMAIL->config->get('recipients_separator', ',')));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// use jquery UI for showing prompt() dialogs
|
|
|
|
|
|
|
|
$RCMAIL->plugins->load_plugin('jqueryui');
|
|
|
|
|
|
|
|
|
|
|
|
// get reference message and set compose mode
|
|
|
|
// get reference message and set compose mode
|
|
|
|
if ($msg_uid = $COMPOSE['param']['draft_uid']) {
|
|
|
|
if ($msg_uid = $COMPOSE['param']['draft_uid']) {
|
|
|
|
$RCMAIL->imap->set_mailbox($CONFIG['drafts_mbox']);
|
|
|
|
$RCMAIL->imap->set_mailbox($CONFIG['drafts_mbox']);
|
|
|
|