| 1 | <?php |
| 2 | /** |
| 3 | * read_html_iframe.tpl |
| 4 | * |
| 5 | * Tempalte for displaying HTML messages within an iframe. |
| 6 | * |
| 7 | * The following variables are available in this template: |
| 8 | * $iframe_url - URL to use for the src of the iframe. |
| 9 | * $html_body - HTML to spit out in case the brwoser does nto support iframes |
| 10 | * |
| 11 | * @copyright © 1999-2006 The SquirrelMail Project Team |
| 12 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 13 | * @version $Id$ |
| 14 | * @package squirrelmail |
| 15 | * @subpackage templates |
| 16 | */ |
| 17 | |
| 18 | /** add required includes **/ |
| 19 | |
| 20 | /** extract template variables **/ |
| 21 | extract($t); |
| 22 | |
| 23 | /** Begin template **/ |
| 24 | ?> |
| 25 | <div class="htmlIframe"> |
| 26 | <?php echo _("Viewing HTML formatted email"); ?> |
| 27 | <iframe name="message_frame" src="<?php echo $iframe_url; ?>" frameborder="1" marginwidth="0" marginheight="0" scrolling="auto"> |
| 28 | <?php echo $html_body; ?> |
| 29 | </iframe> |
| 30 | </div> |