From: Alexandros V. <av...@us...> - 2004-04-28 12:21:30
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31773 Modified Files: mailbox_display.php Log Message: Instead of excluding one checkbox at a time, only check what should be checked by Toggle All. This will allow plugins to probably put some more checkboxes (like plugin move_all_messages). Of course, the Toggle All link needs to be restored at some point too. (When did that go away in -DEVEL?) Index: mailbox_display.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/mailbox_display.php,v retrieving revision 1.380 retrieving revision 1.381 diff -u -w -r1.380 -r1.381 --- mailbox_display.php 22 Apr 2004 20:14:41 -0000 1.380 +++ mailbox_display.php 28 Apr 2004 12:21:21 -0000 1.381 @@ -1156,7 +1156,7 @@ . "function " . $func_name . "() {\n" . " for (var i = 0; i < document." . $form_name . ".elements.length; i++) {\n" . " if(document." . $form_name . ".elements[i].type == 'checkbox' && " - . "document." . $form_name . ".elements[i].name != 'bypass_trash'){\n" + . " document." . $form_name . ".elements[i].name.substring(0,3) == 'msg'){\n" . " document." . $form_name . ".elements[i].checked = " . " !(document." . $form_name . ".elements[i].checked);\n" . " }\n" |