|
Post by debbies on Jan 14, 2007 16:22:43 GMT -5
Not so much a mod and not at all that I wrote it. I found this check/uncheck all script at javascript.internet.com and have used it on other forms. We got hit with a ton of spam (before upgrading to newer version) and I wanted a quick way to select all comment entries to delete them all. Hope this helps someone else out too. gm-library.cgi:BEFORE Line 8944 INSERT:<script type="text/javascript"> <!-- /* This script and many more are available free online at The JavaScript Source!! javascript.internet.comCreated by: Hillel Aftel :: equazcion (at) gmail.com */ function checkAll(checkname, exby) { for (i = 0; i < checkname.length; i++) checkname .checked = exby.checked? true:false } // --> </script>
BEFORE Line 9073 INSERT: println('<input type="checkbox" name="all" onClick="checkAll(document.editentry.multideletecommentselection,this)">Check/Uncheck All<br>');
|
|
|
Post by coldstone on Jan 16, 2007 11:35:44 GMT -5
Nice, this is excellent. I hate checking all those boxes also.
|
|
|
Post by petefinnigan on Jan 18, 2007 14:05:16 GMT -5
i thought the same, looks very useful.
cheers
Pete
|
|