parent
f274c02611
commit
b138249550
@ -1 +1 @@ |
||||
360 |
||||
377 |
@ -1 +1 @@ |
||||
92 |
||||
109 |
Binary file not shown.
@ -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="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/Reply/" name="replier"> |
||||
<input type="hidden" name="parent"> |
||||
<xsl:attribute name="value"><xsl:value-of select="post/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(post/title, 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> |
||||
<span class="small">Ñëîé ñîîáùåíèÿ:</span> |
||||
<select class="formboxes" name="layerId"> |
||||
<option value="1" >Íîðìàëüíîå ñîîáùåíèå</option> |
||||
<option value="2" >Ôëóä/îôôòîïèê</option> |
||||
<option value="3" >Ìóñîð</option> |
||||
</select> |
||||
<br/> |
||||
<br/> |
||||
<xsl:call-template name="textEditor"/> |
||||
<br/> |
||||
<input type="checkbox" name="preview" value="1" checked="checked" class="formboxes"/> |
||||
<xsl:text>ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</xsl:text> |
||||
<br/> |
||||
<br/> |
||||
<input type="checkbox" name="spellcheck" value="1" class="formboxes" onclick="document.replier.preview.checked=true;"/> |
||||
<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,245 @@ |
||||
<?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 name="textEditor"> |
||||
<xsl:param name="body"/> |
||||
<input type="hidden" name="convert" value="markup"/> |
||||
<xsl:text>Ñîîáùåíèå</xsl:text> |
||||
<br/> |
||||
<textarea cols="100" tabindex="2" rows="10" class="formboxes" name="Body"> |
||||
<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:value-of select="$body"/> |
||||
</textarea> |
||||
<br/> |
||||
<br/> |
||||
<script language="Javascript" type="text/javascript" src="/static/js/textEditor.js"><xsl:text> </xsl:text></script> |
||||
<script language="Javascript" type="text/javascript"> |
||||
<![CDATA[ |
||||
function insertInBody(str) { |
||||
insertAtCaret(document.replier.Body, str); |
||||
document.replier.Body.focus(); |
||||
} |
||||
]]> |
||||
</script> |
||||
<table border="0"> |
||||
<tr class="tdheader"> |
||||
<td><b>Ñìàéëèêè</b></td> |
||||
<td valign="top"><b>UBBCode</b></td> |
||||
<td valign="top"><b>Øðèôò</b></td> |
||||
</tr> |
||||
<tr> |
||||
<td valign="top" align="left" nowrap="nowrap"> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :) ');"> |
||||
<img src="/static/smileys/smile.gif" border="0" alt="smile" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :( ');"> |
||||
<img src="/static/smileys/frown.gif" border="0" alt="frown" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :o ');"> |
||||
<img src="/static/smileys/blush.gif" border="0" alt="blush" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :D ');"> |
||||
<img src="/static/smileys/laugh.gif" border="0" alt="laugh" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' ;) ');"> |
||||
<img src="/static/smileys/wink.gif" border="0" alt="wink" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :p ');"> |
||||
<img src="/static/smileys/tongue.gif" border="0" alt="tongue" /> |
||||
</a> |
||||
<br/> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :cool: ');"> |
||||
<img src="/static/smileys/cool.gif" border="0" alt="cool" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :crazy: ');"> |
||||
<img src="/static/smileys/crazy.gif" border="0" alt="crazy" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :mad: ');"> |
||||
<img src="/static/smileys/mad.gif" border="0" alt="mad" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :shocked: ');"> |
||||
<img src="/static/smileys/shocked.gif" border="0" alt="shocked" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :smirk: ');"> |
||||
<img src="/static/smileys/smirk.gif" border="0" alt="smirk" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :grin ');"> |
||||
<img src="/static/smileys/grin.gif" border="0" alt="grin" /> |
||||
</a> |
||||
<br/> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :ooo: ');"> |
||||
<img src="/static/smileys/ooo.gif" border="0" alt="ooo" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a pseudolink="pseudolink" onClick="insertInBody(' :confused: ');"> |
||||
<img src="/static/smileys/confused.gif" border="0" alt="confused" /> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a> |
||||
<xsl:text>More!</xsl:text> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a href="/Upload/New/"> |
||||
<xsl:text>Upload</xsl:text> |
||||
</a> |
||||
<xsl:text>   </xsl:text> |
||||
<a> |
||||
<xsl:text>Mix</xsl:text> |
||||
</a> |
||||
</td> |
||||
<td valign="top" align="left" nowrap="nowrap"> |
||||
<table border="0" cellpadding="3" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('url');">URL</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('code');">Êîä</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('image');">Êàðòèíêà</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('liststart');">Íà÷àëî ñïèñêà</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('listitem');">Ýë-ò ñïèñêà</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('listend');">Êîíåö ñïèñêà</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('pollstart');">Íà÷àëî<br/>ãîëîñîâàíèÿ</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('polloption');">Âàðèàíò<br/>ãîëîñîâàíèÿ</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('pollstop');">Êîíåö<br/>ãîëîñîâàíèÿ</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('bold');">Æèðíûé</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('italics');">Íàêëîí</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('quote');">Öèòàòà</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('user');">Ïîëüçîâàòåëü</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('table');">Òàáëèöà</a> |
||||
</td> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('ecode');">Ecode</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="darktable"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('video');">YouTube</a> |
||||
</td> |
||||
<td class="darktable" colspan="2"> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('math');">Math</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
<td valign="top"> |
||||
<table border="0"> |
||||
<tr> |
||||
<td> |
||||
<select id="fontselect" class="formboxes" style="font-size:10px"> |
||||
<xsl:attribute name="onChange">idx = this.selectedIndex; this.selectedIndex = 0; DoFont(this.options[idx].value);</xsl:attribute> |
||||
<option value="">[Font Face]</option> |
||||
<script type="text/javascript">fontlist();</script> |
||||
</select> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<select id="sizeselect" class="formboxes" style="font-size:10px"> |
||||
<xsl:attribute name="onChange">idx = this.selectedIndex; this.selectedIndex = 0; DoSize(this.options[idx].value);</xsl:attribute> |
||||
<option value="">[Font Size]</option> |
||||
<option value="1">1</option> |
||||
<option value="2">2</option> |
||||
<option value="3">3</option> |
||||
<option value="4">4</option> |
||||
<option value="5">5</option> |
||||
<option value="6">6</option> |
||||
</select> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table border="1"> |
||||
<tr> |
||||
<td bgcolor="red"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('red');">    </a> |
||||
</td> |
||||
<td bgcolor="green"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('green');">    </a> |
||||
</td> |
||||
<td bgcolor="blue"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('blue');">    </a> |
||||
</td> |
||||
<td bgcolor="white"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('white');">    </a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td bgcolor="orange"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('orange');">    </a> |
||||
</td> |
||||
<td bgcolor="yellow"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('yellow');">    </a> |
||||
</td> |
||||
<td bgcolor="black"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('black');">    </a> |
||||
</td> |
||||
<td bgcolor="purple"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('purple');">    </a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td bgcolor="pink"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('pink');">    </a> |
||||
</td> |
||||
<td bgcolor="brown"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('brown');">    </a> |
||||
</td> |
||||
<td bgcolor="#666666"> |
||||
<a pseudolink="pseudolink" onclick="DoColor('#666666');">    </a> |
||||
</td> |
||||
<td> |
||||
<a pseudolink="pseudolink" onclick="DoPrompt('color');">?</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</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">/Thread/<xsl:value-of select="post/threadId"/>/p<xsl:value-of select="post/id"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü ñîîáùåíèå</xsl:text> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue