1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/14695] Add posting_editor_subject_prepend/append template events

PHPBB3-14695
This commit is contained in:
David King 2016-06-25 21:16:54 +01:00
parent 9595946508
commit e4336de68d
2 changed files with 15 additions and 1 deletions

View File

@ -1487,6 +1487,13 @@ posting_editor_subject_after
* Since: 3.1.0-a2 * Since: 3.1.0-a2
* Purpose: Add field (e.g. textbox) to the posting screen after the subject * Purpose: Add field (e.g. textbox) to the posting screen after the subject
posting_editor_subject_append
===
* Locations:
+ styles/prosilver/template/posting_editor.html
* Since: 3.1.10
* Purpose: Add field, text, etc. to the posting after the subject text box
posting_editor_subject_before posting_editor_subject_before
=== ===
* Locations: * Locations:
@ -1495,6 +1502,13 @@ posting_editor_subject_before
* Since: 3.1.0-a2 * Since: 3.1.0-a2
* Purpose: Add field (e.g. textbox) to the posting screen before the subject * Purpose: Add field (e.g. textbox) to the posting screen before the subject
posting_editor_subject_prepend
===
* Locations:
+ styles/prosilver/template/posting_editor.html
* Since: 3.1.10
* Purpose: Add field, text, etc. to the posting before the subject text box
posting_editor_submit_buttons posting_editor_submit_buttons
=== ===
* Locations: * Locations:

View File

@ -23,7 +23,7 @@
<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT --> <!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
<dl style="clear: left;"> <dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt> <dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt>
<dd><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" /></dd> <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> </dl>
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->