Sorry, there is an error in my last posting:
>I have a different apporach: I change the style of the current action
>e.g. the background colour, for example with a background colour and
>not being a link:
>
> $HTMLStylesFmt[] = ' .{$Action} { background-color: lightblue; }';
this adds bacground colour for the current action, but this:
> SetTmplDisplay('PageActionFmt',0);
Was wrong. I use
if($action == "browse") $LinkPageSelfFmt =
"<span class='selflink'>\$LinkText</span>"; # avoid self-links
but I don't remember why I limited this to the "browse" action. There
was a reason, though...
Oliver
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users