Paul Lesniewski via squirrelmail-cvs
2017-06-27 04:43:21 UTC
Revision: 14695
http://sourceforge.net/p/squirrelmail/code/14695
Author: pdontthink
Date: 2017-06-27 04:43:21 +0000 (Tue, 27 Jun 2017)
Log Message:
-----------
Forgot to remove the problematic code
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php
Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2017-06-27 04:38:50 UTC (rev 14694)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2017-06-27 04:43:21 UTC (rev 14695)
@@ -988,19 +988,7 @@
if ($javascript_on) {
$safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox);
$func_name = "CheckAll" . $safe_name;
- $form_name = "FormMsgs" . $safe_name;
- $result = '<script language="JavaScript" type="text/javascript">'
- . "\n<!-- \n"
- . "function " . $func_name . "() {\n"
- . " for (var i = 0; i < document." . $form_name . ".elements.length; i++) {\n"
- . " if(document." . $form_name . ".elements[i].type == 'checkbox'){\n"
- . " document." . $form_name . ".elements[i].checked = "
- . " !(document." . $form_name . ".elements[i].checked);\n"
- . " }\n"
- . " }\n"
- . "}\n"
- . "//-->\n"
- . '</script><a href="javascript:void(0)" onClick="' . $func_name . '();">' . _("Toggle All")
+ $result = '<a href="javascript:void(0)" onClick="' . $func_name . '();">' . _("Toggle All")
/* . '</script><a href="javascript:' . $func_name . '()">' . _("Toggle All")*/
. "</a>\n";
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
http://sourceforge.net/p/squirrelmail/code/14695
Author: pdontthink
Date: 2017-06-27 04:43:21 +0000 (Tue, 27 Jun 2017)
Log Message:
-----------
Forgot to remove the problematic code
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php
Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2017-06-27 04:38:50 UTC (rev 14694)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2017-06-27 04:43:21 UTC (rev 14695)
@@ -988,19 +988,7 @@
if ($javascript_on) {
$safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox);
$func_name = "CheckAll" . $safe_name;
- $form_name = "FormMsgs" . $safe_name;
- $result = '<script language="JavaScript" type="text/javascript">'
- . "\n<!-- \n"
- . "function " . $func_name . "() {\n"
- . " for (var i = 0; i < document." . $form_name . ".elements.length; i++) {\n"
- . " if(document." . $form_name . ".elements[i].type == 'checkbox'){\n"
- . " document." . $form_name . ".elements[i].checked = "
- . " !(document." . $form_name . ".elements[i].checked);\n"
- . " }\n"
- . " }\n"
- . "}\n"
- . "//-->\n"
- . '</script><a href="javascript:void(0)" onClick="' . $func_name . '();">' . _("Toggle All")
+ $result = '<a href="javascript:void(0)" onClick="' . $func_name . '();">' . _("Toggle All")
/* . '</script><a href="javascript:' . $func_name . '()">' . _("Toggle All")*/
. "</a>\n";
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.