** -> *
[squirrelmail.git] / functions / mime.php
index e95246e79ffcc7c9b2baf245150f5e820db39016..05a340ab39466dbe8871edfefd3b66736e67b6f4 100644 (file)
@@ -1,15 +1,16 @@
 <?php
 
-   /** mime.php
-    **
-    **  Copyright (c) 1999-2001 The Squirrelmail Development Team
-    **  Licensed under the GNU GPL. For full terms see the file COPYING.
-    **
-    ** This contains the functions necessary to detect and decode MIME
-    ** messages.
-    **
-    ** $Id$
-    **/
+   /**
+    *  mime.php
+    *
+    *   Copyright (c) 1999-2001 The Squirrelmail Development Team
+    *   Licensed under the GNU GPL. For full terms see the file COPYING.
+    *
+    *  This contains the functions necessary to detect and decode MIME
+    *  messages.
+    *
+    *  $Id$
+    */
 
    require_once('../functions/imap.php');
    require_once('../functions/attachment_common.php');
                             $ret .= '<b>' . _("Title:") . " </b>$title<br>\n";
                         $ret .= "<TABLE";
                         $i += 5;
-                       if (! isset($base))
-                          $base = '';
-                       $ret .= stripEvent( $i, $j, $body, $id, $base );
-                        $ret .= " bgcolor=$bgcolor width=100%><tr>";
+                        if (! isset($base))
+                            $base = '';
+                        $ret .= stripEvent( $i, $j, $body, $id, $base );
+                        $ret .= " bgcolor=$bgcolor width=\"100%\"><tr>";
                         if( $leftmargin <> '' )
                             $ret .= "<td width=$leftmargin>&nbsp;</td>";
                         $ret .= '<td>';
-                       if (strtolower($bgcolor) == 'ffffff' || 
-                           strtolower($bgcolor) == '#ffffff')
-                          $ret .= '<font color=#000000>';
+                        if (strtolower($bgcolor) == 'ffffff' ||
+                            strtolower($bgcolor) == '#ffffff')
+                            $ret .= '<font color=#000000>';
                         break;
                     case 'BASE':
                         $i += 5;