[Pmwiki-users] Approach for handling Diff
Bernhard Weichel in pmwiki-users
pmwiki-users at b-weichel.2in.de
Sat Jun 14 06:47:50 CDT 2003
the new pagelayout approach in Version 0.5.0 is not applicable to diffs.
So I propose that there is also a Variable simmilar to HandleBrowseFmt and
HandleEditFmt HandleSearchFmt
for Diff, Refcount and all other actions.
$PageDiffFmt = "<h1><a href='\$PageUrl'>\$PageName</a> Revisions</h1>";
$PageDiffFootFmt = "<p /><hr />Back to <a href='\$PageUrl'>\$PageName</a>";
$HandleBrowseFmt = array(&$HTMLStartFmt,&$PageHeaderFmt,&$PageTitleFmt,
"function:PrintText",&$PageFooterFmt,&$HTMLEndFmt);
$HandleDiffFmt = array(&$HTMLStartFmt,&$PageDiffFmt,
"function:PrintDiff",&$PageDiffFootFmt,&$HTMLEndFmt);
This should IMHO not influence any existing customization
--b
More information about the pmwiki-users
mailing list