[pmwiki-users] Re: Site.EditForm
V.Krishn
mistyfire at autograf.pl
Wed Jul 13 16:17:11 CDT 2005
On Thursday 14 July 2005 02:13, you wrote:
> On Thu, Jul 14, 2005 at 02:27:25AM +0530, V.Krishn wrote:
> > I understand that now "Site.EditForm" has become the default edit form.
> >
> > I was wondering in v.beta45 line 1171 :
> > SDV($PageEditFmt, "<div id='wikiedit'>...
> > ....
> > Does this block of code used somewhere or used as backup when the file
> > Site.EditForm is missing OR its there for backward compatibility?
>
> It's a form of backup for when forms.php isn't included. Eventually
> it's going to be backup for when the edit form has been corrupted.
:-), ya adding this fall-back feature in future release would be great as
having EditForm as a wikipage is a potent tool affecting whole site.
Presently, I tried removing the file "Site.EditForm", but the fall-back code
did not get triggered during editing. ;-)
V.Krishn
>
> Backward compatibility is handled by the setting of $PageEditFmt in
> scripts/transition.php .
>
> Pm
More information about the pmwiki-users
mailing list