Редактирование одного шаблона showthread_quickreply, ищем:
И заменяем на:
Если нужно в кнопке прописать [Отправить быстрый ответ (Ctrl+Enter)], нужно редактировать шаблон SHOWTHREAD, ищем:
Заменяем на:
Для добавления возможности отправки в расширенный редактор, открываем шаблон editor_toolbar_on и находим там:
Заменяем на этот код:
PHP:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
PHP:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" onKeyPress="if (event.ctrlKey&&((event.keyCode==10)||(event.keyCode==13))){qr_prepare_submit(this.form, $vboptions[postminchars]);}"></textarea>
PHP:
value="$vbphrase[post_quick_reply]"
PHP:
value="$vbphrase[post_quick_reply] (Ctrl+Enter)"
PHP:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
PHP:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" onKeyPress="if (event.ctrlKey&&((event.keyCode==10)||(event.keyCode==13))){this.form.submit();}">$newpost[message]</textarea>