[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: * Locations:
+ styles/prosilver/template/posting_editor.html + styles/prosilver/template/posting_editor.html
+ styles/subsilver2/template/posting_body.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 simple_footer_after
=== ===

View file

@ -86,6 +86,8 @@
</dl> </dl>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT posting_editor_subject_before -->
<!-- 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>

View file

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