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.
50 lines
2.4 KiB
50 lines
2.4 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="userHeader">
|
|
<xsl:variable name="baseLink">/Users/User/<xsl:value-of select="user/id"/>/</xsl:variable>
|
|
<div class="header">
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Info/</xsl:with-param>
|
|
<xsl:with-param name="text">Èíôîðìàöèÿ</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Threads/</xsl:with-param>
|
|
<xsl:with-param name="text">Òåìû</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Posts/</xsl:with-param>
|
|
<xsl:with-param name="text">Ñîîáùåíèÿ</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Replies/</xsl:with-param>
|
|
<xsl:with-param name="text">Îòâåòû</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>PollsParticipated/</xsl:with-param>
|
|
<xsl:with-param name="text">Îïðîñû</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url">/My/Conversations/Conversation/<xsl:value-of select="accountId"/>/</xsl:with-param>
|
|
<xsl:with-param name="text">Èñòîðèÿ</xsl:with-param>
|
|
<xsl:with-param name="isDisabled">
|
|
<xsl:if test="not(accountId)">true</xsl:if>
|
|
</xsl:with-param>
|
|
</xsl:call-template>
|
|
<xsl:text>   </xsl:text>
|
|
<xsl:call-template name="headerLink">
|
|
<xsl:with-param name="url">/My/Conversations/PMSend/<xsl:value-of select="accountId"/>/</xsl:with-param>
|
|
<xsl:with-param name="text">Íàïèñàòü</xsl:with-param>
|
|
<xsl:with-param name="isDisabled">
|
|
<xsl:if test="not(accountId)">true</xsl:if>
|
|
</xsl:with-param>
|
|
</xsl:call-template>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
|
|
|