📄 post_editor.htm
字号:
<th valign="top">
<script type="text/javascript">
lang['post_discuzcode_code'] = '{lang post_discuzcode_input_code}';
lang['post_discuzcode_quote'] = '{lang post_discuzcode_input_quote}';
lang['post_discuzcode_free'] = '{lang post_discuzcode_input_free}';
lang['post_discuzcode_hide'] = '{lang post_discuzcode_input_hide}';
var editorcss = 'forumdata/cache/style_{STYLEID}_common.css';
var editorcss_editor = 'forumdata/cache/style_{STYLEID}_editor.css';
var editorcss_append = 'forumdata/cache/style_{STYLEID}_append.css';
var TABLEBG = '{TABLEBG}';
</script>
<label for="posteditor_textarea">
<!--{if $special == 1}-->
{lang poll_message}
<!--{elseif $thread['special'] == 2 && $isfirstpost}-->
{lang post_trade_counterdesc}
<!--{elseif $thread['special'] == 2 && $special == 2}-->
{lang post_trade_description}
<!--{elseif $special == 3 && $allowpostreward}-->
{lang reward_message}
<!--{elseif $special == 4 && $allowpostactivity}-->
{lang activity_description}
<!--{elseif $special == 5}-->
<!--{if $allowpostdebate && $isfirstpost || $action == 'newthread'}-->
{lang debate_backgroup}
<!--{else}-->
{lang debate_position}
<!--{/if}-->
<!--{else}-->
{lang message}
<!--{/if}-->
</label>
<div id="{$editorid}_left" {if !$advanceeditor}style="display: none"{/if}>
<ul {if !$advanceeditor}style="display: none"{/if}>
<li>{lang post_html} <em><!--{if $forum['allowhtml'] || $allowhtml}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></em></li>
<li>{faq smilies} <em><!--{if $forum['allowsmilies']}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></em></li>
<li>{faq discuzcode} <em><!--{if $forum['allowbbcode']}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></em></li>
<li>{lang post_imgcode} <em><!--{if $forum['allowimgcode']}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></em></li>
</ul>
<!--{if $smileyinsert}-->
<div class="smilies">
<div id="smilieslist" style="width: 180px;">{subtemplate post_smilies}</div>
</div>
<!--{/if}-->
<div style="clear: both;">
<ul>
<li><label><input type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck /> {lang disable} {lang post_parseurl}</label></li>
<li><label><input type="checkbox" name="smileyoff" id="smileyoff" value="1" $smileyoffcheck /> {lang disable} {faq smilies}</label></li>
<li><label><input type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" $codeoffcheck /> {lang disable} {faq discuzcode}</label></li>
<!--{if $tagstatus && ($action == 'newthread' || $action == 'edit' && $isfirstpost)}--><li><label><input type="checkbox" name="tagoff" id="tagoff" value="1" $tagoffcheck /> {lang disable} {lang tag_parse}</label></li><!--{/if}-->
<!--{if $allowhtml}--><li><label><input type="checkbox" name="htmlon" id="htmlon" value="1" $htmloncheck /> {lang enable} {lang post_html}</label></li><!--{/if}-->
<!--{if $action != 'edit'}-->
<!--{if $allowanonymous}--><li><label><input type="checkbox" name="isanonymous" value="1" /> {lang post_anonymous}</label></li><!--{/if}-->
<!--{else}-->
<!--{if $allowanonymous || (!$allowanonymous && $orig['anonymous'])}--><li><label><input type="checkbox" name="isanonymous" value="1" <!--{if $orig['anonymous']}-->checked="checked"<!--{/if}--> /> {lang post_anonymous}</label></li><!--{/if}-->
<!--{/if}-->
<li><label><input type="checkbox" name="usesig" value="1" $usesigcheck> {lang post_show_sig}</label></li>
<!--{if $action != 'edit'}-->
<li><label><input type="checkbox" name="emailnotify" value="1" $notifycheck> {lang post_email_notify}</label></li>
<!--{if $action == 'newthread'}-->
<!--{if $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])}-->
<li><label><input type="checkbox" name="sticktopic" value="1" $stickcheck> {lang post_stick_thread}</label></li>
<li><label><input type="checkbox" name="addtodigest" value="1" $digestcheck> {lang post_digest_thread}</label></li>
<!--{/if}-->
<!--{/if}-->
<!--{else}-->
<!--{if ($isorigauthor || $forum['ismoderator']) && $isfirstpost && $thread['replies'] < 1}-->
<li><label><input type="checkbox" name="delete" value="1"> <b>{lang post_delpost}</b>
<!--{if $thread['special'] == 3}-->{lang reward_price_back}<!--{/if}--></label></li>
<!--{elseif !$isfirstpost && ($isorigauthor || $forum['ismoderator'])}-->
<li><label><input type="checkbox" name="delete" value="1"> <b>{lang post_delpost}</b></label></li>
<!--{/if}-->
<!--{if $auditstatuson}--><li><label><input type="checkbox" name="audit" value="1"> <b>{lang auditstatuson}</b></label></li><!--{/if}-->
<!--{/if}-->
<!--{if $uc['addfeed'] && $ucappopen['UCHOME']}--><li><label><input type="checkbox" name="addfeed" value="1" $addfeedcheck> {lang addfeed}</label></li><!--{/if}-->
</ul>
</div>
</div>
</th>
<td valign="top">
<div id="$editorid" class="editor">
<!--{if $bbinsert}-->
<div id="{$editorid}_controls">
<div class="editorrow">
<a id="{$editorid}_cmd_bold" title="{lang post_discuzcode_bold}">B</a>
<a id="{$editorid}_cmd_italic" title="{lang post_discuzcode_italic}">I</a>
<a id="{$editorid}_cmd_underline" title="{lang post_discuzcode_underline}">U</a><em></em>
<a id="{$editorid}_popup_fontname" title="{lang post_discuzcode_fontname}"><span style="width: 110px; display: block; white-space: nowrap;" id="{$editorid}_font_out">{lang post_discuzcode_fontname}</span></a>
<a id="{$editorid}_popup_fontsize" title="{lang post_discuzcode_fontsize}"><span style="width: 30px; display: block;" id="{$editorid}_size_out">{lang post_discuzcode_fontsize}</span></a>
<a id="{$editorid}_popup_forecolor" title="{lang post_discuzcode_forecolor}"><span style="width: 30px; display: block;"><img alt="color" src="images/common/bb_color.gif"/><br/><img width="21" height="4" style="background-color: Black;" alt="" id="{$editorid}_color_bar" src="images/common/bb_clear.gif"/></span></a><em></em>
<a id="{$editorid}_cmd_justifyleft" title="{lang post_discuzcode_left}">Align Left</a>
<a id="{$editorid}_cmd_justifycenter" title="{lang post_discuzcode_center}">Align Center</a>
<a id="{$editorid}_cmd_justifyright" title="{lang post_discuzcode_right}">Align Right</a><em></em>
<a id="{$editorid}_cmd_createlink" title="{lang post_discuzcode_url}">Url</a>
<a id="{$editorid}_cmd_email" title="{lang post_discuzcode_email}">Email</a>
<a id="{$editorid}_cmd_insertimage" title="{lang post_discuzcode_image}">Image</a>
<!--{if $forum['allowmediacode']}-->
<a id="{$editorid}_popup_media" title="{lang post_discuzcode_media}">Media</a>
<!--{/if}--><em></em>
<a id="{$editorid}_cmd_quote" title="{lang post_discuzcode_quote}">Quote</a>
<a id="{$editorid}_cmd_code" title="{lang post_discuzcode_code}">Code</a>
<a id="{$editorid}_buttonctrl" class="plugeditor editormode"><!--{if $advanceeditor}-->{lang editor_mode_simple}<!--{else}-->{lang editor_mode_all}<!--{/if}--></a>
</div>
<div class="editorrow" id="{$editorid}_morebuttons0" {if !$advanceeditor}style="display: none"{/if}>
<a id="{$editorid}_cmd_removeformat" title="{lang post_discuzcode_removeformat}">Remove Format</a>
<a id="{$editorid}_cmd_unlink" title="{lang post_discuzcode_unlink}">Unlink</a>
<a id="{$editorid}_cmd_undo" title="{lang post_discuzcode_undo}">Undo</a>
<a id="{$editorid}_cmd_redo" title="{lang post_discuzcode_redo}">Redo</a><em></em>
<a id="{$editorid}_cmd_insertorderedlist" title="{lang post_discuzcode_orderedlist}">Ordered List</a>
<a id="{$editorid}_cmd_insertunorderedlist" title="{lang post_discuzcode_unorderedlist}">Unordered List</a>
<a id="{$editorid}_cmd_outdent" title="{lang post_discuzcode_outdent}">Outdent</a>
<a id="{$editorid}_cmd_indent" title="{lang post_discuzcode_indent}">Indent</a>
<a id="{$editorid}_cmd_floatleft" title="{lang post_discuzcode_floatleft}">Float Left</a>
<a id="{$editorid}_cmd_floatright" title="{lang post_discuzcode_floatright}">Float Right</a><em></em>
<a id="{$editorid}_cmd_table" title="{lang post_discuzcode_table}">Table</a>
<a id="{$editorid}_cmd_free" title="{lang post_discuzcode_free}">Free</a>
<!--{if $allowhidecode}--><a id="{$editorid}_cmd_hide" title="{lang post_discuzcode_hide}">Hide</a><!--{/if}-->
<em></em>
<!--{if $forum['allowbbcode'] && $allowcusbbcode}-->
<!--{eval $cusnum=0;}-->
<!--{loop $_DCACHE['bbcodes_display'] $tag $bbcode}-->
<a class="plugeditor" id="{$editorid}_cmd_custom{$bbcode[params]}_$tag"><img src="images/common/$bbcode[icon]" title="$bbcode[explanation]" alt="$tag" /></a><!--{if in_array($cusnum++, array(5, 25))}--></div><div id="{$editorid}_morebuttons{if $cusnum == 6}1{else}2{/if}" {if !$advanceeditor}style="display: none"{/if}><!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -