发现很多人在那块有些功能用不上 我把那块的代码注释了
大家看哪块不想要的 就删了就可以了。
修改前记得备份文件:)
文件:templates/default/post.htm
HTML 代码
-
<!--{if
($forum['allowhtml'] || ($action == 'edit' && ($org['htmlon']
& 1))) && $allowhtml}--> -
<p><input type="checkbox" name="htmlon" id="htmlon" value="1"
$htmloncheck /><label for="htmlon">{lang
post_html}</label></p> - <!--{else}-->
-
<p><input type="checkbox" name="htmlon" id="htmlon" value="0"
$htmloncheck disabled="disabled" /><label for="htmlon">{lang
post_html}</label></p> - <!--{/if}-->
img 代码
-
<p><input
type="checkbox" id="allowimgcode" disabled{if $forum['allowimgcode']}
checked="checked"{/if} /><label for="allowimgcode">{lang
post_imgcode}</label></p>
禁用 URL 识别
-
<p><input type="checkbox" name="parseurloff" id="parseurloff"
value="1" $urloffcheck tabindex="1" /><label
for="parseurloff">{lang disable} {lang
post_parseurl}</label></p>
禁用表情
-
<p><input
type="checkbox" name="smileyoff" id="smileyoff" value="1"
$smileyoffcheck tabindex="1" /><label for="smileyoff">{lang
disable} {faq smilies}</label></p>
禁用 Discuz 代码
-
<p><input type="checkbox" name="bbcodeoff" id="bbcodeoff"
value="1" $codeoffcheck tabindex="1" /><label
for="bbcodeoff">{lang disable} {faq
discuzcode}</label></p>
标签解析
-
<!--{if $tagstatus
&& ($action == 'newthread' || $action == 'edit' &&
$isfirstpost)}--> -
<p><input type="checkbox" name="tagoff" id="tagoff" {if
!empty($tagoffcheck)}checked="checked"{/if} tabindex="1" /><label
for="tagoff">{lang disable} {lang tag_parse}</label></p> - <!--{/if}-->
倒序看帖
- <!--{if $action == 'newthread' || $action == 'edit'}-->
-
<p><input type="checkbox" name="ordertype"
id="ordertype" value="1" $ordertypecheck tabindex="1" /><label
for="ordertype">{lang post_descview}</label></p> - <!--{/if}-->
关注此主题的新回复/取消关注
- <!--{if $action == 'newthread'}-->
-
<p><input type="checkbox" name="attention_add"
id="attention_add" checked="checked" value="1" /><label
for="attention_add">{lang attention_add}</label></p> - <!--{elseif $action == 'reply' || $action == 'edit'}-->
- <!--{if $has_attention}-->
-
<p><input type="checkbox"
name="attention_remove" id="attention_remove" value="1" /><label
for="attention_remove">{lang
attention_remove}</label></p> - <!--{else}-->
-
<p><input type="checkbox" name="attention_add"
id="attention_add" value="1" /><label
for="attention_add">{lang attention_add}</label></p> - <!--{/if}-->
- <!--{/if}-->
使用个人签名
-
<p><input
type="checkbox" name="usesig" id="usesig" value="1" {if
!$maxsigsize}disabled {else}$usesigcheck {/if}tabindex="1"
/><label for="usesig">{lang
post_show_sig}</label></p>
使用匿名发帖
- <!--{if $action != 'edit'}-->
-
<!--{if $allowanonymous}--><p><input type="checkbox"
name="isanonymous" id="isanonymous" value="1" tabindex="1"
/><label for="isanonymous">{lang
post_anonymous}</label></p><!--{/if}--> - <!--{else}-->
-
<!--{if $allowanonymous || (!$allowanonymous &&
$orig['anonymous'])}--><p><input type="checkbox"
name="isanonymous" id="isanonymous" value="1" {if
$orig['anonymous']}checked="checked"{/if} tabindex="1" /><label
for="isanonymous">{lang
post_anonymous}</label></p><!--{/if}--> - <!--{/if}-->
管理组状态下显示的:置顶主题,加入精华
-
<!--{if
$action == 'newthread' && $forum['ismoderator'] &&
($allowdirectpost || !$forum['modnewposts'])}--> -
<p><input type="checkbox" name="sticktopic" id="sticktopic"
value="1" $stickcheck tabindex="1" /><label
for="sticktopic">{lang post_stick_thread}</label></p> -
<p><input type="checkbox" name="addtodigest" id="addtodigest"
value="1" $digestcheck tabindex="1" /><label
for="addtodigest">{lang post_digest_thread}</label></p> - <!--{/if}-->
通过审核
- <!--{elseif $action == 'edit' && $auditstatuson}-->
-
<p><input type="checkbox" name="audit" id="audit"
value="1"><label for="audit">{lang
auditstatuson}</label></p>
UCHome 时间推送 (加入事件)
-
<!--{if
$uchome['addfeed'] && $ucappopen['UCHOME'] &&
$forum['allowfeed']}--> -
<p><input type="checkbox" name="addfeed" id="addfeed" value="1"
$addfeedcheck><label for="addfeed">{lang
addfeed}</label></p> - <!--{/if}-->
回复仅作者可见
- <!--{if $action == 'newthread' || $action == 'edit'}-->
-
<p><input type="checkbox" name="hiddenreplies"
id="hiddenreplies"{if $hiddenreplies} checked="checked"{/if}
value="1"><label for="hiddenreplies">{lang
hiddenreplies}</label></p> - <!--{/if}-->
抢楼帖
- <!--{if $action == 'newthread' && $allowpostrushreply}-->
-
<p><input type="checkbox" name="rushreply" id="rushreply"
value="1"><label for="rushreply">{lang
rushreply}</label></p> - <!--{/if}-->
- <!--{if $action == 'edit' && getstatus($thread['status'], 3)}-->
-
<p><input type="checkbox" disabled="disabled"
checked="checked"><label for="rushreply">{lang
rushreply}</label></p> - <!--{/if}-->
使用愉快!:)