courier workaround
[squirrelmail.git] / src / view_text.php
index d0c387426eec66a107812558a2c8934990fac171..83e293e00eba4f9fe93490f7b0e4300d8e1aaba2 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * view_text.php -- Displays the main frameset
  *
- * Copyright (c) 1999-2004 The SquirrelMail development team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Who knows what this file does. However PUT IT HERE DID NOT PUT
@@ -58,7 +58,7 @@ $encoding = strtolower($header->encoding);
 
 $msg_url   = 'read_body.php?' . $QUERY_STRING;
 $msg_url   = set_url_var($msg_url, 'ent_id', 0);
-$dwnld_url = '../src/download.php?'. $QUERY_STRING . '&absolute_dl=true';
+$dwnld_url = '../src/download.php?' . $QUERY_STRING . '&absolute_dl=true';
 
 $body = mime_fetch_body($imapConnection, $passed_id, $ent_id);
 $body = decodeBody($body, $encoding);
@@ -78,11 +78,11 @@ if ($type1 == 'html' || (isset($override_type1) &&  $override_type1 == 'html'))
 
 displayPageHeader($color, 'None');
 ?>
-<br /><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td bgcolor="<?php echo $color[0]; ?>">
+<br /><table width="100%" border="0" cellspacing="0" cellpadding="2" align="center"><tr><td bgcolor="<?php echo $color[0]; ?>">
 <b><center>
 <?php
 echo _("Viewing a text attachment") . ' - ' .
-     '<a href="'.$msg_url.'">'. _("View message") . '</a>';
+    '<a href="'.$msg_url.'">' . _("View message") . '</a>';
 ?>
 </b></td><tr><tr><td><center>
 <?php
@@ -95,4 +95,4 @@ echo '<a href="' . $dwnld_url . '">' . _("Download this as a file") . '</a>';
 <tr><td bgcolor="<?php echo $color[4]; ?>"><tt>
 <?php echo $body; ?>
 </tt></td></tr></table>
-</body></html>
+</body></html>
\ No newline at end of file