Quote:
Originally Posted by mtha
I think if you put it into the right place, then the button ONLY display together with "edit" one, and the Edit button only shows up for those who can edit.
note. The code should be added ABOVE the </if> to close the checking for those who can edit.
|
But this isn't a button for editing, it's for
deleting. My members can edit, they cannot delete. If they click the normal edit button they don't get the delete option, but they have the 'quick delete' button there. Sure they'll get no permission when they click it, but I figure it'd be better to hide it.
The code is in the right place.
I think I'll probably be able to try and figure it out from the code on the quick edit hack.