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?)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7297
7612ce4b-ef26-0410-bec9-
ea0150e637f0
. "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"