1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/11972] Add posting_editor_subject_before template event

PHPBB3-11972
This commit is contained in:
David King 2013-10-30 21:25:57 -07:00
parent 069f806169
commit 3be5fe5354
3 changed files with 11 additions and 2 deletions

View File

@ -169,7 +169,14 @@ posting_editor_subject_after
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Purpose: Add field (e.g. textbox) to the posting screen under the subject
* Purpose: Add field (e.g. textbox) to the posting screen after the subject
posting_editor_subject_before
===
* Locations:
+ styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.html
* Purpose: Add field (e.g. textbox) to the posting screen before the subject
simple_footer_after
===

View File

@ -86,6 +86,8 @@
</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>

View File

@ -163,7 +163,7 @@
</tr>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- EVENT posting_editor_subject_before -->
<tr>
<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>