5 * Tempalte for displaying a simple .txt or .html attachment
7 * The following variables are available in this template:
8 * $view_message_href - URL to navigate back to the main message
9 * $view_unsafe_image_href - URL to toggle viewing unsafe images
10 * $download_href - URL to download the attachment as a file
11 * $body - Body of the attachment to be displayed
13 * @copyright 1999-2024 The SquirrelMail Project Team
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16 * @package squirrelmail
17 * @subpackage templates
20 /** add required includes **/
22 /** extract template variables **/
25 /** Begin template **/
27 <div class="viewText">
28 <table cellspacing="0" class="table1">
31 <?php echo _("Viewing a text attachment"); ?> -
32 <a href="<?php echo $view_message_href; ?>"><?php echo _("View message"); ?></a>
38 if (!empty($view_unsafe_image_href)) {
40 <a href="<?php echo $view_unsafe_image_href; ?>"><?php echo _("View Unsafe Images"); ?></a> |
44 <a href="<?php echo $download_href; ?>"><?php echo _("Download this as a file"); ?></a>