Changeset 2727053 in github


Ignore:
Timestamp:
Oct 7, 2008 2:24:18 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c02bb9c
Parents:
e3f4275
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/compose.inc

    r112c9133 r2727053  
    8484$OUTPUT->add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubjectwarning', 'nobodywarning', 'notsentwarning', 'savingmessage', 'sendingmessage', 'messagesaved', 'converting'); 
    8585 
    86 // add config parameter to client script 
    87 $OUTPUT->set_env('draft_autosave', !empty($CONFIG['drafts_mbox']) ? $CONFIG['draft_autosave'] : 0); 
     86// add config parameters to client script 
     87if (!empty($CONFIG['drafts_mbox'])) { 
     88  $OUTPUT->set_env('drafts_mailbox', $CONFIG['drafts_mbox']); 
     89  $OUTPUT->set_env('draft_autosave', $CONFIG['draft_autosave']); 
     90} 
    8891// set current mailbox in client environment 
    8992$OUTPUT->set_env('mailbox', $IMAP->get_mailbox_name()); 
Note: See TracChangeset for help on using the changeset viewer.