[pmwiki-users] Hiding the edit button (:if auth admin:)
Hans
design5 at softflow.co.uk
Tue Sep 4 11:02:24 CDT 2007
Tuesday, September 4, 2007, 4:48:30 PM, Hans wrote:
> On those sites I have used a link to login as admin or editor in the
> low left corner of the site footer, so it is very unobtrusive.
I use something like this:
>>lfloat<<
(:if ! auth edit:)%color:#eeeeef%[[{*$FullName}?action=login|admin]]%%
(:else:)[[{*$FullName}?action=logout|logout]]
In this case the color matched the background. Or you could use a
discret grey: %color:#999% for instance
Chris wrote:
> Why do you HAVE to expose a button for login? Can't someone just
> add the privileged action to the URL line?
It is a lot easier for some clients to remember that there is a login
link to click, than to remember what exactly to type into the browser
url address bar.
~Hans
More information about the pmwiki-users
mailing list