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.
103 lines
3.6 KiB
103 lines
3.6 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\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">
|
|
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
|
|
<tr>
|
|
<td>
|
|
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
|
|
<tr>
|
|
<td class="tdheader">
|
|
<xsl:text>Îòâåò íà ëè÷íîå ñîîáùåíèå (</xsl:text>
|
|
<xsl:value-of select="message/interlocutor/account/user/name"/>
|
|
<xsl:text>)</xsl:text>
|
|
</td>
|
|
</tr>
|
|
<tr class="darktable">
|
|
<td>
|
|
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ îòïðàâêè ëè÷íîãî ñîîáùåíèÿ. HTML îòêëþ÷åí. UBBCode âêëþ÷åí, è âû ìîæåòå èñïîëüçîâàòü UBBCode â âàøèõ ñîîáùåíèÿõ. Àíîíèìíûå ñîîáùåíèÿ ðàçðåøåíû, è âû ìîæåòå âûáðàòü ëþáîå íåçàðåãèñòðèðîâàííîå èìÿ.</xsl:text>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="lighttable">
|
|
<form method="post" action="/do/SendPM/" name="replier">
|
|
<input type="hidden" name="receiverId">
|
|
<xsl:attribute name="value"><xsl:value-of select="message/interlocutor/account/id"/></xsl:attribute>
|
|
</input>
|
|
<xsl:text>Ïîëüçîâàòåëü: </xsl:text>
|
|
<xsl:value-of select="session/user/name"/>
|
|
<br/>
|
|
<br/>
|
|
<xsl:text>Òåìà: </xsl:text>
|
|
<br/>
|
|
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60">
|
|
<xsl:choose>
|
|
<xsl:when test="substring(message/title, 1, 4)='Re: '">
|
|
<xsl:attribute name="value"><xsl:value-of select="message/title"/></xsl:attribute>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:attribute name="value">
|
|
<xsl:text>Re: </xsl:text>
|
|
<xsl:value-of select="message/title"/>
|
|
</xsl:attribute>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</input>
|
|
<br/>
|
|
<br/>
|
|
<xsl:call-template name="textEditor">
|
|
<xsl:with-param name="body">
|
|
<xsl:text>[q]</xsl:text>
|
|
<xsl:value-of select="quoted"/>
|
|
<xsl:text>[/q]
|
|
</xsl:text>
|
|
</xsl:with-param>
|
|
</xsl:call-template>
|
|
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br/>
|
|
|
|
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
|
|
<tr>
|
|
<td>
|
|
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders">
|
|
<tr>
|
|
<td class="tdheader">
|
|
<xsl:text>Îòâåò íà ñîîáùåíèå</xsl:text>
|
|
</td>
|
|
</tr>
|
|
<tr class="darktable">
|
|
<td>
|
|
<b>
|
|
<xsl:text>Àâòîð: </xsl:text>
|
|
<xsl:value-of select="message/poster/account/user/name"/>
|
|
<br/>
|
|
<xsl:text>Òåìà: </xsl:text>
|
|
<xsl:value-of select="message/title"/>
|
|
</b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="lighttable">
|
|
<xsl:value-of select="message/body" disable-output-escaping="yes"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet> |