|
|
|
@ -1,6 +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="UserInfoBar.xslt"/> |
|
|
|
|
|
|
|
|
|
<xsl:template name="textEditor"> |
|
|
|
|
<xsl:param name="body"/> |
|
|
|
|
<input type="hidden" name="convert" value="markup"/> |
|
|
|
@ -10,7 +12,14 @@ |
|
|
|
|
<xsl:attribute name="onKeyUp">storeCaret(this);</xsl:attribute> |
|
|
|
|
<xsl:attribute name="onClick">storeCaret(this);</xsl:attribute> |
|
|
|
|
<xsl:attribute name="onKeyPress">checkKeyPressed(document.replier,event,false);</xsl:attribute> |
|
|
|
|
<xsl:choose> |
|
|
|
|
<xsl:when test="bodyUBB"> |
|
|
|
|
<xsl:value-of select="bodyUBB"/> |
|
|
|
|
</xsl:when> |
|
|
|
|
<xsl:otherwise> |
|
|
|
|
<xsl:value-of select="$body"/> |
|
|
|
|
</xsl:otherwise> |
|
|
|
|
</xsl:choose> |
|
|
|
|
</textarea> |
|
|
|
|
<br/> |
|
|
|
|
<br/> |
|
|
|
@ -244,6 +253,63 @@ function insertInBody(str) { |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
|
|
|
|
|
<br/> |
|
|
|
|
<input type="checkbox" name="preview" value="1" class="formboxes" onClick="changeActionToSelf(this)" /> |
|
|
|
|
<xsl:text>ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</xsl:text> |
|
|
|
|
<xsl:if test="bodyIntermediate"> |
|
|
|
|
<br/> |
|
|
|
|
<table width="100%" cellspacing="1" cellpadding="3" border="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td width="120" valign="top" class="darktable" rowspan="2"> |
|
|
|
|
<xsl:apply-templates select="session/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:attribute name="src">/static/images/message-normal-read.gif</xsl:attribute> |
|
|
|
|
</img> |
|
|
|
|
</a> |
|
|
|
|
<b class="separate"><xsl:value-of select="title"/></b> |
|
|
|
|
<br /> |
|
|
|
|
<font class="small" style="padding-left:2em"><xsl:apply-templates select="postDate/date" mode="dateTime"/></font> |
|
|
|
|
</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="bodyIntermediate" disable-output-escaping="yes" /> |
|
|
|
|
<br /> |
|
|
|
|
<br /> |
|
|
|
|
</font> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<xsl:if test="session/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/user/signature"/><br /></font> |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</xsl:if> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</xsl:if> |
|
|
|
|
<br/> |
|
|
|
|
<br/> |
|
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
<xsl:template match="layer"> |
|
|
|
|