| | |
| | | else if ($data['type'] == 'enriched') { |
| | | $part->ctype_secondary = 'html'; |
| | | require_once(INSTALL_PATH . 'program/lib/enriched.inc'); |
| | | $body = Q(enriched_to_html($data['body']), 'show'); |
| | | $body = enriched_to_html($data['body']); |
| | | $body = rcmail_wash_html($body, $data, $part->replaces); |
| | | $part->ctype_secondary = 'html'; |
| | | } |
| | | else { |
| | | // assert plaintext |
| | |
| | | '4' => 'low', |
| | | '5' => 'lowest', |
| | | ); |
| | | |
| | | |
| | | if ($value && $labels_map[$value]) |
| | | return rcube_label($labels_map[$value]); |
| | | |
| | | |
| | | return ''; |
| | | } |
| | | |
| | |
| | | $mailto = rcube_idn_to_utf8($mailto); |
| | | |
| | | if ($PRINT_MODE) { |
| | | $out .= sprintf('%s <%s>', Q($name), $mailto); |
| | | $out .= ($out ? ', ' : '') . sprintf('%s <%s>', Q($name), $mailto); |
| | | // for printing we display all addresses |
| | | continue; |
| | | } |
| | | else if (check_email($part['mailto'], false)) { |
| | | if ($linked) { |