An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/templates/Lite/Conversation.xslt

62 lines
2.2 KiB

<?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\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="conversationInfo"/>
<br />
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="messages/message"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent">
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="conversation/interlocutor/account/id"/>/</xsl:with-param>
</xsl:apply-templates>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<xsl:call-template name="conversationInfo"/>
</xsl:template>
<xsl:template name="conversationInfo">
<p>
<font class="catandforum">
<a href="/Conversations"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a>
<xsl:text> &gt;&gt; </xsl:text>
<xsl:value-of select="conversation/interlocutor/account/user/name"/>
</font>
</p>
</xsl:template>
</xsl:stylesheet>