'New' boards and threads are marked as 'new'

main
Inga 🏳‍🌈 15 years ago
parent bbf567cdc3
commit e61e1a197e
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 6
      templates/Full/elems/BoardInfo.xslt
  4. 6
      templates/Full/elems/ThreadInfo.xslt

@ -66,6 +66,12 @@
<xsl:text>îò </xsl:text> <xsl:text>îò </xsl:text>
<xsl:value-of select="post/poster/user/name"/> <xsl:value-of select="post/poster/user/name"/>
</a> </a>
<xsl:text> </xsl:text>
<img alt="new" src="/static/images/new.gif">
<xsl:if test="post/id &lt; 10000000">
<xsl:attribute name="style">visibility:hidden</xsl:attribute>
</xsl:if>
</img>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:text>N/A</xsl:text> <xsl:text>N/A</xsl:text>

@ -75,6 +75,12 @@
</td> </td>
<td nowrap="nowrap" align="center"> <td nowrap="nowrap" align="center">
<xsl:apply-templates select="lastPostDate/date" mode="dateTime"/> <xsl:apply-templates select="lastPostDate/date" mode="dateTime"/>
<xsl:text> </xsl:text>
<img alt="new" src="/static/images/new.gif">
<xsl:if test="lastPostId &lt; 10000000">
<xsl:attribute name="style">visibility:hidden</xsl:attribute>
</xsl:if>
</img>
</td> </td>
</tr> </tr>
</xsl:template> </xsl:template>

Loading…
Cancel
Save