⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 post_editor.htm

📁 论坛代码网增加免费空间业务
💻 HTM
📖 第 1 页 / 共 2 页
字号:
			<div id="{$editorid}_switcher" class="editor_switcher_bar">
				<button type="button" id="bbcodemode">{lang editor_mode_discuzcode}</button>
				<button type="button" id="wysiwygmode">{lang editor_mode_wysiwyg}</button>
			</div>
		</div>
	<!--{/if}-->
	</div>

	<div class="editortoolbar">
		<!--{eval $fontoptions = array({lang post_discuzcode_fontoptions})}-->
		<div class="popupmenu_popup fontname_menu" id="{$editorid}_popup_fontname_menu" style="display: none">
		<ul unselectable="on">
		<!--{loop $fontoptions $fontname}-->
				<li onclick="discuzcode('fontname', '$fontname');hideMenu()" style="font-family: $fontname" unselectable="on">$fontname</li>
		<!--{/loop}-->
		</ul>
		</div>

		<!--{eval $sizeoptions = array(1, 2, 3, 4, 5, 6, 7)}-->
		<div class="popupmenu_popup fontsize_menu" id="{$editorid}_popup_fontsize_menu" style="display: none">
		<ul unselectable="on">
		<!--{loop $sizeoptions $size}-->
				<li onclick="discuzcode('fontsize', $size);hideMenu()" unselectable="on"><font size="$size" unselectable="on">$size</font></li>
		<!--{/loop}-->
		</ul>
		</div>

		<!--{if $forum['allowmediacode']}-->
			<div class="popupmenu_popup" id="{$editorid}_popup_media_menu" style="width: 240px;display: none">
			<input type="hidden" id="{$editorid}_mediatype" value="ra">
			<input type="hidden" id="{$editorid}_mediaautostart" value="0">
			<table cellpadding="4" cellspacing="0" border="0" unselectable="on">
			<tr class="popupmenu_option">
				<td nowrap>
					{lang post_discuzcode_media_url}:<br />
					<input id="{$editorid}_mediaurl" size="40" value="" onkeyup="setmediatype('$editorid')" />
				</td>
			</tr>
			<tr class="popupmenu_option">
				<td nowrap>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_ra" onclick="$('{$editorid}_mediatype').value = 'ra'" checked="checked">RA</label>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_wma" onclick="$('{$editorid}_mediatype').value = 'wma'">WMA</label>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_mp3" onclick="$('{$editorid}_mediatype').value = 'mp3'">MP3</label>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_rm" onclick="$('{$editorid}_mediatype').value = 'rm'">RM/RMVB</label>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_wmv" onclick="$('{$editorid}_mediatype').value = 'wmv'">WMV</label>
					<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_mov" onclick="$('{$editorid}_mediatype').value = 'mov'">MOV</label>
				</td>
			</tr>
			<tr class="popupmenu_option">
				<td nowrap>
					<label style="float: left; width: 32%">{lang width}: <input id="{$editorid}_mediawidth" size="5" value="400" /></label>
					<label style="float: left; width: 32%">{lang height}: <input id="{$editorid}_mediaheight" size="5" value="300"/></label>
					<label style="float: left; width: 32%"><input type="checkbox" onclick="$('{$editorid}_mediaautostart').value =this.checked ? 1 : 0"> {lang post_discuzcode_media_autostart}</label>
				</td>
			</tr>

			<tr class="popupmenu_option">
				<td align="center" colspan="2"><input type="button" size="8" value="{lang submit}" onclick="setmediacode('$editorid')"> <input type="button" onclick="hideMenu()" value="{lang cancel}" /></td>
			</tr>
			</table>
			</div>
		<!--{/if}-->

		<!--{eval $coloroptions = array('Black', 'Sienna', 'DarkOliveGreen', 'DarkGreen', 'DarkSlateBlue', 'Navy', 'Indigo', 'DarkSlateGray', 'DarkRed', 'DarkOrange', 'Olive', 'Green', 'Teal', 'Blue', 'SlateGray', 'DimGray', 'Red', 'SandyBrown', 'YellowGreen','SeaGreen', 'MediumTurquoise', 'RoyalBlue', 'Purple', 'Gray', 'Magenta', 'Orange', 'Yellow', 'Lime', 'Cyan', 'DeepSkyBlue', 'DarkOrchid', 'Silver', 'Pink', 'Wheat', 'LemonChiffon', 'PaleGreen', 'PaleTurquoise', 'LightBlue', 'Plum', 'White')}-->
		<div class="popupmenu_popup" id="{$editorid}_popup_forecolor_menu" style="display: none">
		<table cellpadding="0" cellspacing="0" border="0" unselectable="on" style="width: auto;"><tr>
		<!--{loop $coloroptions $key $colorname}-->
				<td class="editor_colornormal" onclick="discuzcode('forecolor', '$colorname');hideMenu()" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: $colorname" unselectable="on"></div></td><!--{if ($key + 1) % 8 == 0}--></tr><tr><!--{/if}-->
		<!--{/loop}-->
		</tr></table></div>
	</div>

	<table class="editor_text" summary="Message Textarea" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
		<tr>
			<td>
				<textarea class="autosave" name="message" rows="10" cols="60" style="width:99%; height:250px" tabindex="100" id="{$editorid}_textarea"><!--{if $action == 'edit'}-->$postinfo[message]<!--{else}-->$message<!--{/if}--></textarea>
			</td>
		</tr>
	</table>

	<div id="{$editorid}_bottom" {if !$advanceeditor}style="border-top: none; display: none"{/if}>

		<table summary="Enitor Buttons" cellpadding="0" cellspacing="0" class="editor_button" style="border-top: none;">
			<tr>
				<td style="border-top: none;">
					<div class="editor_textexpand">
						<img src="images/common/bb_contract.gif" width="11" height="21" title="{lang post_discuzcode_contract}" alt="{lang post_discuzcode_contract}" id="{$editorid}_contract" /><img src="images/common/bb_expand.gif" width="12" height="21" title="{lang post_discuzcode_expand}" alt="{lang post_discuzcode_expand}" id="{$editorid}_expand" />
					</div>
					</td>
				<td align="right" style="border-top: none;">
					<button type="button" id="checklength">{lang post_check_length}</button>
					<button type="button" name="previewbutton" id="previewbutton" tabindex="102">{lang post_previewpost}</button>
					<button type="button" tabindex="103" id="clearcontent">{lang post_topicreset}</button>
				</td>
			</tr>
		</table>

		<!--{if $allowpostattach}-->
			<table class="box" summary="Upload" cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<th>{lang attachment_new}</th>
						<!--{if $allowsetattachperm}--><td class="nums">{lang readperm}</td><!--{/if}-->
						<!--{if $maxprice}--><td class="nums">{lang price}</td><!--{/if}-->
						<td>{lang description}</td>
					</tr>
				</thead>
				<tbody id="attachbodyhidden" style="display:none"><tr>
					<th>
						<input type="file" name="attach[]" />
						<span id="localfile[]"></span>
						<input type="hidden" name="localid[]" />
					</th>
					<!--{if $allowsetattachperm}--><td class="nums"><input type="text" name="attachperm[]" value="0" size="1" /></td><!--{/if}-->
					<!--{if $maxprice}--><td class="nums"><input type="text" name="attachprice[]" value="0" size="1" />{$extcredits[$creditstrans][unit]}</td><!--{/if}-->
					<td><input type="text" name="attachdesc[]" size="25" /></td>
				</tr></tbody>
				<tbody id="attachbody"></tbody>
				<tr><td colspan="5" style="border-bottom: none;">
					{lang attachment_size}: <strong><!--{if $maxattachsize_kb}-->{lang lower_than} $maxattachsize_kb kb <!--{else}-->{lang size_no_limit}<!--{/if}--></strong><br />
					<!--{if $attachextensions}-->{lang attachment_allow_exts}: <strong>$attachextensions</strong><br /><!--{/if}-->
					<!--{if $maxprice}-->{lang price}: <strong>{lang post_price_comment}{$extcredits[$creditstrans][title]}<!--{if $maxincperthread}-->{lang post_price_income_comment}<!--{/if}--><!--{if $maxchargespan}-->{lang post_price_charge_comment}<!--{/if}--><!--{/if}--></strong>
				</td></tr>
			</table>
			<div id="img_hidden" alt="1" style="position:absolute;top:-100000px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image');width:{$thumbwidth}px;height:{$thumbheight}px"></div>
		<!--{/if}-->
	</div>
</div>
</td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -