Post title display improved

main
Inga 🏳‍🌈 14 years ago
parent ed03930d9b
commit 70d1ca4368
  1. 32
      templates/Modern/elems/PostInfo.xslt

@ -83,23 +83,21 @@
</img> </img>
</a> </a>
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<xsl:choose> <xsl:if test="parentPost/post">
<xsl:when test="parentPost/post"> <font class="small separate">
<font class="small separate"> <xsl:text>[</xsl:text>
<xsl:text>[</xsl:text> <a>
<a> <xsl:attribute name="title"><xsl:value-of select="parentPost/post/bodyShort"/></xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="parentPost/post/bodyShort"/></xsl:attribute> <xsl:attribute name="href">/Thread/<xsl:value-of select="threadId"/>/p<xsl:value-of select="parentPost/post/id"/>/</xsl:attribute>
<xsl:attribute name="href">/Thread/<xsl:value-of select="threadId"/>/p<xsl:value-of select="parentPost/post/id"/>/</xsl:attribute> <xsl:text>re: </xsl:text>
<xsl:text>re: </xsl:text> <xsl:value-of select="parentPost/post/poster/user/name"/>
<xsl:value-of select="parentPost/post/poster/user/name"/> </a>
</a> <xsl:text>]</xsl:text>
<xsl:text>]</xsl:text> </font>
</font> </xsl:if>
</xsl:when> <xsl:if test="not(parentPost/post/title = title) and not(concat('Re: ', parentPost/post/title) = title)">
<xsl:otherwise> <xsl:value-of select="title"/>
<xsl:value-of select="title"/> </xsl:if>
</xsl:otherwise>
</xsl:choose>
<div class="postbody"> <div class="postbody">
<xsl:value-of select="body" disable-output-escaping="yes" /> <xsl:value-of select="body" disable-output-escaping="yes" />
</div> </div>

Loading…
Cancel
Save