diff options
| author | David King <imkingdavid@gmail.com> | 2013-10-24 19:44:40 -0700 |
|---|---|---|
| committer | David King <imkingdavid@gmail.com> | 2013-11-02 15:27:52 -0700 |
| commit | 069f8061698e95f9a94ac65cbf4c8f3c6a7a7714 (patch) | |
| tree | 8e97a46631e7cd4af8a49a27e5b6401aa951dea1 | |
| parent | 63a82f26dda08fde2f11009b3bad7ab7a1bbb437 (diff) | |
| download | forums-069f8061698e95f9a94ac65cbf4c8f3c6a7a7714.tar forums-069f8061698e95f9a94ac65cbf4c8f3c6a7a7714.tar.gz forums-069f8061698e95f9a94ac65cbf4c8f3c6a7a7714.tar.bz2 forums-069f8061698e95f9a94ac65cbf4c8f3c6a7a7714.tar.xz forums-069f8061698e95f9a94ac65cbf4c8f3c6a7a7714.zip | |
[ticket/11972] Add posting_editor_subject_after template event
PHPBB3-11972
| -rw-r--r-- | phpBB/docs/events.md | 10 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/posting_editor.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/posting_body.html | 1 |
3 files changed, 11 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 49804a57bc..fc49c67a32 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -161,10 +161,16 @@ posting_editor_options_prepend === * Locations: + styles/prosilver/template/posting_editor.html - + styles/prosilver/template/posting_body.html -* Since: 3.1.0-a1 + + styles/subsilver2/template/posting_body.html * Purpose: Add posting options on the posting screen +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 + simple_footer_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index f3e62db649..a4be602bdf 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -97,6 +97,8 @@ <!-- ENDIF --> <!-- ENDIF --> + <!-- EVENT posting_editor_subject_after --> + <!-- INCLUDE posting_buttons.html --> <div id="smiley-box"> diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html index 635b05aaa0..ea35ccc20f 100644 --- a/phpBB/styles/subsilver2/template/posting_body.html +++ b/phpBB/styles/subsilver2/template/posting_body.html @@ -168,6 +168,7 @@ <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> </tr> +<!-- EVENT posting_editor_subject_after --> <tr> <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}{L_COLON}</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN} </span><br /><br /> <!-- IF S_SMILIES_ALLOWED --> |
