Happy New Year
[squirrelmail.git] / templates / default / read_attachments.tpl
index bfe3519dcc3deabc2b0a26cca68ffcd7a1943adc..866f67c8e7f91fb5418344e44e653c6d382ffe7c 100644 (file)
@@ -6,6 +6,7 @@
  * template is called from the function formatAttachments() in functions/mime.php.
  *
  * The following variables are available in this template:
+ *    $plugin_output  array  An array of extra output that may be added by plugin(s).
  *    $attachments - array containing info for all message attachments.  Each
  *                   element in the array represents a separate attachment and
  *                   contains the following elements:
@@ -23,7 +24,7 @@
  *            $link['HREF'] - URL to access the functionality
  *            $link['Text'] - Text representing the functionality.
  *
- * @copyright 1999-2011 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -45,7 +46,10 @@ if (count($attachments)==0) {
 <table cellspacing="0" class="table2">
  <tr>
   <td class="header5" colspan="5">
-   <?php echo _("Attachments"); ?>
+   <?php
+      echo _("Attachments");
+      if (!empty($plugin_output['attachments_top'])) echo $plugin_output['attachments_top'];
+   ?>
   </td>
  </tr>
  <?php