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

From Issuepedia
Jump to navigation Jump to search
(trying to use new data loading from page props)
(oops, forgot to remove comment-closer... (also, functions un-hidden and put into sections))
Line 1: Line 1:
<hide>
+
===GetBrief()===
 
 
 
<func GetBrief>
 
<func GetBrief>
 
     <let name=links.out>
 
     <let name=links.out>
Line 40: Line 39:
  
 
</func>
 
</func>
 
+
===ShowRecent()===
 
<func ShowRecent max>
 
<func ShowRecent max>
 
   <let name=idx />
 
   <let name=idx />
Line 64: Line 63:
 
   </for>
 
   </for>
 
</func>
 
</func>
 
+
===ShowTopic_old(iTopic,iMax)===
 
<func ShowTopic_old iTopic iMax>
 
<func ShowTopic_old iTopic iMax>
 
   <let name=idx />
 
   <let name=idx />
Line 97: Line 96:
 
   </for>
 
   </for>
 
</func>
 
</func>
 
+
===ShowTopic(topic,max)===
TO BE TESTED:
 
 
<func ShowTopic topic max>
 
<func ShowTopic topic max>
 
   <let name=topic self with="_"> </let>
 
   <let name=topic self with="_"> </let>
Line 128: Line 126:
 
     <if flag=data[Title]>
 
     <if flag=data[Title]>
 
       <call GetBrief />
 
       <call GetBrief />
     </if><else -->
+
     </if><else>
 
       <let name=links.out>
 
       <let name=links.out>
 
* [[</let>
 
* [[</let>
Line 139: Line 137:
 
   </for>
 
   </for>
 
</func>
 
</func>
</hide>
 

Revision as of 21:14, 19 September 2011

GetBrief()


> function getbrief() <= ()

ShowRecent()


> function showrecent() <= ()

ShowTopic_old(iTopic,iMax)


> function showtopic_old() <= ()

ShowTopic(topic,max)


> function showtopic() <= ()