parent
237e646c4d
commit
c842f30f87
@ -1 +1 @@ |
||||
431 |
||||
462 |
@ -1 +1 @@ |
||||
167 |
||||
198 |
After Width: | Height: | Size: 146 B |
@ -0,0 +1,93 @@ |
||||
<?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="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"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr class="darktable"> |
||||
<td> |
||||
<table width="100%" cellpadding="0" cellspacing="0"> |
||||
<tr class="darktable"> |
||||
<td align="left" width="33%"> |
||||
<font class="catandforum"> |
||||
<a href="/Conversations"><xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text></a> |
||||
<xsl:text> >> </xsl:text> |
||||
<xsl:value-of select="conversation/interlocutor/account/user/name"/> |
||||
</font> |
||||
</td> |
||||
<td width="33%" align="right"> |
||||
<table border="0" class="tablesurround"> |
||||
<tr> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<a> |
||||
<img alt="*" src="/static/images/greyflat.gif" style="vertical-align: text-bottom" /> |
||||
<xsl:text>Ïëîñêèé</xsl:text> |
||||
</a> |
||||
</td> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<a> |
||||
<img src="/static/images/greythreaded.gif" border="0" style="vertical-align: text-bottom" alt="Äåðåâî" /> |
||||
<xsl:text>Äåðåâî</xsl:text> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,92 @@ |
||||
<?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\ConversationInfo.xslt"/> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" border="0" class="tableborders"> |
||||
<tr class="darktable"> |
||||
<td colspan="6"> |
||||
<table width="100%" cellpadding="0" cellspacing="0"> |
||||
<tr> |
||||
<td colspan="2" class="catandforum"> |
||||
<xsl:text>Ïðèâàòíûå ñîîáùåíèÿ</xsl:text> |
||||
</td> |
||||
<td align="right" valign="bottom"> |
||||
<table border="0" class="tablesurround"> |
||||
<tr> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<!-- postoption is either newpost.gif or greynewpost.gif --> |
||||
<a> |
||||
<xsl:attribute name="href">/PMSend/</xsl:attribute> |
||||
<img src="/static/images/newpost.gif" alt="Íîâîå ñîîáùåíèå" border="0" width="13" height="15" style="vertical-align: text-bottom" /> |
||||
<xsl:text>Ñîîáùåíèå</xsl:text> |
||||
</a> |
||||
</td> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<!-- prevoption is either previous.gif or greyprevious.gif --> |
||||
<a> |
||||
<img alt="Ïðåäûäóùàÿ ñòðàíèöà" border="0" width="12" height="15" style="vertical-align: text-bottom"> |
||||
<xsl:attribute name="src">/static/images/greyprevious.gif</xsl:attribute> |
||||
</img> |
||||
<xsl:text>Ïðåä.</xsl:text> |
||||
</a> |
||||
</td> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<a> |
||||
<img src="/static/images/all.gif" alt="Ñïèñîê ôîðóìîâ" border="0" width="19" height="15" style="vertical-align: text-bottom" /> |
||||
<xsl:text>Ñïèñîê</xsl:text> |
||||
</a> |
||||
</td> |
||||
<td class="navigation" nowrap="nowrap"> |
||||
<!-- nextoption is either next.gif or greynext.gif --> |
||||
<a> |
||||
<img alt="Ñëåäóþùàÿ ñòðàíèöà" border="0" width="14" height="15" style="vertical-align: text-bottom"> |
||||
<xsl:attribute name="src">/static/images/next.gif</xsl:attribute> |
||||
</img> |
||||
<xsl:text>Ñëåä.</xsl:text> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<br/> |
||||
<table width="95%" align="center" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td align="left" nowrap="nowrap" width="75%" class="tdheader">Ñîáåñåäíèê</td> |
||||
<td nowrap="nowrap" width="5%" class="tdheader" align="center">Ïîñòîâ</td> |
||||
<td nowrap="nowrap" width="20%" class="tdheader" align="center">Ïîñëåäíåå</td> |
||||
</tr> |
||||
<!-- BEGIN POST LOOP DO NOT DELETE --> |
||||
<xsl:apply-templates select="conversations/conversation"/> |
||||
<!-- END OF LOOP --> |
||||
<tr class="tdheader"> |
||||
<td colspan="5"> |
||||
<font class="onbody"> |
||||
<xsl:text>ñòðàíèöû:</xsl:text> |
||||
<xsl:apply-templates select="conversations/pageOuter" mode="withCurrent"> |
||||
<xsl:with-param name="baseLink">/Conversations/</xsl:with-param> |
||||
</xsl:apply-templates> |
||||
</font> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,107 @@ |
||||
<?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="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="message/bodyUBB"/> |
||||
<xsl:text>[/q]</xsl:text> |
||||
</xsl:with-param> |
||||
</xsl:call-template> |
||||
<br/> |
||||
<input type="checkbox" name="preview" value="1" class="formboxes" disabled="disabled" /> |
||||
<xsl:text>ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<input type="checkbox" name="spellcheck" value="1" class="formboxes" onChange="document.replier.preview.checked=this.checked;" disabled="disabled" /> |
||||
<xsl:text>Ïðîâåðèòü ïðàâîïèñàíèå</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<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> |
@ -0,0 +1,104 @@ |
||||
<?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="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="board/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="receiver/account/id"/></xsl:attribute> |
||||
</input> |
||||
<xsl:text>Ïîëüçîâàòåëü: </xsl:text> |
||||
<xsl:value-of select="session/user/name"/> |
||||
<br/> |
||||
<xsl:text>Ïîëó÷àòåëü: </xsl:text> |
||||
<xsl:value-of select="post/poster/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(post/title, 1, 4)='Re: '"> |
||||
<xsl:attribute name="value"><xsl:value-of select="post/title"/></xsl:attribute> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:attribute name="value"> |
||||
<xsl:text>Re: </xsl:text> |
||||
<xsl:value-of select="post/title"/> |
||||
</xsl:attribute> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</input> |
||||
<br/> |
||||
<br/> |
||||
<xsl:call-template name="textEditor"/> |
||||
<br/> |
||||
<input type="checkbox" name="preview" value="1" class="formboxes" disabled="disabled" /> |
||||
<xsl:text>ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<input type="checkbox" name="spellcheck" value="1" class="formboxes" onChange="document.replier.preview.checked=this.checked;" disabled="disabled" /> |
||||
<xsl:text>Ïðîâåðèòü ïðàâîïèñàíèå</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<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="post/poster/user/name"/> |
||||
<br/> |
||||
<xsl:text>Òåìà: </xsl:text> |
||||
<xsl:value-of select="post/title"/> |
||||
</b> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<xsl:value-of select="post/body" disable-output-escaping="yes"/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,56 @@ |
||||
<?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="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> |
||||
</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"> |
||||
<xsl:text>Ïîëüçîâàòåëü: </xsl:text> |
||||
<xsl:value-of select="session/user/name"/> |
||||
<br/> |
||||
<xsl:text>Ïîëó÷àòåëü: </xsl:text> |
||||
<input type="text" name="receiverName" class="formboxes" size="15"/> |
||||
<br/> |
||||
<br/> |
||||
<xsl:text>Òåìà: </xsl:text> |
||||
<br/> |
||||
<input type="text" tabindex="1" name="title" maxlength="70" class="formboxes" size="60"/> |
||||
<br/> |
||||
<br/> |
||||
<xsl:call-template name="textEditor"/> |
||||
<br/> |
||||
<input type="checkbox" name="preview" value="1" class="formboxes" disabled="disabled" /> |
||||
<xsl:text>ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<input type="checkbox" name="spellcheck" value="1" class="formboxes" onChange="document.replier.preview.checked=this.checked;" disabled="disabled" /> |
||||
<xsl:text>Ïðîâåðèòü ïðàâîïèñàíèå</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<input type="submit" tabindex="3" name="textcont" taborder="2" value="Ïðîäîëæèòü" class="buttons"/> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,58 @@ |
||||
<?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 match="conversation"> |
||||
<tr> |
||||
<xsl:choose> |
||||
<xsl:when test="position() mod 2 = 0"> |
||||
<xsl:attribute name="class">lighttable</xsl:attribute> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:attribute name="class">darktable</xsl:attribute> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
<td align="left"> |
||||
<img alt="*" hspace="5" style="vertical-align: text-bottom"> |
||||
<xsl:choose> |
||||
<xsl:when test="afterLastRead and afterLastRead>lastMessageId"> |
||||
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:attribute name="src">/static/images/message-normal-notread.gif</xsl:attribute> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</img> |
||||
<a> |
||||
<xsl:attribute name="href"> |
||||
<xsl:text>/Conversation/</xsl:text> |
||||
<xsl:value-of select="interlocutor/account/id"/> |
||||
<xsl:text>/</xsl:text> |
||||
<xsl:if test="afterLastRead<=lastPostId"> |
||||
<xsl:text>p</xsl:text> |
||||
<xsl:value-of select="afterLastRead"/> |
||||
</xsl:if> |
||||
</xsl:attribute> |
||||
<xsl:value-of select="interlocutor/account/user/name"/> |
||||
</a> |
||||
<span class="small" style="margin-left:1.5em"> |
||||
<xsl:apply-templates select="pageOuter" mode="withoutCurrent"> |
||||
<xsl:with-param name="baseLink">/Conversation/<xsl:value-of select="interlocutor/account/id"/>/</xsl:with-param> |
||||
</xsl:apply-templates> |
||||
</span> |
||||
</td> |
||||
<td align="center" nowrap="nowrap"> |
||||
<span class="separate"><xsl:value-of select="totalMessages"/></span> |
||||
<xsl:if test="totalNewMessages and totalNewMessages!='0'"> |
||||
<a class="cup separate"> |
||||
<font class="new"><i>(<xsl:value-of select="totalNewMessages"/>)</i></font> |
||||
</a> |
||||
</xsl:if> |
||||
</td> |
||||
<td nowrap="nowrap" align="center"> |
||||
<xsl:apply-templates select="lastMessageDate/date" mode="dateTime"/> |
||||
</td> |
||||
</tr> |
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,105 @@ |
||||
<?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="UserInfoBar.xslt"/> |
||||
<xsl:template match="message"> |
||||
<tr> |
||||
<td> |
||||
<table width="100%" cellspacing="1" cellpadding="3" border="0"> |
||||
<tr> |
||||
<td width="120" valign="top" class="darktable" rowspan="2"> |
||||
<a><xsl:attribute name="name">Message<xsl:value-of select="id"/></xsl:attribute></a> |
||||
<xsl:apply-templates select="poster/account/user" mode="userInfoBar"/> |
||||
</td> |
||||
<td class="subjecttable"> |
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
||||
<tr> |
||||
<td align="left" width="65%" valign="top"> |
||||
<a target="_blank" class="separate"> |
||||
<img border="0" alt="" style="vertical-align: text-bottom"> |
||||
<xsl:choose> |
||||
<xsl:when test="isRead='false'"> |
||||
<xsl:attribute name="src">/static/images/message-normal-notread.gif</xsl:attribute> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</img> |
||||
</a> |
||||
<b class="separate"><xsl:value-of select="title"/></b> |
||||
<xsl:if test="isRead='false'"> |
||||
<img alt="new" src="/static/images/new.gif" /> |
||||
</xsl:if> |
||||
<br /> |
||||
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font> |
||||
</td> |
||||
<td align="right" width="35%"> |
||||
<table cellpadding="0" cellspacing="0" border="0"> |
||||
<tr> |
||||
<td align="right"> |
||||
<table class="tablesurround" border="0"> |
||||
<tr> |
||||
<td class="navigation"> |
||||
<a> |
||||
<xsl:attribute name="href">/PMReply/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
<img src="/static/images/reply.gif" border="0" alt="Îòâåò íà ñîîáùåíèå" width="27" height="14" title="Îòâåò íà ñîîáùåíèå" style="vertical-align: text-bottom" /> |
||||
</a> |
||||
</td> |
||||
<td class="navigation"> |
||||
<a> |
||||
<img src="/static/images/edit.gif" border="0" alt="Ïðàâêà ñîîáùåíèÿ" title="Ïðàâêà ñîîáùåíèÿ" width="21" height="14" style="vertical-align: text-bottom" /> |
||||
</a> |
||||
</td> |
||||
<td class="navigation"> |
||||
<a target="_blank"> |
||||
<img src="/static/images/print.gif" border="0" alt="Ïå÷àòü ñîîáùåíèÿ" title="Ïå÷àòü ñîîáùåíèÿ" /> |
||||
</a> |
||||
</td> |
||||
<td class="navigation"> |
||||
<a> |
||||
<img src="/static/images/email2.gif" border="0" alt="Îòâåòèòü ïðèâàòîì" title="Îòâåòèòü ïðèâàòîì" /> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed"> |
||||
<tr> |
||||
<td> |
||||
<br /> |
||||
<font class="post"> |
||||
<xsl:value-of select="body" disable-output-escaping="yes" /> |
||||
<br /> |
||||
<br /> |
||||
</font> |
||||
</td> |
||||
</tr> |
||||
<xsl:if test="poster/account/user/signature != ''"> |
||||
<tr> |
||||
<td> |
||||
<div style="width:100%;max-height:50px;height: expression( this.scrollHeight > 49 ? '50px' : 'auto' );overflow:hidden"> |
||||
<font size="-2"><xsl:value-of select="poster/account/user/signature"/><br /></font> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</xsl:if> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,30 @@ |
||||
<?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: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> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<xsl:text>Âàøå ñîîáùåíèå áûëî óñïåøíî ñîçäàíî</xsl:text> |
||||
<br/> |
||||
<a> |
||||
<xsl:attribute name="href">/Conversation/<xsl:value-of select="message/interlocutor/account/id"/>/p<xsl:value-of select="message/id"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue