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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="Windows-1251"?> <?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: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:template name="headerLink">
<xsl:param name="url"/> <xsl:param name="url"/>
@ -68,6 +70,12 @@
</td> </td>
</tr> </tr>
</table> </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> <center>&#160;&#160;</center>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

Loading…
Cancel
Save