📄 post_attachments.htm
字号:
<script language="JavaScript">
var attachnum = 1;
function addattachment() {
attachnum < 5 ? attachnum++ : findobj("addattachlink").disabled=true;
findobj("attach_"+attachnum).style.display = "";
}
</script>
<br>
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr><td colspan="2" class="header"><a href="member.php?action=credits&view=postattach" target="_blank"><img src="{IMGDIR}/credits.gif" alt="{lang credits_policy_view}" align="right" border="0"></a>{lang attachment_new} <a id="addattachlink" href="###" onclick="addattachment(this.form)">[+]</a></td></tr>
<tr class="category"><td colspan="2">{lang attachment_new} ({lang lower_than} $maxattachsize_kb kb <!--{if $attachextensions}-->, {lang attachment_allow_exts}: $attachextensions<!--{/if}-->)</td></tr>
<tbody id="attach_1" style=""><tr class="altbg2"><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td></tr></tbody>
<tbody id="attach_2" style="display: none"><tr class="altbg2"><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td></tr></tbody>
<tbody id="attach_3" style="display: none"><tr class="altbg2"><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td></tr></tbody>
<tbody id="attach_4" style="display: none"><tr class="altbg2"><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td></tr></tbody>
<tbody id="attach_5" style="display: none"><tr class="altbg2"><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td><td width="50%"><!--{if $allowsetattachperm}-->{lang readperm}: <input type="text" name="attachperm[]" value="0" size="1"> <!--{/if}-->{lang description}: <input type="text" name="attachdesc[]" size="15"> {lang attachment}: <input type="file" name="attach[]" size="15"></td></tr></tbody>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -