Added link to open email body in new window

This commit is contained in:
Karl Cordes 2013-04-10 19:34:08 +10:00
parent fd7e9f798f
commit e1faa4689b

View file

@ -80,15 +80,15 @@
</dl>
</div>
<div id="emailframeDiv">
<iframe id="emailFrame" src="/email_attachments/view/<?=$body_ID?>" width="100%" height="500px">
<p>This function only works with a Modern Browser that uses Iframes. Sorry.</p>
<p>This function only works with a Modern Browser that support iframes.</p>
</iframe>
</div>
<a href="/email_attachments/view/<?=$body_ID?>" target="_blank">View email body in new window</a>
<div id="emailattachments">
<?php echo $this->element('email_attachments', array('attachments' => $email['EmailAttachment'])); ?>
</div>
<? //print_r($email); ?>
<? //print_r($email); ?>