Difference between revisions of "Issuepedia:Code/lib/links"

From Issuepedia
Jump to navigation Jump to search
(→‎ShowTopic(topic,max): incremental debugging of weirdness)
(→‎ShowTopic(topic,max): incremental -- adding in for loop)
Line 151: Line 151:
  
 
   <let name=links.rtn null />
 
   <let name=links.rtn null />
 +
  <for sql=$sql>
 +
    <let name=pg_nspace_code>{{ns:</let>
 +
    <let name=pg_nspace_code append val=@row.page_namespace />
 +
    <let name=pg_nspace_code append>}}</let>
 +
    <!-- let name=pg_nspace copy=pg_nspace_code parse local / -->
 +
    <let name=pg_title val="@row.page_title" />
 +
    <let name=pg_name copy=pg_nspace />
 +
    <let name=pg_name append>:</let>
 +
    <let name=pg_name append copy=pg_title />
 +
  </for>
 
</func>
 
</func>

Revision as of 21:18, 19 September 2011

GetBrief()


> function getbrief() <= ()

ShowRecent()


> function showrecent() <= ()

ShowTopic_old(iTopic,iMax)


> function showtopic_old() <= ()

ShowTopic(topic,max)


> function showtopic() <= ()
> function showtopic2() <= ()