[pmwiki-users] dangerous links on edit window (triad?)

jdd jdd at dodin.org
Wed Aug 5 11:38:15 CDT 2009


Hans a écrit :

> whatever follows will not be shown if the current action is 'edit',
> i.e. you are in the edit window.

my page is as copied below. If I add your line on top, only the first
choices are suppressed. I have the expected result if I copy again the
line ((:if !equal {$Action} edit:)) after the auth admin if, but I beg
there is a better solution

thanks
jdd

*%rel=nofollow%[[{*$FullName}?action=edit | $[Edit] ]]
*%rel=nofollow%[[{*$FullName}?action=diff | $[Page History] ]]
*%rel=nofollow accesskey=$[ak_source]%[[{*$FullName}?action=source |
$[Source] ]]
*%rel=nofollow accesskey=$[ak_upload]%[[{*$FullName}?action=upload |
$[Attach File] ]]
*%rel=nofollow%[[Site.Search?q=link={*$FullName} | $[Backlinks] ]]
*%rel=nofollow%[[Site.Search?q={*$Group}/ | $[List Group] ]]
(:if auth admin:)
*%rel=nofollow%[[{*$FullName}?action=attr| $[Attributes] ]]
*%rel=nofollow%[[{*$Group}.GroupAttributes| $[Group Attributes] ]]
(:ifend:)

->''$[Page last modified on] {*$LastModified}''


-- 
http://www.dodin.net
http://valerie.dodin.org
http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/




More information about the pmwiki-users mailing list