| | |
| | | $a_attachments = array_merge($a_attachments, $attachmnts); |
| | | } |
| | | |
| | | // ignore "virtual" protocol parts |
| | | else if ($primary_type=='protocol') |
| | | continue; |
| | | |
| | | // part is file/attachment |
| | | else if ($mail_part->disposition=='attachment' || $mail_part->disposition=='inline' || $mail_part->headers['content-id'] || |
| | | (empty($mail_part->disposition) && $mail_part->filename)) |
| | |
| | | if (!$attrib['id']) |
| | | $attrib['id'] = 'rcmailMsgBody'; |
| | | |
| | | $safe_mode = intval($_GET['_safe']); |
| | | $safe_mode = $MESSAGE['is_safe'] || intval($_GET['_safe']); |
| | | $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id')); |
| | | $out = '<div '. $attrib_str . ">\n"; |
| | | |