Grey Matter Forums
« Select/Deselect All in Edit Entry pages »

Welcome Guest. Please Login or Register.
May 23, 2013, 10:07pm



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Development :: Mod Dev :: Select/Deselect All in Edit Entry pages
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Select/Deselect All in Edit Entry pages (Read 3,536 times)
debbies
New Member
*
member is offline





Joined: Jan 2007
Posts: 1
Karma: 0
 Select/Deselect All in Edit Entry pages
« Thread Started on Jan 14, 2007, 4:22pm »

Not so much a mod and not at all that I wrote it.

I found this check/uncheck all script at http://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!! http://javascript.internet.com
Created by: Hillel Aftel :: equazcion (at) gmail.com */

function checkAll(checkname, exby) {
for (i = 0; i < checkname.length; i++)
checkname[i].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>');
« Last Edit: Jan 20, 2007, 4:01pm by debbies »Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Select/Deselect All in Edit Entry pages
« Reply #1 on Jan 16, 2007, 11:35am »

Nice, this is excellent. I hate checking all those boxes also.
Link to Post - Back to Top  IP: Logged
petefinnigan
Global Moderator
*****
member is offline




[homepage]

Joined: Aug 2006
Gender: Male
Posts: 219
Location: York, England
Karma: 18
 Re: Select/Deselect All in Edit Entry pages
« Reply #2 on Jan 18, 2007, 2:05pm »

i thought the same, looks very useful.

cheers

Pete
Link to Post - Back to Top  IP: Logged

--
Pete Finnigan (email:pete_at_petefinnigan_dot_com)
Oracle Security Web Site: http://www.petefinnigan.com
Oracle Security Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Book:Oracle security step-by-step Guide
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile