From 77f70304824b4da10fd089fed21c29026d2c3fde Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 6 Aug 2001 14:37:14 +0000 Subject: [PATCH] Ok, this actually works now. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1475 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index d297deb..30880ec 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -123,8 +123,13 @@ if (! isset($search_stuff)) { $search_stuff = ''; } echo "$flag$subject$flag_end$bold_end\n"; + + $title = get_html_translation_table(HTML_SPECIALCHARS); + $title = array_flip($title); + $title = strtr($msg['SUBJECT'], $title); + $title = str_replace('"', "''", $title); + + echo " title=\"$title\">$flag$subject$flag_end$bold_end\n"; break; case 5: # flags $stuff = false; -- 1.9.1