diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-11-04 10:03:55 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-11-04 10:03:55 +0000 |
| commit | ea387df8df7e8a193b6dcf763fa4ccda0e041eaa (patch) | |
| tree | 4609105f3aba2e76e5ae8eb9bb19485e4f109b81 /roundcubemail/program/steps | |
| parent | 2fd9944618ee59421d31e63b403c655c5fb8e296 (diff) | |
- fix replyto and cc cols css issue (#1486276) + handle their values as in from/to
git-svn-id: https://svn.roundcube.net/trunk@3099 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index b13796745..b3016ee2a 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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') { |
