| | |
| | | else if (preg_match($EMAIL_ADDRESS_PATTERN, $part['mailto'])) |
| | | { |
| | | $out .= sprintf('<a href="mailto:%s" onclick="return %s.command(\'compose\',\'%s\',this)" class="rcmContactAddress" title="%s">%s</a>', |
| | | $part['mailto'], |
| | | Q($part['mailto']), |
| | | $JS_OBJECT_NAME, |
| | | $part['mailto'], |
| | | $part['mailto'], |
| | | JQ($part['mailto']), |
| | | Q($part['mailto']), |
| | | Q($part['name'])); |
| | | |
| | | if ($addicon) |
| | |
| | | if ($part['name']) |
| | | $out .= Q($part['name']); |
| | | if ($part['mailto']) |
| | | $out .= (strlen($out) ? ' ' : '') . sprintf('<%s>', $part['mailto']); |
| | | $out .= (strlen($out) ? ' ' : '') . sprintf('<%s>', Q($part['mailto'])); |
| | | } |
| | | |
| | | if ($c>$j) |