Thanks very much.
I should have said "within" the recipe, but this does function does exactly
what I need,
and the page variable is a bonus
cheers
Simon
On Fri, 18 Mar 2022 at 12:58, Dominique Faure
wrote:
> Hi,
>
> The following code defines a markup variable that you may use in a
>
Hi,
The following code defines a markup variable that you may use in a
test to render content accordingly:
=8<- - - - -
function PmWikiAuthLevel($pagename) {
global $AuthLevels;
SDV($AuthLevels, array('admin', 'edit', 'read'));
foreach($AuthLevels as $level)