Difference between revisions of "HypertWiki:Code/lib/data"
Jump to navigation
Jump to search
(clear detection flag before loading page) |
(reverted ShowRecentBlogEntries to working version) |
||
Line 167: | Line 167: | ||
</func> | </func> | ||
<func ShowRecentBlogEntries max | <func ShowRecentBlogEntries max> | ||
<let name=idx /> | <let name=idx /> | ||
<let name=including val=1 /> | <let name=including val=1 /> | ||
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/blog/post')" sort="page_title DESC" limit=$max name=pg hide> | |||
< | |||
<let name=pg_nspace_code>{{ns:</let> | <let name=pg_nspace_code>{{ns:</let> | ||
<let name=pg_nspace_code append val=@row.page_namespace /> | <let name=pg_nspace_code append val=@row.page_namespace /> | ||
Line 188: | Line 179: | ||
<let name=pg_name append>:</let> | <let name=pg_name append>:</let> | ||
<let name=pg_name append copy=pg_title /> | <let name=pg_name append copy=pg_title /> | ||
<let name=idx inc /> | |||
<call GetBlogEntryBrief /> | |||
<let name=e.rtn append copy=e.out /> | |||
<let name=data /> | |||
</ | |||
</for> | </for> | ||
</func> | </func> | ||
<func ShowRecentBlogEntriesFull max> | <func ShowRecentBlogEntriesFull max> |