Точно! Спасибо, заработало!
Добавлено спустя 3 часа 54 минуты 58 секунд:
И последний вопрос
Почему строчка с выбором цвета и размера появляется над кнопками тэгов, а не под ними?
quick_reply.tpl
Код: Выделить всё
<!-- BEGIN quick_reply -->
<script language="JavaScript" type="text/javascript">
<!--
l_empty_message = "{L_EMPTY_MESSAGE}";
l_no_text_selected = "{L_NO_TEXT_SELECTED}";
l_sending = "{L_SENDING}";
//-->
</script>
<script language="JavaScript" type="text/javascript" src="templates/quick_reply.js"></script>
<tr><form action="{quick_reply.POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
<td valign="top" colspan="2" class="row1">
<table border="0" cellpadding="5" cellspacing="1" width="100%">
<!-- BEGIN user_logged_out -->
<tr>
<td width="135"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="15" value="{USERNAME}" /></span></td>
</tr>
<!-- END user_logged_out -->
<tr>
<td valign="top" width="135">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>
</tr>
<tr>
<td valign="middle" align="center"> <br />
<table width="100" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
</tr>
<!-- BEGIN smilies_row -->
<tr align="center" valign="middle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{quick_reply.smilies_row.smilies_col.CODE}')"><img src="{quick_reply.smilies_row.smilies_col.URL}" border="0" alt="{quick_reply.smilies_row.smilies_col.DESC}" title="{quick_reply.smilies_row.smilies_col.DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
</tr>
<!-- END switch_smilies_extra -->
</table>
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="450" border="0" cellspacing="0" cellpadding="5">
<tr align="center" valign="middle" class="genmed">
<td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width:30px" onClick="bbstyle(0)" /></td>
<td><input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width:30px" onClick="bbstyle(2)" /></td>
<td><input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width:30px" onClick="bbstyle(4)" /></td>
<td><input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width:50px" onClick="bbstyle(6)" /></td>
<td><input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width:40px" onClick="bbstyle(8)" /></td>
<td><input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width:40px" onClick="bbstyle(10)" /></td>
<td><input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width:40px" onClick="bbstyle(12)" /></td>
<td><input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width:40px" onClick="bbstyle(14)" /></td>
<td><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width:40px" onClick="bbstyle(16)" /></td>
{L_FONT_COLOR}:
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;">
<option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select>
{L_FONT_SIZE}:
<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')">
<option value="7" class="genmed"; style="color:black">{L_FONT_TINY}</option>
<option value="9" class="genmed"; style="color:black">{L_FONT_SMALL}</option>
<option value="12" selected class="genmed"; style="color:black">{L_FONT_NORMAL}</option>
<option value="18" class="genmed"; style="color:black">{L_FONT_LARGE}</option>
<option value="24" class="genmed"; style="color:black">{L_FONT_HUGE}</option>
</select>
</tr>
</table>
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:100%" tabindex="2" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea><br />
<!-- BEGIN user_logged_in -->
<span class="gensmall"><br /><input type="checkbox" name="attach_sig" {quick_reply.user_logged_in.ATTACH_SIGNATURE}>{L_ATTACH_SIGNATURE}<br /><input type="checkbox" name="notify" {quick_reply.user_logged_in.NOTIFY_ON_REPLY}>{L_NOTIFY_ON_REPLY}<br /><br /></span>
<!-- END user_logged_in -->
</td>
</tr>
<tr>
<td align="center" height="28" colspan="2"><input type="hidden" name="sid" value="{quick_reply.SID}" /><input type="hidden" name="mode" value="reply" /><input type="hidden" name="t" value="{quick_reply.TOPIC_ID}" /><input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" /> <input type="submit" name="post" tabindex="3" class="mainoption" value="{L_SUBMIT}" /></td>
</tr>
</table>
</td>
</form></tr>
<!-- END quick_reply -->