| | |
| | | $out .= "<thead><tr>\n<td class=\"icon\"> </td>\n"; |
| | | |
| | | foreach ($a_show_cols as $col) |
| | | $out .= '<td class="'.$col.'">' . rcube_label($col) . "</td>\n"; |
| | | $out .= '<td class="'.$col.'">' . rep_specialchars_output(rcube_label($col)) . "</td>\n"; |
| | | |
| | | $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)) |
| | | { |
| | | $out .= sprintf('<tr><td colspan="%d">%s</td></tr>', |
| | | $out .= rep_specialchars_output( |
| | | sprintf('<tr><td colspan="%d">%s</td></tr>', |
| | | sizeof($a_show_cols)+2, |
| | | rcube_label('nomessagesfound')); |
| | | rcube_label('nomessagesfound'))); |
| | | } |
| | | |
| | | |
| | |
| | | $header_value = rep_specialchars_output($IMAP->decode_header($headers[$hkey]), '', 'all'); |
| | | |
| | | $out .= "\n<tr>\n"; |
| | | $out .= '<td class="header-title">'.rcube_label($hkey).": </td>\n"; |
| | | $out .= '<td class="header-title">'.rep_specialchars_output(rcube_label($hkey)).": </td>\n"; |
| | | $out .= '<td class="'.$hkey.'" width="90%">'.$header_value."</td>\n</tr>"; |
| | | $header_count++; |
| | | } |