[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


*%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] ]]

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


More information about the pmwiki-users mailing list