[pmwiki-users] Hiding the edit button (:if auth admin:)

H. Fox haganfox at users.sourceforge.net
Tue Sep 4 18:23:10 CDT 2007

On 9/4/07, Hans <design5 at softflow.co.uk> wrote:
> 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

You can also have hidden link with an accesskey and then use the access key.

Demonstration here:



More information about the pmwiki-users mailing list