в viewtopic.tpl
Код: Выделить всё
<!-- IF QUICK_REPLY -->
<form action="{QR_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this);">
<input type="hidden" name="mode" value="reply" />
<input type="hidden" name="t" value="{QR_TOPIC_ID}" />
<table id="topic_quick_reply" class="topic" cellpadding="0" cellspacing="0">
<tr>
<th class="thHead gen"><b>Quick Reply</b></th>
</tr>
<tr>
<td class="td2 row2 tCenter">
<div class="quick_reply_box bCenter">
<!-- IF not LOGGED_IN -->
<p class="mrg_6"><b>{L_QR_USERNAME}: </b><input type="text" name="username" size="20" maxlength="25" /></p>
<!-- ENDIF -->
<div class="spacer_2"></div>
<!-- INCLUDE posting_editor.tpl -->
<div class="spacer_2"></div>
</div>
</td>
</tr>
<tr id="post_opt" class="row2">
<td class="td2 med tCenter pad_4">
{L_QR_DISABLE}:
<label><input type="checkbox" name="disable_bbcode" <!-- IF not $bb_cfg['allow_bbcode'] -->checked="checked" disabled="disabled"<!-- ENDIF --> />
BBCode </label>
<label><input type="checkbox" name="disable_smilies" <!-- IF not $bb_cfg['allow_smilies'] -->checked="checked" disabled="disabled"<!-- ENDIF --> />
Smilies </label>
<label><input type="checkbox" name="attach_sig" <!-- IF QR_ATTACHSIG_CHECKED -->checked="checked"<!-- ENDIF --> <!-- IF not LOGGED_IN -->disabled="disabled"<!-- ENDIF --> />
{L_QR_ATTACHSIG} </label>
<label><input type="checkbox" name="notify" <!-- IF QR_NOTIFY_CHECKED -->checked="checked"<!-- ENDIF --> <!-- IF not LOGGED_IN -->disabled="disabled"<!-- ENDIF --> />
{L_QR_NOTIFY} </label>
</td>
</tr>
</table><!--/topic_quick_reply-->
</form>
<!-- ENDIF / QUICK_REPLY -->
Код: Выделить всё
<!-- IF QUICK_REPLY -->
<form action="{QR_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this);">
<input type="hidden" name="mode" value="reply" />
<input type="hidden" name="t" value="{QR_TOPIC_ID}" />
<script type="text/javascript" src="{#BB_ROOT}misc/js/jquery.cookie.js"></script>
<script type="text/javascript">
function hide() {
$("#bbcode").hide();
$("#bbcode_opt").hide();
$("#title").attr({onClick: 'show()'});
$("#bb_img").attr({src: 'images/plus.gif'});
$.cookie('bb_panel', '1', { path: '/' });
}
function show() {
$("#bbcode").show();
$("#bbcode_opt").show();
$("#title").attr({onClick: 'hide()'});
$("#bb_img").attr({src: 'images/minus.gif'});
$.cookie('bb_panel', '0', { path: '/' });
}
</script>
<table id="topic_quick_reply" class="topic" cellpadding="0" cellspacing="0">
<tr>
<th class="thHead gen"><b id="title" OnClick="hide()" style="cursor: pointer;"><img id="bb_img" src="images/minus.gif"> Быстрый ответ</b></th>
</tr>
<tr id="bbcode">
<td class="td2 row2 tCenter">
<div class="quick_reply_box bCenter">
<!-- IF not LOGGED_IN -->
<p class="mrg_6"><b>{L_QR_USERNAME}: </b><input type="text" name="username" size="20" maxlength="25" /></p>
<!-- ENDIF -->
<div class="spacer_2"></div>
<!-- INCLUDE posting_editor.tpl -->
<div class="spacer_2"></div>
</div>
</td>
</tr>
<tr id="post_opt" class="row2">
<td id="bbcode_opt" class="td2 med tCenter pad_4">
{L_QR_DISABLE}:
<label><input type="checkbox" name="disable_bbcode" <!-- IF not $bb_cfg['allow_bbcode'] -->checked="checked" disabled="disabled"<!-- ENDIF --> />
BBCode </label>
<label><input type="checkbox" name="disable_smilies" <!-- IF not $bb_cfg['allow_smilies'] -->checked="checked" disabled="disabled"<!-- ENDIF --> />
Smilies </label>
<label><input type="checkbox" name="attach_sig" <!-- IF QR_ATTACHSIG_CHECKED -->checked="checked"<!-- ENDIF --> <!-- IF not LOGGED_IN -->disabled="disabled"<!-- ENDIF --> />
{L_QR_ATTACHSIG} </label>
<label><input type="checkbox" name="notify" <!-- IF QR_NOTIFY_CHECKED -->checked="checked"<!-- ENDIF --> <!-- IF not LOGGED_IN -->disabled="disabled"<!-- ENDIF --> />
{L_QR_NOTIFY} </label>
</td>
</tr>
<script type="text/javascript">
var on = $.cookie('bb_panel');
if (on == '1') {
hide();
}
</script>
</table><!--/topic_quick_reply-->
</form>
<!-- ENDIF / QUICK_REPLY -->
файл jquery.cookie.js из вложенного архива забросить в forum/misc/js
картинки plus.gif и minus.gif в forum/images
Скриншоты: Источник http://torrentpier.info/forum/viewtopic.php?f=8&t=4199