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/Modern/elems/PollsHeader.xslt

26 lines
1.1 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="pollsHeader">
<div class="header">
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Polls/List/</xsl:with-param>
<xsl:with-param name="text">Ñïèñîê</xsl:with-param>
</xsl:call-template>
<xsl:text>&#160;&#160;&#160;</xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/PollsParticipated/</xsl:with-param>
<xsl:with-param name="text">Ìîè (?)</xsl:with-param>
<xsl:with-param name="isDisabled">
<xsl:if test="not(session/sessionKey)">true</xsl:if>
</xsl:with-param>
</xsl:call-template>
<xsl:text>&#160;&#160;&#160;</xsl:text>
<xsl:call-template name="headerLink">
<xsl:with-param name="url">/Polls/New/</xsl:with-param>
<xsl:with-param name="text">Íîâûé</xsl:with-param>
</xsl:call-template>
</div>
</xsl:template>
</xsl:stylesheet>