Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
(better name for function arg; we might want to be able to pass templates directly later on)
Line 198: Line 198:
</func>
</func>


<func ShowRecentBlogEntries max fmtEntry>
<func ShowRecentBlogEntries max funcEntry>
   <let name=idx />
   <let name=idx />
   <if not flag=fmtEntry>
   <if not flag=funcEntry>
     <let name=fmtEntry val="GetBlogEntryBrief" />
     <let name=funcEntry val="GetBlogEntryBrief" />
   </if>
   </if>
   <let name=including val=1 />
   <let name=including val=1 />
Line 214: Line 214:
     <let name=pg_name append copy=pg_title />
     <let name=pg_name append copy=pg_title />
     <let name=idx inc />
     <let name=idx inc />
     <call func=$fmtEntry />
     <call func=$funcEntry />
     <let name=e.rtn append copy=e.out />
     <let name=e.rtn append copy=e.out />
     <let name=data />
     <let name=data />

Revision as of 13:39, 5 May 2010