diff options
author | alecpl <alec@alec.pl> | 2009-11-04 10:03:55 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-11-04 10:03:55 +0000 |
commit | 5cef5b55bf02a9e807d4fe728d97738a758f04e0 (patch) | |
tree | c5373c6422de746cfa90997a31e7af0ed165905a /program/steps/mail/func.inc | |
parent | 53d3b0f834c0ba75b398a115c0d0959a8834da12 (diff) |
- fix replyto and cc cols css issue (#1486276) + handle their values as in from/to
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b13796745..b3016ee2a 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -306,7 +306,7 @@ function rcmail_message_list($attrib) // 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 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE) // 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') { |