An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FLocal/templates/Lite/elems/Header.xslt

36 lines
1.2 KiB

<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:template name="header">
<p>
<xsl:if test="session/sessionKey">
<a>
<xsl:attribute name="href">/Conversations/?<xsl:value-of select="current/date/ticks"/></xsl:attribute>
<xsl:if test="session/indicators/unreadPrivateMessages != '0'">
<img src="/static/images/newpm.gif" border="0">
<xsl:attribute name="alt">
<xsl:value-of select="session/indicators/unreadPrivateMessages"/>
<xsl:text> new messages</xsl:text>
</xsl:attribute>
</img>
</xsl:if>
<xsl:text>PM</xsl:text>
</a>
<xsl:text> | </xsl:text>
<a href="/Boards/"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>
<xsl:text> | </xsl:text>
<a target="_top">
<xsl:attribute name="href">/do/Logout/?sessionKey=<xsl:value-of select="session/sessionKey"/></xsl:attribute>
<xsl:text><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></xsl:text>
</a>
</xsl:if>
<xsl:if test="session/notLoggedIn">
<a target="_top">
<xsl:attribute name="href">/Login/</xsl:attribute>
<xsl:text><EFBFBD><EFBFBD><EFBFBD><EFBFBD></xsl:text>
</a>
</xsl:if>
</p>
</xsl:template>
</xsl:stylesheet>