* additional templates.
*
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2008 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: read_headers.tpl 11998 2006-12-10 21:06:24Z pdontthink $
* @package squirrelmail
// show reduced (collapsed) header
if (!$expand_header) {
- $subject = (!empty($headers_to_display['Subject'])
- ? $headers_to_display['Subject'] : _("(no subject)"));
- $date = (!empty($headers_to_display['Date'])
- ? $headers_to_display['Date'] : _("Unknown date"));
- $from = (!empty($headers_to_display['From'])
- ? $headers_to_display['From'] : _("Unknown sender"));
+ $subject = (!empty($headers_to_display[_("Subject")])
+ ? $headers_to_display[_("Subject")] : _("(no subject)"));
+ $date = (!empty($headers_to_display[_("Date")])
+ ? $headers_to_display[_("Date")] : _("Unknown date"));
+ $from = (!empty($headers_to_display[_("From")])
+ ? $headers_to_display[_("From")] : _("Unknown sender"));
// if available, print "real" name instead of email addr
if (strpos($from,"<") !== FALSE) {
list($from, $ignore) = $parts = explode('<', $from);