From 5cef5b55bf02a9e807d4fe728d97738a758f04e0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 04 Nov 2009 05:03:55 -0500 Subject: [PATCH] - fix replyto and cc cols css issue (#1486276) + handle their values as in from/to --- skins/default/mail.css | 4 +++- program/steps/mail/func.inc | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b137967..b3016ee 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -306,7 +306,7 @@ // format each col foreach ($a_show_cols as $col) { - if ($col=='from' || $col=='to') + if (in_array($col, array('from', 'to', 'cc', 'replyto'))) $cont = Q(rcmail_address_string($header->$col, 3, false, $attrib['addicon']), 'show'); else if ($col=='subject') { @@ -427,7 +427,7 @@ // format each col; similar as in rcmail_message_list() foreach ($a_show_cols as $col) { - if ($col=='from' || $col=='to') + if (in_array($col, array('from', 'to', 'cc', 'replyto'))) $cont = Q(rcmail_address_string($header->$col, 3), 'show'); else if ($col=='subject') { diff --git a/skins/default/mail.css b/skins/default/mail.css index f74ea99..e2085af 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -775,7 +775,9 @@ } #messagelist tr td.from, -#messagelist tr td.to +#messagelist tr td.to, +#messagelist tr td.cc, +#messagelist tr td.replyto { width: 180px; vertical-align: middle; -- Gitblit v1.9.1