]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/mail/show.inc
Imported Upstream version 0.7.2
[roundcube.git] / program / steps / mail / show.inc
index 2f28adeb089249f3cd2363aaa0b0d087b24c7e61..d1cfabc903bcfb13e96a0bb5ce92fe41e4e7a68c 100644 (file)
@@ -15,7 +15,7 @@
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
 
- $Id: show.inc 5514 2011-11-30 11:35:43Z alec $
+ $Id: show.inc 5801 2012-01-19 07:32:08Z alec $
 
 */
 
@@ -49,6 +49,9 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) {
   $OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name)));
   $OUTPUT->set_env('delimiter', $IMAP->get_hierarchy_delimiter());
   $OUTPUT->set_env('mailbox', $mbox_name);
+  if ($CONFIG['drafts_mbox']) {
+    $OUTPUT->set_env('drafts_mailbox', $CONFIG['drafts_mbox']);
+  }
 
   // mimetypes supported by the browser (default settings)
   $mimetypes = $RCMAIL->config->get('client_mimetypes', 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/x-javascript,application/pdf,application/x-shockwave-flash');