Difference between revisions of "HypertWiki:Code/lib/data"
Jump to navigation
Jump to search
(moved catg display into inner function; some tweaks) |
(reinstated noCat -- sometimes we just want to link to categories, not set them.) |
||
Line 149: | Line 149: | ||
<let name=e.out append> | <let name=e.out append> | ||
<small>'''Categories''' –</let> | <small>'''Categories''' –</let> | ||
<let name=noCat val=1 /> | |||
<call MakeBlogCatgs /> | <call MakeBlogCatgs /> | ||
<if flag=wtCatGlob> | <if flag=wtCatGlob> | ||
Line 219: | Line 220: | ||
<let name=wtCatUser append>|c]]'''</sub></let> | <let name=wtCatUser append>|c]]'''</sub></let> | ||
<let name=wtCatUser append> [[category:user/</let> | <if not flag=noCat> | ||
<let name=wtCatUser append> [[category:user/</let> | |||
<let name=wtCatUser append copy=data[User] /> | |||
<let name=wtCatUser append>/</let> | |||
<let name=wtCatUser append copy=topic /> | |||
<let name=wtCatUser append>|</let> | |||
<let name=wtCatUser append copy=topic /> | |||
<let name=wtCatUser append>]]</let> | |||
</if> | |||
</xploop> | </xploop> | ||
<let name=wtCatGlob null /> | <let name=wtCatGlob null /> | ||
Line 237: | Line 240: | ||
<let name=wtCatGlob append>|c]]'''</sub></let> | <let name=wtCatGlob append>|c]]'''</sub></let> | ||
<let name=wtCatGlob append>[[category:</let> | <if not flag=noCat> | ||
<let name=wtCatGlob append>[[category:</let> | |||
<let name=wtCatGlob append copy=topic /> | |||
<let name=wtCatGlob append>]]</let> | |||
</if> | |||
</xploop> | </xploop> |