From 01c86f2e7c9eb4f2dff6d670ea8f36c431b9b476 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 04 Mar 2006 08:45:30 -0500 Subject: [PATCH] Minor bugfixes --- program/steps/mail/func.inc | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index d089dd2..dc510b0 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -300,12 +300,12 @@ // add col definition $out .= '<colgroup>'; - $out .= '<col class="icon">'; + $out .= '<col class="icon" />'; foreach ($a_show_cols as $col) - $out .= sprintf('<col class="%s">', $col); + $out .= sprintf('<col class="%s" />', $col); - $out .= '<col class="icon">'; + $out .= '<col class="icon" />'; $out .= "</colgroup>\n"; // add table title @@ -365,7 +365,6 @@ $out .= '<td class="icon">'.($attrib['attachmenticon'] ? sprintf($image_tag, $skin_path, $attrib['attachmenticon'], '') : '')."</td>\n"; $out .= "</tr></thead>\n<tbody>\n"; - // no messages in this mailbox if (!sizeof($a_headers)) @@ -940,7 +939,7 @@ $out = '<table' . $attrib_str . ">\n"; // show these headers - $standard_headers = array('subject', 'from', 'organization', 'to', 'cc', 'reply-to', 'date'); + $standard_headers = array('subject', 'from', 'organization', 'to', 'cc', 'bcc', 'reply-to', 'date'); foreach ($standard_headers as $hkey) { @@ -949,7 +948,7 @@ if ($hkey=='date' && !empty($headers[$hkey])) $header_value = format_date(strtotime($headers[$hkey])); - else if (in_array($hkey, array('from', 'to', 'cc', 'reply-to'))) + else if (in_array($hkey, array('from', 'to', 'cc', 'bcc', 'reply-to'))) $header_value = rep_specialchars_output(rcmail_address_string($IMAP->decode_header($headers[$hkey]), NULL, $attrib['addicon'])); else $header_value = rep_specialchars_output($IMAP->decode_header($headers[$hkey]), '', 'all'); -- Gitblit v1.9.1