[pmwiki-users] Re: Site.EditForm

Patrick R. Michaud pmichaud at pobox.com
Wed Jul 13 15:43:50 CDT 2005


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.

Backward compatibility is handled by the setting of $PageEditFmt in
scripts/transition.php .

Pm




More information about the pmwiki-users mailing list