Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
m (ShowBlogPost -> ShowBlogPostPage)
(we always show the category now; non-category-displaying should be a separate function)
Line 105: Line 105:
   <let name=wtDate append>|category]])</let>
   <let name=wtDate append>|category]])</let>


   <if flag=docat>
   <let name=wtDate append>[[category:</let>
    <let name=wtDate append>[[category:</let>
  <let name=wtDate append copy=PostDate />
    <let name=wtDate append copy=PostDate />
  <let name=wtDate append>]]</let>
    <let name=wtDate append>]]</let>
  </if>


   <let name=wtTitle>__NOEDITSECTION__
   <let name=wtTitle>__NOEDITSECTION__
Line 146: Line 144:
     <let name=wtCatUser append>|c]]'''</sub></let>
     <let name=wtCatUser append>|c]]'''</sub></let>


     <if flag=docat>
     <let name=wtCatUser append> [[category:user/</let>
      <let name=wtCatUser append> [[category:user/</let>
    <let name=wtCatUser append copy=data[User] />
      <let name=wtCatUser append copy=data[User] />
    <let name=wtCatUser append>/</let>
      <let name=wtCatUser append>/</let>
    <let name=wtCatUser append copy=topic />
      <let name=wtCatUser append copy=topic />
    <let name=wtCatUser append>|</let>
      <let name=wtCatUser append>|</let>
    <let name=wtCatUser append copy=topic />
      <let name=wtCatUser append copy=topic />
    <let name=wtCatUser append>]]</let>
      <let name=wtCatUser append>]]</let>
    </if>
   </xploop>
   </xploop>
   <let name=wtCatGlob null />
   <let name=wtCatGlob null />
Line 166: Line 162:
     <let name=wtCatGlob append>|c]]'''</sub></let>
     <let name=wtCatGlob append>|c]]'''</sub></let>


     <if flag=docat>
     <let name=wtCatGlob append>[[category:</let>
      <let name=wtCatGlob append>[[category:</let>
    <let name=wtCatGlob append copy=topic />
      <let name=wtCatGlob append copy=topic />
    <let name=wtCatGlob append>]]</let>
      <let name=wtCatGlob append>]]</let>
    </if>
   </xploop>
   </xploop>
   <let name=user copy=data[User] />
   <let name=user copy=data[User] />

Revision as of 14:20, 14 February 2009