Fixed html tables in printer_friendly_bottom.php (patch #542367), Graham Maltby
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 14 Apr 2002 13:53:52 +0000 (13:53 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 14 Apr 2002 13:53:52 +0000 (13:53 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2721 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
src/printer_friendly_bottom.php

index ff87bd490cb51b38e1ccd8d37b800a2981fe726a..1b4e683bad3fde4aff44cc8684f527173d5d9e5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,7 @@ Version 1.2.6 -- CVS
   - Improved the handling of IMAP [PARSE] messages to reduce retrieval error.
   - Fixed small bug in handeling timezone (bug #536149)        
   - MDN message now RFC compatible (bug #537662)
+  - Fixed html tables in printer_friendly_bottom.php (patch #542367)
        
 Version 1.2.5 -- 22 February 2002
 ---------------------------------
index b5b193107073d2020f3cd761c55df9802d71a34d..7f6a4abd6ca34524e04464e3d503c6bcae387aff 100644 (file)
@@ -90,15 +90,15 @@ if ( empty($pf_cleandisplay) || $pf_cleandisplay != 'no' ) {
 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
 
 echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
-     /* headers (we use table becasue translations are not all the same width) */
+     /* headers (we use table because translations are not all the same width) */
      '<table>'.
-     '<tr><td>' . _("From") . ':</td><td>' . htmlentities($from) . "</td></td>\n".
-     '<tr><td>' . _("To") . ':</td><td>' . htmlentities($to) . "</td></td>\n";
+     '<tr><td>' . _("From") . ':</td><td>' . htmlentities($from) . "</td></tr>\n".
+     '<tr><td>' . _("To") . ':</td><td>' . htmlentities($to) . "</td></tr>\n";
 if ( strlen($cc) > 0 ) { /* only show CC: if it's there... */
-     echo '<tr><td>' . _("CC") . ':</td><td>' . htmlentities($cc) . "</td></td>\n";
+     echo '<tr><td>' . _("CC") . ':</td><td>' . htmlentities($cc) . "</td></tr>\n";
 }
-echo '<tr><td>' . _("Date") . ':</td><td>' . htmlentities($date) . "</td></td>\n".
-     '<tr><td>' . _("Subject") . ':</td><td>' . htmlentities($subject) . "</td></td>\n".
+echo '<tr><td>' . _("Date") . ':</td><td>' . htmlentities($date) . "</td></tr>\n".
+     '<tr><td>' . _("Subject") . ':</td><td>' . htmlentities($subject) . "</td></tr>\n".
      '</table>'.
      "\n";
 /* body */
@@ -107,7 +107,7 @@ echo $body;
 
 /* --end browser output-- */
 
-echo '</pre></body></html>';
+echo '</body></html>';
 
 /* --start pf-specific functions-- */
 
@@ -147,4 +147,4 @@ function pf_clean_string ( $unclean_string, $num_leading_spaces ) {
 
 /* --end pf-specific functions */
 
-?>
\ No newline at end of file
+?>