Topic: Toggle

A toggle link in moderate.php for when you're deleting a lot of posts/threads and would need to uncheck less then you need to check smile

Re: Toggle

Huh?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Toggle

'Toggle link' = changes all checkboxes to checked/unchecked in moderate.php.

Re: Toggle

Ah, I see. You lazy bastards :)

I wonder where the hell we would put it though.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Toggle

Basdards? Don't blame me here, I'm just the messanger that have to explain everything around here ;P

Re: Toggle

I make it a habit to shoot the messenger :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Toggle

lol
I was thinking slightly above the delete button (so right below the checkboxes)

Re: Toggle

Above the delete button? Wouldn't it make more sense to put it at the top?

I just thought of something. The feature will require the addition of some JavaScript. Not particularily advanced, but still a few lines of code (loop through all form elements, if the element is a checkbox, check/uncheck it). Where would we put that code? I don't want to bloat up header.php with it and I don't like having JavaScript sections outside the <head> tag (even though it's perfectly valid).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

9 (edited by Smartys 2004-09-08 22:03)

Re: Toggle

lol
Well, didn't you just give no options then? tongue

And either place, doesn't really matter wink

Re: Toggle

Smartys wrote:

lol
Well, didn't you just give no options then? :P

Hehe, guilty as charged :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Toggle

Bah, so much for that tongue
/me makes a note to write a mod for it tongue

Re: Toggle

lol, I just modded it into header.php
Works like a charm and only adds .17 KBs to the file tongue