Changeset 1013 in subversion for trunk/roundcubemail/program/steps/mail/show.inc
- Timestamp:
- Feb 4, 2008 12:39:06 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/show.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/show.inc
r996 r1013 6 6 | | 7 7 | This file is part of the RoundCube Webmail client | 8 | Copyright (C) 2005-200 7, RoundCube Dev. - Switzerland |8 | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland | 9 9 | Licensed under the GNU GPL | 10 10 | | … … 21 21 22 22 require_once('Mail/mimeDecode.php'); 23 require_once('lib/rc_mail_mime.inc'); 23 24 24 25 $PRINT_MODE = $_action=='print' ? TRUE : FALSE; … … 77 78 if ($MESSAGE['headers']->mdn_to && !$MESSAGE['headers']->mdn_sent && $IMAP->get_mailbox_name() != $CONFIG['drafts_mbox']) 78 79 { 79 rcube_add_label('mdnrequest'); 80 $OUTPUT->set_env('mdn_request', true); 80 if (intval($CONFIG['mdn_requests']) === 1) 81 { 82 if (rcmail_send_mdn($MESSAGE['UID'])) 83 $OUTPUT->show_message('receiptsent', 'confirmation'); 84 } 85 else if (empty($CONFIG['mdn_requests'])) 86 { 87 rcube_add_label('mdnrequest'); 88 $OUTPUT->set_env('mdn_request', true); 89 } 81 90 } 82 91
Note: See TracChangeset
for help on using the changeset viewer.
