[pmwiki-users] [POSSIBLE SPAM] Re: Is 'Page Creator' worth to discuss?
Hans
design5 at softflow.co.uk
Sun Feb 24 10:21:03 CST 2008
Sunday, February 24, 2008, 3:55:48 PM, Patrick R. Michaud wrote:
> ## not tested, but gives the general idea
> function SetPageCreator($pagename, &$page, &$new) {
> global $EnablePost, $Author;
> if ($EnablePost) SDV($new['cauthor'], $Author);
> unshift($EditFunctions, 'SetPageCreator');
close, thanks! This works:
function SetPageCreator($pagename, &$page, &$new) {
global $EnablePost, $Author;
if ($EnablePost) SDV($new['cauthor'], $Author);
}
array_unshift($EditFunctions, 'SetPageCreator');
~Hans
More information about the pmwiki-users
mailing list