diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-06 09:32:09 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-06 09:32:09 +0000 |
| commit | d0c486a6801249f2d35fa30f70cf749eafbd302b (patch) | |
| tree | 1cc2c60226dd93ba3164672838733ad851041bde /roundcubemail/program/steps | |
| parent | c06d4194f673da0fd62d97c9d0733b3278b29b51 (diff) | |
- #1485463: fixed css classes setting in messages list
git-svn-id: https://svn.roundcube.net/trunk@1942 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index a5ffb9d7b..43e21eea2 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -198,7 +198,7 @@ function rcmail_message_list($attrib) { $message_icon = $attach_icon = $flagged_icon = ''; $js_row_arr = array(); - $zebra_class = $i%2 ? 'even' : 'odd'; + $zebra_class = $i%2 ? ' even' : ' odd'; // set messag attributes to javascript array if ($header->deleted) @@ -238,12 +238,12 @@ function rcmail_message_list($attrib) if ($attrib['attachmenticon'] && preg_match("/multipart\/[mr]/i", $header->ctype)) $attach_icon = $attrib['attachmenticon']; - $out .= sprintf('<tr id="rcmrow%d" class="message%s%s %s">'."\n", + $out .= sprintf('<tr id="rcmrow%d" class="message%s%s%s%s">'."\n", $header->uid, $header->seen ? '' : ' unread', $header->deleted ? ' deleted' : '', $header->flagged ? ' flagged' : '', - $zebra_class); + $zebra_class); $out .= sprintf("<td class=\"icon\">%s</td>\n", $message_icon ? sprintf($image_tag, $skin_path, $message_icon, '') : ''); |
