[pmwiki-users] styling within an if statement?

Ian MacGregor ardchoille42 at me.com
Fri Oct 18 00:21:59 CDT 2013


I have this in a page that is included in the .tmpl file:

(:if authid:)
[[SiteAdmin/HomePage | Admin]]  
[[{*$FullName}?action=logout | Logout]]
(:else:)
[[{*$FullName}?action=login | Login]]
(:ifend:)

What I would like to do is have the Login/Logout links located at the right of the page, like so:

(:if authid:)
[[SiteAdmin/HomePage | Admin]]  
%right%[[{*$FullName}?action=logout | Logout]]%%
(:else:)
%right%[[{*$FullName}?action=login | Login]]%%
(:ifend:)

But that doesn't work, and I think it's because of the (:if authid:) statement. Is there any way to do this?

Regards,
Rev. Ian MacGregor
http://www.ianmacgregor.net


More information about the pmwiki-users mailing list