|
|
@ -510,7 +510,7 @@ function rcmail_js_message_list($a_headers, $insert_top=false, $a_show_cols=null
|
|
|
|
else if ($col == 'subject') {
|
|
|
|
else if ($col == 'subject') {
|
|
|
|
$cont = trim(rcube_mime::decode_header($header->$col, $header->charset));
|
|
|
|
$cont = trim(rcube_mime::decode_header($header->$col, $header->charset));
|
|
|
|
if (!$cont) $cont = $RCMAIL->gettext('nosubject');
|
|
|
|
if (!$cont) $cont = $RCMAIL->gettext('nosubject');
|
|
|
|
$cont = rcube::Q($cont);
|
|
|
|
$cont = rcube::SQ($cont);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ($col == 'size')
|
|
|
|
else if ($col == 'size')
|
|
|
|
$cont = $RCMAIL->show_bytes($header->$col);
|
|
|
|
$cont = $RCMAIL->show_bytes($header->$col);
|
|
|
@ -523,10 +523,10 @@ function rcmail_js_message_list($a_headers, $insert_top=false, $a_show_cols=null
|
|
|
|
$last_folder_name = str_replace($delimiter, " \xC2\xBB ", $last_folder_name);
|
|
|
|
$last_folder_name = str_replace($delimiter, " \xC2\xBB ", $last_folder_name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$cont = rcube::Q($last_folder_name);
|
|
|
|
$cont = rcube::SQ($last_folder_name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
$cont = rcube::Q($header->$col);
|
|
|
|
$cont = rcube::SQ($header->$col);
|
|
|
|
|
|
|
|
|
|
|
|
$a_msg_cols[$col] = $cont;
|
|
|
|
$a_msg_cols[$col] = $cont;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1308,7 +1308,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
|
|
|
|
$mailto = rcube_utils::idn_to_utf8($mailto);
|
|
|
|
$mailto = rcube_utils::idn_to_utf8($mailto);
|
|
|
|
|
|
|
|
|
|
|
|
if ($PRINT_MODE) {
|
|
|
|
if ($PRINT_MODE) {
|
|
|
|
$address = sprintf('%s <%s>', rcube::Q($name), rcube::Q($mailto));
|
|
|
|
$address = sprintf('%s <%s>', rcube::SQ($name), rcube::Q($mailto));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ($valid) {
|
|
|
|
else if ($valid) {
|
|
|
|
if ($linked) {
|
|
|
|
if ($linked) {
|
|
|
@ -1320,10 +1320,10 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
if ($show_email && $name && $mailto) {
|
|
|
|
if ($show_email && $name && $mailto) {
|
|
|
|
$content = rcube::Q($name ? sprintf('%s <%s>', $name, $mailto) : $mailto);
|
|
|
|
$content = rcube::SQ($name ? sprintf('%s <%s>', $name, $mailto) : $mailto);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
$content = rcube::Q($name ?: $mailto);
|
|
|
|
$content = rcube::SQ($name ?: $mailto);
|
|
|
|
$attrs['title'] = $mailto;
|
|
|
|
$attrs['title'] = $mailto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1331,7 +1331,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
$address = html::span(array('title' => $mailto, 'class' => "rcmContactAddress"),
|
|
|
|
$address = html::span(array('title' => $mailto, 'class' => "rcmContactAddress"),
|
|
|
|
rcube::Q($name ?: $mailto));
|
|
|
|
rcube::SQ($name ?: $mailto));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($addicon && $_SESSION['writeable_abook']) {
|
|
|
|
if ($addicon && $_SESSION['writeable_abook']) {
|
|
|
|