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

From Issuepedia
Jump to navigation Jump to search
(minor fixes and debug code)
m (probably nothing that actually makes a difference)
Line 47: Line 47:
 
     <let name=idx inc />
 
     <let name=idx inc />
 
     <if not flag=noLoad>
 
     <if not flag=noLoad>
       <load page=$pg_title />
+
       <load page=$pg_title nocat />
 
     </if>
 
     </if>
 
     <if flag=data[Title]>
 
     <if flag=data[Title]>
Line 77: Line 77:
 
   <let name=sqlWhere append>')</let>
 
   <let name=sqlWhere append>')</let>
  
  <let name=links.rtn>SQL: </let>
 
  <let name=links.rtn append copy=sqlWhere />
 
 
   <for table="qryW3_Titles_Catgs" where=$sqlWhere sort="page_title DESC" name=pg empty="no items yet" limit=$iMax hide>
 
   <for table="qryW3_Titles_Catgs" where=$sqlWhere sort="page_title DESC" name=pg empty="no items yet" limit=$iMax hide>
 
     <let name=pg_title val="@row.pg.page_title" />
 
     <let name=pg_title val="@row.pg.page_title" />
 
     <let name=idx inc />
 
     <let name=idx inc />
 
     <if not flag=noLoad>
 
     <if not flag=noLoad>
       <load page=$pg_title local />
+
       <load page=$pg_title local nocat />
 
     </if>
 
     </if>
 
     <if flag=data[Title]>
 
     <if flag=data[Title]>

Revision as of 17:12, 10 October 2008