mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #4371 from imkingdavid/ticket/14695
[ticket/14695] Add posting_editor_subject_prepend/append template events
This commit is contained in:
commit
4b8e8df55c
3 changed files with 26 additions and 2 deletions
|
@ -1519,6 +1519,14 @@ 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
|
||||||
|
+ styles/subsilver2/template/posting_body.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add field, text, etc. to the posting after the subject text box
|
||||||
|
|
||||||
posting_editor_subject_before
|
posting_editor_subject_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
@ -1527,6 +1535,14 @@ 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
|
||||||
|
+ styles/subsilver2/template/posting_body.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add field, text, etc. to the posting before the subject text box
|
||||||
|
|
||||||
posting_editor_submit_buttons
|
posting_editor_submit_buttons
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -23,7 +23,11 @@
|
||||||
<!-- 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 -->
|
||||||
|
|
|
@ -166,7 +166,11 @@
|
||||||
<!-- EVENT posting_editor_subject_before -->
|
<!-- EVENT posting_editor_subject_before -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}{L_COLON}</b></td>
|
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}{L_COLON}</b></td>
|
||||||
<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->120<!-- ELSE -->124<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td>
|
<td class="row2" width="78%">
|
||||||
|
<!-- EVENT posting_editor_subject_prepend -->
|
||||||
|
<input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->120<!-- ELSE -->124<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" />
|
||||||
|
<!-- EVENT posting_editor_subject_append -->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- EVENT posting_editor_subject_after -->
|
<!-- EVENT posting_editor_subject_after -->
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue