|
|
|
@ -17,73 +17,23 @@ |
|
|
|
|
<xsl:param name="isDisabled"/> |
|
|
|
|
<xsl:param name="postfix"/> |
|
|
|
|
<a target="_top"> |
|
|
|
|
<xsl:if test="not($isDisabled='true')"> |
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$url"/><xsl:value-of select="$postfix"/>?<xsl:value-of select="current/date/ticks"/></xsl:attribute> |
|
|
|
|
</xsl:if> |
|
|
|
|
<xsl:choose> |
|
|
|
|
<xsl:when test="$isDisabled='true'"> |
|
|
|
|
<xsl:attribute name="class">disabled</xsl:attribute> |
|
|
|
|
</xsl:when> |
|
|
|
|
<xsl:otherwise> |
|
|
|
|
<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: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"/> |
|
|
|
|
</a> |
|
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
<xsl:template name="header"> |
|
|
|
|
<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"> |
|
|
|
|
<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"> |
|
|
|
|
<div class="designslinks" style="float:right;"> |
|
|
|
|
<xsl:variable name="isClassicEnabled"> |
|
|
|
|
<xsl:call-template name="isClassicEnabled"/> |
|
|
|
|
</xsl:variable> |
|
|
|
@ -165,15 +115,53 @@ |
|
|
|
|
</xsl:attribute> |
|
|
|
|
</link> |
|
|
|
|
</xsl:if> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
<div class="header"> |
|
|
|
|
<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">Ëè÷íîå</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:call-template name="forumHeader"/> |
|
|
|
|
</xsl:if> |
|
|
|
|