В шаблоне quick_reply.html находим
- Код: Выделить всё
<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td>
и добавляем в самый конец ( после 98%;" )
- Код: Выделить всё
onKeyPress="if((event.keyCode==10)||((event.ctrlKey)&&(event.keyCode==13))) document.postform.post[0].click();"
далее идем в шаблон posting_body.html
ищем
- Код: Выделить всё
<td valign="top" style="width: 100%;">
<textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 98%;">{MESSAGE}</textarea></td>
и заменяем на
- Код: Выделить всё
<td valign="top" style="width: 100%;">
<textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 98%;" onKeyPress="if((event.keyCode==10)||((event.ctrlKey)&&(event.keyCode==13))) document.postform.post[0].click();">{MESSAGE}</textarea></td>