Slight refactoring of header panels

main
Inga 🏳‍🌈 14 years ago
parent df26b40802
commit a69c97ce4f
  1. 2
      templates/Full/Conversation.xslt
  2. 2
      templates/Full/Conversations.xslt
  3. 2
      templates/Full/Login.xslt
  4. 2
      templates/Full/MigrateAccount.xslt
  5. 2
      templates/Full/PMReply.xslt
  6. 2
      templates/Full/PMSend.xslt
  7. 2
      templates/Full/RegisterByInvite.xslt
  8. 2
      templates/Full/Settings.xslt
  9. 2
      templates/Full/UserInfo.xslt
  10. 2
      templates/Full/UserList.xslt
  11. 2
      templates/Full/UserPollsParticipated.xslt
  12. 2
      templates/Full/UserPosts.xslt
  13. 2
      templates/Full/UserReplies.xslt
  14. 8
      templates/Full/elems/Header.xslt

@ -1,13 +1,11 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\PMInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:value-of select="conversationInfo/interlocutor/account/user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<xsl:call-template name="conversationInfo"/>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">

@ -1,11 +1,9 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\ConversationInfo.xslt"/>
<xsl:template name="specificTitle">Ëè÷íûå ñîîáùåíèÿ</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Âõîä</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Ìèãðàöèÿ</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,14 +1,12 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\TextEditor.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåò íà ëè÷íîå ñîîáùåíèå - </xsl:text>
<xsl:value-of select="message/interlocutor/account/user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,11 +1,9 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:import href="elems\TextEditor.xslt"/>
<xsl:template name="specificTitle">Íîâîå ëè÷íîå ñîîáùåíèå</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Ðåãèñòðàöèÿ</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\MyHeader.xslt"/>
<xsl:template name="specificTitle">Íàñòðîéêè</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="myHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:template name="specificTitle"><xsl:value-of select="user/name"/></xsl:template>
<xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,10 +1,8 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:template name="specificTitle">Ïîëüçîâàòåëè</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,11 +1,9 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PollShortInfo.xslt"/>
<xsl:template name="specificTitle">Îïðîñû</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,14 +1,12 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Ñîîáùåíèÿ - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,14 +1,12 @@
<?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="elems\Main.xslt"/>
<xsl:import href="elems\UsersHeader.xslt"/>
<xsl:import href="elems\PostInfo.xslt"/>
<xsl:template name="specificTitle">
<xsl:text>Îòâåòû - </xsl:text>
<xsl:value-of select="user/name"/>
</xsl:template>
<xsl:template name="specific">
<xsl:call-template name="usersHeader"/>
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>

@ -1,5 +1,7 @@
<?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="MyHeader.xslt"/>
<xsl:import href="UsersHeader.xslt"/>
<xsl:template name="headerLink">
<xsl:param name="url"/>
@ -68,6 +70,12 @@
</td>
</tr>
</table>
<xsl:if test="starts-with(/root/currentUrl, '/Users/')">
<xsl:call-template name="usersHeader"/>
</xsl:if>
<xsl:if test="starts-with(/root/currentUrl, '/My/')">
<xsl:call-template name="myHeader"/>
</xsl:if>
<center>&#160;&#160;</center>
</xsl:template>
</xsl:stylesheet>

Loading…
Cancel
Save