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

From Issuepedia
Jump to navigation Jump to search
(this will need refining as migration proceeds and we have more data to test with)
 
(forgot to close func definition; also, a test)
Line 2: Line 2:
 
<func Links.ShowRecent max>
 
<func Links.ShowRecent max>
 
   <let name=idx />
 
   <let name=idx />
 +
<echo>MAX: <get name=max /></echo>
 
   <for table="qryW3_Titles_Catgs" where="(cl_to='Data/links')" name=pg limit=$max hide>
 
   <for table="qryW3_Titles_Catgs" where="(cl_to='Data/links')" name=pg limit=$max hide>
 
     <let name=pg_title val="@row.pg.page_title" />
 
     <let name=pg_title val="@row.pg.page_title" />
Line 43: Line 44:
 
     <echo>
 
     <echo>
 
* <get name=out /></echo>
 
* <get name=out /></echo>
</for>
+
  </for>
 +
</func>
 
</hide>
 
</hide>

Revision as of 12:42, 25 September 2008