@@ -421,6 +421,7 @@ function formatBody($imap_stream, $message, $color, $wrap_at, $ent_num, $id, $ma
global $oTemplate;
$oTemplate->assign('iframe_url', $iframeurl);
+ $oTemplate->assign('iframe_height', $iframe_height);
$oTemplate->assign('html_body', $html_body);
$body = $oTemplate->fetch('read_html_iframe.tpl');
@@ -1068,7 +1068,6 @@ div.htmlIframe {
}
div.htmlIframe iframe {
- height: 250px;
width:100%;
@@ -24,7 +24,7 @@ extract($t);
?>
<div class="htmlIframe">
<?php echo _("Viewing HTML formatted email"); ?>
-<iframe name="message_frame" src="<?php echo $iframe_url; ?>" frameborder="1" marginwidth="0" marginheight="0" scrolling="auto">
+<iframe name="message_frame" src="<?php echo $iframe_url; ?>" frameborder="1" marginwidth="0" marginheight="0" scrolling="auto" height="<?php echo $iframe_height; ?>">
<?php echo $html_body; ?>
</iframe>
</div>