Post display improved

main
Inga 🏳‍🌈 14 years ago
parent 7198082f81
commit cdd6516c59
  1. 29
      templates/Modern/elems/PostInfo.xslt

@ -83,18 +83,23 @@
</img> </img>
</a> </a>
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<xsl:if test="parentPost/post"> <xsl:choose>
<font class="small separate"> <xsl:when test="parentPost/post">
<xsl:text>[</xsl:text> <font class="small separate">
<a> <xsl:text>[</xsl:text>
<xsl:attribute name="title"><xsl:value-of select="parentPost/post/bodyShort"/></xsl:attribute> <a>
<xsl:attribute name="href">/Thread/<xsl:value-of select="threadId"/>/p<xsl:value-of select="parentPost/post/id"/>/</xsl:attribute> <xsl:attribute name="title"><xsl:value-of select="parentPost/post/bodyShort"/></xsl:attribute>
<xsl:text>re: </xsl:text> <xsl:attribute name="href">/Thread/<xsl:value-of select="threadId"/>/p<xsl:value-of select="parentPost/post/id"/>/</xsl:attribute>
<xsl:value-of select="parentPost/post/poster/user/name"/> <xsl:text>re: </xsl:text>
</a> <xsl:value-of select="parentPost/post/poster/user/name"/>
<xsl:text>]</xsl:text> </a>
</font> <xsl:text>]</xsl:text>
</xsl:if> </font>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="title"/>
</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