logo       

Approach for handling Diff: msg#00057

web.wiki.pmwiki.user

Subject: Approach for handling Diff

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





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise