Update
[squirrelmail.git] / templates / default / read_attachments.tpl
index 0ed091639ce0aab543cb307db4ca0052631f9ffc..9bd648cc423b6e925d922a4b1751461b13f7710e 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Template used to generate the attachment list while reading a message.  This
  * template is called from the function formatAttachments() in functions/mime.php.
- * 
+ *
  * The following variables are available in this template:
  *    $attachments - array containing info for all message attachments.  Each
  *                   element in the array represents a separate attachment and
@@ -30,8 +30,6 @@
  * @subpackage templates
  */
 
-/** add required includes **/
-require(SM_PATH . 'templates/util_global.php');
 
 /** extract template variables **/
 extract($t);
@@ -76,7 +74,7 @@ if (count($attachments)==0) {
    <a href="<?php echo $attachment['ViewHREF']; ?>"><?php echo _("View"); ?></a>
         <?php
     }
-    
+
     foreach ($attachment['OtherLinks'] as $link) {
         ?>
    &nbsp;|&nbsp;
@@ -89,7 +87,7 @@ if (count($attachments)==0) {
  </tr>
         <?php
     }
-    
+
     if (!empty($plugin_output['attachments_bottom'])) echo $plugin_output['attachments_bottom'];
  ?>
 </table>
@@ -99,4 +97,4 @@ if (count($attachments)==0) {
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>