205 lines
9.5 KiB
HTML
205 lines
9.5 KiB
HTML
|
<fieldset class="fields1">
|
||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||
|
|
||
|
{% EVENT posting_editor_topic_icons_before %}
|
||
|
|
||
|
<!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS -->
|
||
|
<dl>
|
||
|
<dt><label for="icon">{L_ICON}{L_COLON}</label></dt>
|
||
|
<dd>
|
||
|
{% EVENT posting_editor_topic_icons_prepend %}
|
||
|
|
||
|
<label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" tabindex="1" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label>
|
||
|
<!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} tabindex="1" /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="{topic_icon.ICON_ALT}" title="{topic_icon.ICON_ALT}" /></label> <!-- END topic_icon -->
|
||
|
|
||
|
{% EVENT posting_editor_topic_icons_append %}
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
{% EVENT posting_editor_topic_icons_after %}
|
||
|
|
||
|
<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->
|
||
|
<dl style="clear: left;">
|
||
|
<dt><label for="username">{L_USERNAME}{L_COLON}</label></dt>
|
||
|
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- EVENT posting_editor_subject_before -->
|
||
|
|
||
|
<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
|
||
|
<dl style="clear: left;">
|
||
|
<dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt>
|
||
|
<dd>
|
||
|
<!-- EVENT posting_editor_subject_prepend -->
|
||
|
<input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->120<!-- ELSE -->124<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" />
|
||
|
<!-- EVENT posting_editor_subject_append -->
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
|
||
|
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
|
||
|
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||
|
<!-- ENDIF -->
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- EVENT posting_editor_subject_after -->
|
||
|
|
||
|
<!-- INCLUDE posting_buttons.html -->
|
||
|
|
||
|
<div id="smiley-box" class="smiley-box">
|
||
|
<!-- EVENT posting_editor_smilies_before -->
|
||
|
<!-- IF S_SMILIES_ALLOWED and .smiley -->
|
||
|
<strong>{L_SMILIES}</strong><br />
|
||
|
<!-- BEGIN smiley -->
|
||
|
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
|
||
|
<!-- END smiley -->
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED -->
|
||
|
<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 750, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- EVENT posting_editor_smilies_after -->
|
||
|
<!-- IF BBCODE_STATUS -->
|
||
|
<div class="bbcode-status">
|
||
|
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
||
|
{BBCODE_STATUS}<br />
|
||
|
<!-- IF S_BBCODE_ALLOWED -->
|
||
|
{IMG_STATUS}<br />
|
||
|
{FLASH_STATUS}<br />
|
||
|
{URL_STATUS}<br />
|
||
|
<!-- ENDIF -->
|
||
|
{SMILIES_STATUS}
|
||
|
</div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- EVENT posting_editor_bbcode_status_after -->
|
||
|
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
|
||
|
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
|
||
|
<!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF -->
|
||
|
<!-- IF S_DISPLAY_REVIEW --><strong><a href="#review">{L_TOPIC_REVIEW}</a></strong><!-- ENDIF -->
|
||
|
<!-- ENDIF -->
|
||
|
</div>
|
||
|
|
||
|
<!-- EVENT posting_editor_message_before -->
|
||
|
|
||
|
<div id="message-box" class="message-box">
|
||
|
<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>
|
||
|
</div>
|
||
|
|
||
|
<!-- EVENT posting_editor_message_after -->
|
||
|
</fieldset>
|
||
|
|
||
|
<!-- IF $EXTRA_POSTING_OPTIONS eq 1 -->
|
||
|
|
||
|
<!-- IF not S_SHOW_DRAFTS -->
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
|
||
|
<div class="panel bg2">
|
||
|
<div class="inner">
|
||
|
<fieldset class="submit-buttons">
|
||
|
{S_HIDDEN_ADDRESS_FIELD}
|
||
|
{S_HIDDEN_FIELDS}
|
||
|
<!-- EVENT posting_editor_submit_buttons -->
|
||
|
<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" /> <!-- ENDIF -->
|
||
|
<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" /> <!-- ENDIF -->
|
||
|
<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />
|
||
|
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" />
|
||
|
|
||
|
</fieldset>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF not S_PRIVMSGS and not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
|
||
|
<div id="tabs" class="tabs sub-panels" data-show-panel="<!-- IF SHOW_PANEL -->{SHOW_PANEL}<!-- ELSE -->options-panel<!-- ENDIF -->" role="tablist">
|
||
|
<ul>
|
||
|
<li id="options-panel-tab" class="tab activetab"><a href="#tabs" data-subpanel="options-panel" role="tab" aria-controls="options-panel"><span>{L_OPTIONS}</span></a></li>
|
||
|
<!-- IF S_SHOW_ATTACH_BOX and FILTERS -->
|
||
|
<li id="attach-panel-tab" class="tab">
|
||
|
<a href="#tabs" data-subpanel="attach-panel" role="tab" aria-controls="attach-panel">
|
||
|
{L_ATTACHMENTS} <strong id="file-total-progress" class="file-total-progress"><strong id="file-total-progress-bar" class="file-total-progress-bar"></strong></strong>
|
||
|
</a>
|
||
|
</li>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_SHOW_POLL_BOX || S_POLL_DELETE -->
|
||
|
<li id="poll-panel-tab" class="tab">
|
||
|
<a href="#tabs" data-subpanel="poll-panel" role="tab" aria-controls="poll-panel">{L_ADD_POLL}</a>
|
||
|
</li>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- EVENT posting_editor_add_panel_tab -->
|
||
|
</ul>
|
||
|
</div>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
|
||
|
<div class="panel bg3" id="options-panel">
|
||
|
<div class="inner">
|
||
|
|
||
|
<fieldset class="fields1">
|
||
|
<!-- EVENT posting_editor_options_prepend -->
|
||
|
<!-- IF S_BBCODE_ALLOWED -->
|
||
|
<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_SMILIES_ALLOWED -->
|
||
|
<div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_LINKS_ALLOWED -->
|
||
|
<div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_SIG_ALLOWED -->
|
||
|
<div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_NOTIFY_ALLOWED -->
|
||
|
<div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_LOCK_TOPIC_ALLOWED -->
|
||
|
<div><label for="lock_topic"><input type="checkbox" name="lock_topic" id="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
<!-- IF S_LOCK_POST_ALLOWED -->
|
||
|
<div><label for="lock_post"><input type="checkbox" name="lock_post" id="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</label></div>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF S_TYPE_TOGGLE or S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||
|
<hr class="dashed" />
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF S_TYPE_TOGGLE -->
|
||
|
<dl>
|
||
|
<dt><label for="topic_type-0"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->{L_COLON}</label></dt>
|
||
|
<dd><!-- BEGIN topic_type --><label for="topic_type-{topic_type.VALUE}"><input type="radio" name="topic_type" id="topic_type-{topic_type.VALUE}" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}</label> <!-- END topic_type --></dd>
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||
|
<dl>
|
||
|
<dt><label for="topic_time_limit">{L_STICK_TOPIC_FOR}{L_COLON}</label></dt>
|
||
|
<dd><label for="topic_time_limit"><input type="number" min="0" max="999" name="topic_time_limit" id="topic_time_limit" value="{TOPIC_TIME_LIMIT}" class="inputbox autowidth" /> {L_DAYS}</label></dd>
|
||
|
<dd>{L_STICK_TOPIC_FOR_EXPLAIN}</dd>
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF S_SOFTDELETE_ALLOWED or S_DELETE_ALLOWED -->
|
||
|
<hr class="dashed" />
|
||
|
<dl>
|
||
|
<dt><label for="delete">{L_DELETE_POST}{L_COLON}</label></dt>
|
||
|
<dd><label for="delete"><input type="checkbox" name="delete" id="delete" {S_SOFTDELETE_CHECKED} /> {L_DELETE_POST_WARN}</label></dd>
|
||
|
<!-- IF S_DELETE_ALLOWED and S_SOFTDELETE_ALLOWED -->
|
||
|
<dd><label for="delete_permanent"><input type="checkbox" name="delete_permanent" id="delete_permanent" /> {L_DELETE_POST_PERMANENTLY}</label></dd>
|
||
|
<!-- ENDIF -->
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- IF S_EDIT_REASON -->
|
||
|
<dl>
|
||
|
<dt><label for="edit_reason">{L_EDIT_REASON}{L_COLON}</label></dt>
|
||
|
<dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd>
|
||
|
</dl>
|
||
|
<!-- ENDIF -->
|
||
|
</fieldset>
|
||
|
<!-- ENDIF -->
|
||
|
|
||
|
<!-- ENDIF -->
|