|
Approach for handling Diff: msg#00057web.wiki.pmwiki.user
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> |
|---|---|---|
| Previous by Date: | Re: [pmwiki] bug in printfmt: 00057, Bernhard.Weichel@xxxxxxxxxxx |
|---|---|
| Next by Date: | Re: IncludeAble hack needs help: 00057, Patrick R. Michaud |
| Previous by Thread: | bug in printfmti: 00057, Bernhard Weichel in pmwiki-users |
| Next by Thread: | Re: Approach for handling Diff: 00057, Patrick R. Michaud |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |