[pmwiki-users] Dynamic Pageactions edit tab
Florian Fischer
Flori-Fischer at gmx.net
Mon Sep 18 06:20:27 CDT 2006
Hello,
i´ve got a question concerning the tabs. I´m using userauth and dynamic PageActions.
I was trying to include a conditional markup in the Groupheader, giving the user a message if a page is edit-protected.
Now i´d also like to adapt the tabs.
My Site.PAgeActions looks like this
* [[{$FullName}?action=search | $[Search] ]]
(:if ( ! action browse ) :)
* %item class=browse accesskey='$[ak_view]'%[[{$FullName} | $[View] ]]
(:if ( loggedin && ! action edit ) :)
* %item rel=nofollow class=edit accesskey='$[ak_edit]'%[[{$FullName}?action=edit | $[Edit] ]]
(:if ( loggedin && ! action diff ) :)
* %item rel=nofollow class=diff accesskey='$[ak_history]'%[[{$FullName}?action=diff | $[History] ]]
(:if ( loggedin && auth upload ) :)
* %item rel=nofollow class=upload accesskey='$[ak_attach]'%[[{$FullName}?action=upload | $[Attach] ]]
(:if ( ! action print ) :)
* %item rel=nofollow class=print accesskey='$[ak_print]'%[[{$FullName}?action=print | $[Print] ]]
(:if ( loggedin ) :)
* %item rel=nofollow class=login accesskey='$[ak_login]'%[[{$FullName}?action=logout | $[Logout] ]]
(:if ( ! loggedin ) :)
* %item rel=nofollow class=logout accesskey='$[ak_logout]'%[[{$FullName}?action=login | $[Login] ]]
(:if:)
How do i have to modify the edit tab if i only want to show it on pages which aren´t edit-protected?
Regards,
Florian
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the pmwiki-users
mailing list