Follow-up to previous commit

main
Inga 🏳‍🌈 14 years ago
parent e002446817
commit 1722f72b5d
  1. 39
      templates/Full/elems/UserHeader.xslt

@ -0,0 +1,39 @@
<?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>
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1">
<tr>
<td align="center" class="menubar">
<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"/>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>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>
Loading…
Cancel
Save