parent
a2ce385705
commit
354dcf497f
@ -1 +1 @@ |
|||||||
1404 |
1409 |
@ -0,0 +1,34 @@ |
|||||||
|
<?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="boardHeader"> |
||||||
|
<xsl:variable name="baseLink">/Forum/Board/<xsl:value-of select="currentLocation/board/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"/>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"/>Headlines/</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"/>NewThread/</xsl:with-param> |
||||||
|
<xsl:with-param name="text">Íîâàÿ òåìà</xsl:with-param> |
||||||
|
</xsl:call-template> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
</xsl:template> |
||||||
|
</xsl:stylesheet> |
||||||
|
|
@ -0,0 +1,53 @@ |
|||||||
|
<?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:import href="BoardHeader.xslt"/> |
||||||
|
|
||||||
|
<xsl:template name="forumHeader"> |
||||||
|
<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">/Forum/Boards/</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">/Forum/AllThreads/</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">/Forum/AllPosts/</xsl:with-param> |
||||||
|
<xsl:with-param name="text">Ïîñëåäíèå ñîîáùåíèÿ</xsl:with-param> |
||||||
|
</xsl:call-template> |
||||||
|
<xsl:text> | </xsl:text> |
||||||
|
<img src="/static/images/shortcut.png" border="0"/> |
||||||
|
<xsl:call-template name="headerLink"> |
||||||
|
<xsl:with-param name="url">/Users/User/<xsl:value-of select="session/user/id"/>/Replies/</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:if test="currentLocation//board"> |
||||||
|
<xsl:text> | </xsl:text> |
||||||
|
<xsl:call-template name="headerLink"> |
||||||
|
<xsl:with-param name="url">/Forum/Board/<xsl:value-of select="currentLocation//board/id"/>/</xsl:with-param> |
||||||
|
<xsl:with-param name="text"><xsl:value-of select="currentLocation//board/name"/></xsl:with-param> |
||||||
|
</xsl:call-template> |
||||||
|
</xsl:if> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
<xsl:if test="currentLocation/board"> |
||||||
|
<xsl:call-template name="boardHeader"/> |
||||||
|
</xsl:if> |
||||||
|
</xsl:template> |
||||||
|
</xsl:stylesheet> |
||||||
|
|
Loading…
Reference in new issue