|
|
@ -17,73 +17,23 @@ |
|
|
|
<xsl:param name="isDisabled"/> |
|
|
|
<xsl:param name="isDisabled"/> |
|
|
|
<xsl:param name="postfix"/> |
|
|
|
<xsl:param name="postfix"/> |
|
|
|
<a target="_top"> |
|
|
|
<a target="_top"> |
|
|
|
<xsl:if test="not($isDisabled='true')"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$url"/><xsl:value-of select="$postfix"/>?<xsl:value-of select="current/date/ticks"/></xsl:attribute> |
|
|
|
<xsl:when test="$isDisabled='true'"> |
|
|
|
</xsl:if> |
|
|
|
<xsl:attribute name="class">disabled</xsl:attribute> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
<xsl:if test="starts-with(/root/currentUrl, $url)"> |
|
|
|
<xsl:if test="starts-with(/root/currentUrl, $url)"> |
|
|
|
<xsl:attribute name="class">currentLink</xsl:attribute> |
|
|
|
<xsl:attribute name="class">selected</xsl:attribute> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$url"/><xsl:value-of select="$postfix"/>?<xsl:value-of select="current/date/ticks"/></xsl:attribute> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
<xsl:value-of select="$text"/> |
|
|
|
<xsl:value-of select="$text"/> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template name="header"> |
|
|
|
<xsl:template name="header"> |
|
|
|
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1"> |
|
|
|
<div class="designslinks" style="float:right;"> |
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<table width="100%" class="tableborders" cellpadding="3" cellspacing="1"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td align="center" class="menubar"> |
|
|
|
|
|
|
|
<table width="100%" border="0"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td width="15%"> </td> |
|
|
|
|
|
|
|
<td width="70%" align="center"> |
|
|
|
|
|
|
|
<xsl:if test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')"> |
|
|
|
|
|
|
|
<a href="/My/Conversations/"> |
|
|
|
|
|
|
|
<img src="/static/images/newpm.gif" border="0"> |
|
|
|
|
|
|
|
<xsl:attribute name="alt"> |
|
|
|
|
|
|
|
<xsl:text>Ó âàñ </xsl:text> |
|
|
|
|
|
|
|
<xsl:value-of select="session/indicators/unreadPrivateMessages"/> |
|
|
|
|
|
|
|
<xsl:text> íåïðî÷èòàííûõ ëè÷íûõ ñîîáùåíèé</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
</img> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/Forum/</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">/Polls/</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">/Upload/</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> | </xsl:text> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/My/</xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="text">My Home</xsl:with-param> |
|
|
|
|
|
|
|
</xsl:call-template> |
|
|
|
|
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/q/faq/</xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="text">FAQ</xsl:with-param> |
|
|
|
|
|
|
|
</xsl:call-template> |
|
|
|
|
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/Users/</xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="text">Ïîëüçîâàòåëè</xsl:with-param> |
|
|
|
|
|
|
|
</xsl:call-template> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td width="15%" align="right"> |
|
|
|
|
|
|
|
<xsl:variable name="isClassicEnabled"> |
|
|
|
<xsl:variable name="isClassicEnabled"> |
|
|
|
<xsl:call-template name="isClassicEnabled"/> |
|
|
|
<xsl:call-template name="isClassicEnabled"/> |
|
|
|
</xsl:variable> |
|
|
|
</xsl:variable> |
|
|
@ -165,15 +115,53 @@ |
|
|
|
</xsl:attribute> |
|
|
|
</xsl:attribute> |
|
|
|
</link> |
|
|
|
</link> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|
</td> |
|
|
|
</div> |
|
|
|
</tr> |
|
|
|
<div class="header"> |
|
|
|
</table> |
|
|
|
<xsl:if test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')"> |
|
|
|
</td> |
|
|
|
<a href="/My/Conversations/"> |
|
|
|
</tr> |
|
|
|
<img src="/static/images/newpm.gif" border="0"> |
|
|
|
</table> |
|
|
|
<xsl:attribute name="alt"> |
|
|
|
</td> |
|
|
|
<xsl:text>Ó âàñ </xsl:text> |
|
|
|
</tr> |
|
|
|
<xsl:value-of select="session/indicators/unreadPrivateMessages"/> |
|
|
|
</table> |
|
|
|
<xsl:text> íåïðî÷èòàííûõ ëè÷íûõ ñîîáùåíèé</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
</img> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<xsl:text>   </xsl:text> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/Forum/</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">/Polls/</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">/Upload/</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>   </xsl:text> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/My/</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">/q/faq/</xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="text">FAQ</xsl:with-param> |
|
|
|
|
|
|
|
</xsl:call-template> |
|
|
|
|
|
|
|
<xsl:text>   </xsl:text> |
|
|
|
|
|
|
|
<xsl:call-template name="headerLink"> |
|
|
|
|
|
|
|
<xsl:with-param name="url">/Users/</xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="text">Ïîëüçîâàòåëè</xsl:with-param> |
|
|
|
|
|
|
|
</xsl:call-template> |
|
|
|
|
|
|
|
</div> |
|
|
|
<xsl:if test="starts-with(/root/currentUrl, '/Forum/')"> |
|
|
|
<xsl:if test="starts-with(/root/currentUrl, '/Forum/')"> |
|
|
|
<xsl:call-template name="forumHeader"/> |
|
|
|
<xsl:call-template name="forumHeader"/> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|