View file templates/web/viewtopic_post.tpl

File size: 2.65Kb
<script language="JavaScript" type="text/javascript">
<!--

l_empty_message = "{L_EMPTY_MESSAGE}"; 
l_no_text_selected = "{L_NO_TEXT_SELECTED}";

//-->
</script>
<script language="JavaScript" type="text/javascript" src="templates/quick_reply.js"></script>

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
<!-- BEGIN switch_username_select -->
<div class="row1"><span class="genmed">Логин:</span><br/>
<input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></div>
<!-- END switch_username_select -->
<div class="row1">
      <div id="format-buttons"> 
	<input type="button" class="button" accesskey="b" name="addbbcode0" value="B" style="font-weight: bold; width: 30px" onclick="bbstyle(0)"/>
	<input type="button" class="button" accesskey="i" name="addbbcode2" value="i" style="font-style: italic; width: 30px" onclick="bbstyle(2)"/>
	<input type="button" class="button" accesskey="u" name="addbbcode4" value="u" style="text-decoration: underline; width: 30px" onclick="bbstyle(4)"/>
	<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)"/>
	<input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)"/>
	<input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)"/>
	<input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)"/>
	<input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px"  onclick="bbstyle(14)"/>
	<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)"/>
	<input type="button" class="button" accesskey="y" name="addbbcode18" value="YT" style="text-decoration: underline; width:40px" onclick="bbstyle(18)" /><br/>
	</div>
	<div id="smiley-box"> 
	<script type="text/javascript">
	// <![CDATA[
	   colorPalette('h', 3, 5);
	// ]]>
	</script>
        </div>	        		
        <div id="message-box">
            <textarea id="message" name="message" rows="4" cols="78" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea>
        </div>
       &nbsp;&nbsp;<input type="checkbox" name="translit" /> Транслит 
       <input type="hidden" name="subject" value="{TOPIC_TITLE}"/>
       {S_HIDDEN_FORM_FIELDS}&nbsp;<input class="subbutton" type="submit" name="post" value="{L_SUBMIT}"/> 
</div>
</form>