fixed javascript error with MDN
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 17 Apr 2002 14:20:26 +0000 (14:20 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 17 Apr 2002 14:20:26 +0000 (14:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2740 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 18b8d4300a5564e8caa0501bc0289ef1743d875d..f0c8b1e99174e2257e1ac6dd0f71e643712b5a6c 100644 (file)
@@ -943,7 +943,7 @@ if ($default_use_mdn) {
                                 _("Read receipt") . ': ' .
                             "</TD><TD BGCOLOR=\"$color[9]\" VALIGN=TOP colspan=2>" .
                                 '<B>' . _("requested") .
-                                "</B> &nbsp; <a href=$url>[" . _("Send read receipt now") . "]</a>" .
+                                "</B> &nbsp; <a href=\"$url\">[" . _("Send read receipt now") . "]</a>" .
                             '</TD>' .
                         '</TR>' . "\n";
                 $sendreceipt='';
@@ -958,7 +958,7 @@ if ($default_use_mdn) {
                     _("The message sender has requested a response to indicate that you have read this message. Would you like to send a receipt?") .
                     "\")) {  \n" .
                     "                       window.location=($url); \n" .
-                    '                       window.reload()' . "\n" .
+                    '                       location.reload()' . "\n" .
                     '               }' . "\n" .
                     '// -->' . "\n" .
                     '</script>' . "\n";