parent
8252fcdbfc
commit
29f54df117
@ -1 +1 @@ |
||||
956 |
||||
983 |
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 1.0 KiB |
@ -0,0 +1,98 @@ |
||||
<?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="specificTitle"> |
||||
<xsl:text>Ìîäåðèðîâàíèå ñîîáùåíèÿ - </xsl:text> |
||||
<xsl:value-of select="post/title"/> |
||||
</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="board/name"/> |
||||
<xsl:text>)</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr class="darktable"> |
||||
<td> |
||||
<xsl:text>Çàïîëíèòå ïðèâåäåííóþ íèæå ôîðìó äëÿ ìîäåðèðîâàíèÿ ñîîáùåíèÿ</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Punish/" name="replier"> |
||||
<input type="hidden" name="postId"> |
||||
<xsl:attribute name="value"><xsl:value-of select="post/id"/></xsl:attribute> |
||||
</input> |
||||
<xsl:text>Òèï:</xsl:text><br/> |
||||
<xsl:apply-templates select="punishmentTypes/punishmentType"/> |
||||
<br/> |
||||
<br/> |
||||
<xsl:text>Êîììåíòàðèé: </xsl:text> |
||||
<br/> |
||||
<input type="text" tabindex="1" name="comment" class="formboxes" size="60"/> |
||||
<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:template match="punishmentType"> |
||||
<input type="radio" name="punishmentTypeId"> |
||||
<xsl:attribute name="id">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute> |
||||
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> |
||||
</input> |
||||
<label> |
||||
<xsl:attribute name="for">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="description"/> |
||||
<xsl:text>, âåñ íàêàçàíèÿ </xsl:text> |
||||
<xsl:value-of select="weight"/> |
||||
<xsl:text> (</xsl:text> |
||||
<xsl:value-of select="weightDescription"/> |
||||
<xsl:text>)</xsl:text> |
||||
</label> |
||||
<br/> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,48 @@ |
||||
<?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="specificTitle">Ñîîáùåíèå îòìîäåðèðîâàíî</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> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Ñîîáùåíèå áûëî óñïåøíî îòìîäåðèðîâàíî</p> |
||||
<p align="center"> |
||||
<xsl:text>[←] </xsl:text> |
||||
<a id="actionLink_left"> |
||||
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute> |
||||
<xsl:text>Âåðíóòüñÿ â ðàçäåë</xsl:text> |
||||
</a> |
||||
<xsl:text> | </xsl:text> |
||||
<a id="actionLink_right"> |
||||
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text> |
||||
</a> |
||||
<xsl:text> [→]</xsl:text> |
||||
</p> |
||||
<script type="text/javascript" language="Javascript"> |
||||
<xsl:text>assignArrowsHandlers();</xsl:text> |
||||
</script> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,94 @@ |
||||
<?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="post/title"/> |
||||
</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="board/name"/> |
||||
<xsl:text>)</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Punish/" name="replier"> |
||||
<input type="hidden" name="postId"> |
||||
<xsl:attribute name="value"><xsl:value-of select="post/id"/></xsl:attribute> |
||||
</input> |
||||
<xsl:text>Òèï:</xsl:text><br/> |
||||
<xsl:apply-templates select="punishmentTypes/punishmentType"/> |
||||
<br/> |
||||
<br/> |
||||
<xsl:text>Êîììåíòàðèé: </xsl:text> |
||||
<br/> |
||||
<input type="text" tabindex="1" name="comment" class="formboxes" size="60"/> |
||||
<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:template match="punishmentType"> |
||||
<input type="radio" name="punishmentTypeId"> |
||||
<xsl:attribute name="id">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute> |
||||
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> |
||||
</input> |
||||
<label> |
||||
<xsl:attribute name="for">punishmentTypeId_<xsl:value-of select="id"/></xsl:attribute> |
||||
<xsl:text> </xsl:text> |
||||
<xsl:value-of select="description"/> |
||||
<xsl:text>, âåñ íàêàçàíèÿ </xsl:text> |
||||
<xsl:value-of select="weight"/> |
||||
<xsl:text> (</xsl:text> |
||||
<xsl:value-of select="weightDescription"/> |
||||
<xsl:text>)</xsl:text> |
||||
</label> |
||||
<br/> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,48 @@ |
||||
<?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="specificTitle">Ñîîáùåíèå îòìîäåðèðîâàíî</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> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Ñîîáùåíèå áûëî óñïåøíî îòìîäåðèðîâàíî</p> |
||||
<p align="center"> |
||||
<xsl:text>[←] </xsl:text> |
||||
<a id="actionLink_left"> |
||||
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute> |
||||
<xsl:text>Âåðíóòüñÿ â ðàçäåë</xsl:text> |
||||
</a> |
||||
<xsl:text> | </xsl:text> |
||||
<a id="actionLink_right"> |
||||
<xsl:attribute name="href">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text> |
||||
</a> |
||||
<xsl:text> [→]</xsl:text> |
||||
</p> |
||||
<script type="text/javascript" language="Javascript"> |
||||
<xsl:text>assignArrowsHandlers();</xsl:text> |
||||
</script> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue