[pmwiki-users] Link to create new wikipage

Hans design at flutesong.fsnet.co.uk
Mon Aug 15 13:33:01 CDT 2005

Monday, August 15, 2005, 5:21:09 PM, Patrick wrote:
> Try http://www.pmwiki.org/wiki/Cookbook/NewPageBox .

This is great! Thanks a lot!

Could you add style handles to the form as well please,
(class='newpagebutton' and class='newpagebox')
plus perhaps have a variable hold the form, like:

SDV($NewPageBoxFmt, "<form class='newpage' action='$ScriptUrl' method='post'><input
    type='hidden' name='n' value='$pagename' /><input
    type='hidden' name='action' value='new' /><input
    type='hidden' name='base' value='{$opt['base']}' /><input
    type='hidden' name='template' value='{$opt['template']}' />
    <input class='newpagebutton' type='submit' value='{$opt['button']}' />
    <input class='newpagebox' type='text' name='name' value='' /></form>");
    return $NewPageBoxFmt;


More information about the pmwiki-users mailing list