fix decryption of ipv6 headers (thanks Tomas Kuliavas)
[squirrelmail.git] / src / printer_friendly_bottom.php
index fca2e7f2d611ee7b6e1794fc357b158cb847b8b1..da14209be1fe48268ff760adc86f0ac92f73ad7e 100644 (file)
@@ -8,12 +8,15 @@
  *
  * - this is the page that does all the work, really.
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+/** This is the printer_friendly_bottom page */
+define('PAGE_NAME', 'printer_friendly_bottom');
+
 /**
  * Include the SquirrelMail initialization file.
  */
@@ -52,7 +55,7 @@ if ($passed_ent_id) {
 $rfc822_header = $message->rfc822_header;
 /* From and Date are usually fine as they are... */
 $from = $rfc822_header->getAddr_s('from');
-$date = getLongDateString($rfc822_header->date);
+$date = getLongDateString($rfc822_header->date, $rfc822_header->date_unparsed);
 $subject = trim($rfc822_header->subject);
 
 /* we can clean these up if the list is too long... */