| | |
| | | $url = str_replace('&_preload=1', '', $_SERVER['REQUEST_URI']); |
| | | $message = rcube_label('loadingdata'); |
| | | |
| | | print "<html>\n<head>\n" . |
| | | '<meta http-equiv="refresh" content="0; url='.Q($url).'">' . |
| | | "\n</head>\n<body>" . |
| | | $message . |
| | | "\n</body>\n</html>"; |
| | | header('Content-Type: text/html; charset=' . RCMAIL_CHARSET); |
| | | print "<html>\n<head>\n" |
| | | . '<meta http-equiv="refresh" content="0; url='.Q($url).'">' . "\n" |
| | | . '<meta http-equiv="content-type" content="text/html; charset='.RCMAIL_CHARSET.'">' . "\n" |
| | | . "</head>\n<body>\n$message\n</body>\n</html>"; |
| | | exit; |
| | | } |
| | | |
| | | ob_end_clean(); |
| | | |
| | | // similar code as in program/steps/mail/show.inc |
| | | if (!empty($_GET['_uid'])) { |
| | |
| | | // turn off output buffering and print part content |
| | | if ($part->body) |
| | | echo $part->body; |
| | | else |
| | | else if ($part->size) |
| | | $IMAP->get_message_part($MESSAGE->uid, $part->mime_id, $part, true); |
| | | } |
| | | |