parent
f86c6304e6
commit
8fc8268240
@ -1 +1 @@ |
||||
1504 |
||||
1510 |
@ -1,47 +0,0 @@ |
||||
<?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[not(name(../..)='board')]/id"/>-<xsl:value-of select="currentLocation//board[not(name(../..)='board')]/nameTranslit"/>/</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> |
||||
<xsl:if test="currentLocation//thread"> |
||||
<xsl:text> | </xsl:text> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url"><xsl:value-of select="$baseLink"/>Thread/<xsl:value-of select="currentLocation//thread/id"/>-<xsl:value-of select="currentLocation//thread/nameTranslit"/>/</xsl:with-param> |
||||
<xsl:with-param name="postfix"> |
||||
<xsl:if test="currentLocation//post"> |
||||
<xsl:text>Posts/p</xsl:text> |
||||
<xsl:value-of select="currentLocation//post/id"/> |
||||
</xsl:if> |
||||
</xsl:with-param> |
||||
<xsl:with-param name="text"><xsl:value-of select="substring(currentLocation//thread/name, 1, 30)"/></xsl:with-param> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,68 +0,0 @@ |
||||
<?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[not(name(../..)='board')]"> |
||||
<xsl:text> | </xsl:text> |
||||
<xsl:apply-templates select="currentLocation//board[not(name(../..)='board')]" mode="headerBoardLink"/> |
||||
</xsl:if> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<xsl:if test="currentLocation//board"> |
||||
<xsl:call-template name="boardHeader"/> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="board" mode="headerParentBoardLink"> |
||||
<xsl:apply-templates select="parent/board" mode="headerParentBoardLink"/> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Forum/Board/<xsl:value-of select="id"/>-<xsl:value-of select="nameTranslit"/>/</xsl:with-param> |
||||
<xsl:with-param name="text"><xsl:value-of select="substring(name, 1, 1)"/></xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:text> → </xsl:text> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="board" mode="headerBoardLink"> |
||||
<xsl:apply-templates select="parent/board" mode="headerParentBoardLink"/> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Forum/Board/<xsl:value-of select="id"/>-<xsl:value-of select="nameTranslit"/>/</xsl:with-param> |
||||
<xsl:with-param name="text"><xsl:value-of select="name"/></xsl:with-param> |
||||
</xsl:call-template> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
||||
|
@ -1,87 +0,0 @@ |
||||
<?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="myHeader"> |
||||
<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">/My/Login/</xsl:with-param> |
||||
<xsl:with-param name="text">Âõîä</xsl:with-param> |
||||
<xsl:with-param name="isDisabled"> |
||||
<xsl:if test="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/Conversations/</xsl:with-param> |
||||
<xsl:with-param name="text"> |
||||
<xsl:choose> |
||||
<xsl:when test="session/sessionKey and (session/indicators/unreadPrivateMessages != '0')"> |
||||
<b> |
||||
<xsl:text>Ëè÷íûå ñîîáùåíèÿ (</xsl:text> |
||||
<xsl:value-of select="session/indicators/unreadPrivateMessages"/> |
||||
<xsl:text>)</xsl:text> |
||||
</b> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>Ëè÷íûå ñîîáùåíèÿ</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</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/Settings/</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/UserData/</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/Avatars/</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> |
||||
<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"/>/Info/</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> |
||||
<a target="_top"> |
||||
<xsl:if test="session/sessionKey"> |
||||
<xsl:attribute name="href">/do/Logout/?sessionKey=<xsl:value-of select="session/sessionKey"/></xsl:attribute> |
||||
</xsl:if> |
||||
<xsl:text>Âûõîä</xsl:text> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,28 +0,0 @@ |
||||
<?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="uploadHeader"> |
||||
<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">/Upload/List/</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/New/</xsl:with-param> |
||||
<xsl:with-param name="text">Çàãðóçèòü íîâûé</xsl:with-param> |
||||
</xsl:call-template> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,62 +0,0 @@ |
||||
<?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"/>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"/>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> |
||||
<xsl:text> | </xsl:text> |
||||
<img src="/static/images/shortcut.png" border="0"/> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/My/Conversations/Conversation/<xsl:value-of select="accountId"/>/</xsl:with-param> |
||||
<xsl:with-param name="text">Èñòîðèÿ</xsl:with-param> |
||||
<xsl:with-param name="isDisabled"> |
||||
<xsl:if test="not(accountId)">true</xsl:if> |
||||
</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">/My/Conversations/PMSend/<xsl:value-of select="accountId"/>/</xsl:with-param> |
||||
<xsl:with-param name="text">Íàïèñàòü</xsl:with-param> |
||||
<xsl:with-param name="isDisabled"> |
||||
<xsl:if test="not(accountId)">true</xsl:if> |
||||
</xsl:with-param> |
||||
</xsl:call-template> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
@ -1,44 +0,0 @@ |
||||
<?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="UserHeader.xslt"/> |
||||
|
||||
<xsl:template name="usersHeader"> |
||||
<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">/Users/All/</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">/Users/Active/</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">/Users/Online/</xsl:with-param> |
||||
<xsl:with-param name="text">Â îíëàéíå</xsl:with-param> |
||||
</xsl:call-template> |
||||
<xsl:if test="user"> |
||||
<xsl:text> | </xsl:text> |
||||
<xsl:call-template name="headerLink"> |
||||
<xsl:with-param name="url">/Users/User/<xsl:value-of select="user/id"/>/</xsl:with-param> |
||||
<xsl:with-param name="text"><xsl:value-of select="user/name"/></xsl:with-param> |
||||
</xsl:call-template> |
||||
</xsl:if> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<xsl:if test="user"> |
||||
<xsl:call-template name="userHeader"/> |
||||
</xsl:if> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
|
Loading…
Reference in new issue