"Hans" wrote : > perhaps something like this: > $page = RetrieveAuthPage($pagename, "read", false, READPAGE_CURRENT); > $shoutmessage = "'''[[".$PageAuthId."|".$AuthId."]]''': > $shoutmessage - [-''" > .strftime('%d/%m %H:%M', time() )."''-] [[<<]]"; > $content = $shoutmessage."\n\n".$page['text'];
> if this is in a function, you also need to set in it (at the beginning): > global $PageAuthId,$AuthId; got it, and it works. Thanks ! SH _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users