Allegedly adds the title="blah" to the subject link. Not sure, since my
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 1 Aug 2001 22:28:04 +0000 (22:28 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 1 Aug 2001 22:28:04 +0000 (22:28 +0000)
browser doesn't actually pop up anything.  May or may not work.

Someone test it.  If it doesn't urldecode the subject (like if you see
pluses instead of spaces and %## a lot), let me know and I'll whip up
something else.  If you feel courageous, try changing it yourself.  Don't
forget to attempt to view subjects like this:
   #This"is a $nasty subject ! line that ' may or | may > not work

:-)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1472 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 35c81f1f420e004a660e5e00b885ea6683405b91..d297debbd461faadb77e3db695c9aa1c4858e076 100644 (file)
                    if (! isset($search_stuff)) { $search_stuff = ''; }
                echo "<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0$search_stuff\"";
                do_hook("subject_link");
-               echo ">$flag$subject$flag_end</a>$bold_end</td>\n";
+               echo " title=\"" . urlencode($msg['SUBJECT']) . 
+                 "\">$flag$subject$flag_end</a>$bold_end</td>\n";
                break;
             case 5: # flags
                $stuff = false;