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

From Issuepedia
Jump to navigation Jump to search
(→‎ShowTopic(topic,max): restoring earlier debug code I didn't actually mean to remove)
Line 161: Line 161:
 
     <let name=data null />
 
     <let name=data null />
 
     <let name=data load array page=$pg_title />
 
     <let name=data load array page=$pg_title />
<let name=links.rtn append>
+
    <if flag=data[Title]>
 +
      <call GetBrief />
 +
    </if><else>
 +
      <let name=links.out>
 
* [[</let>
 
* [[</let>
<let name=links.rtn append copy=pg_title />
+
      <let name=links.out append copy=pg_title />
<let name=links.rtn append>]] </let>
+
      <let name=links.out append>]]</let>
<let name=links.rtn append copy=data[Title] />
+
    </else>
 +
    <let name=exclude val=0 />
 +
    <let name=links.rtn append copy=links.out />
 
   </for>
 
   </for>
 
</func>
 
</func>

Revision as of 13:40, 20 September 2011

GetBrief()


> function getbrief() <= ()

ShowRecent()


> function showrecent() <= ()

ShowTopic_old(iTopic,iMax)


> function showtopic_old() <= ()

ShowTopic(topic,max)


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