diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-09-11 11:07:48 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-09-11 11:07:48 +0200 |
commit | 4b8e8df55cce7653132cf67778d18cc66c2f6418 (patch) | |
tree | 015b5c8767ee9b4dcab55b764b959b1b475373a7 /phpBB | |
parent | dccb5564d2ed2e3e2247bd481c4ba70a6d1317a4 (diff) | |
parent | 7e1e3e1a5e53b0c9d8a8c8b066bbfa1a0b7bc488 (diff) | |
download | forums-4b8e8df55cce7653132cf67778d18cc66c2f6418.tar forums-4b8e8df55cce7653132cf67778d18cc66c2f6418.tar.gz forums-4b8e8df55cce7653132cf67778d18cc66c2f6418.tar.bz2 forums-4b8e8df55cce7653132cf67778d18cc66c2f6418.tar.xz forums-4b8e8df55cce7653132cf67778d18cc66c2f6418.zip |
Merge pull request #4371 from imkingdavid/ticket/14695
[ticket/14695] Add posting_editor_subject_prepend/append template events
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/events.md | 16 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_editor.html | 6 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/posting_body.html | 6 |
3 files changed, 26 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index c27455aeff..9e10145593 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1519,6 +1519,14 @@ posting_editor_subject_after * Since: 3.1.0-a2 * 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 === * Locations: @@ -1527,6 +1535,14 @@ posting_editor_subject_before * Since: 3.1.0-a2 * 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 === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index f897bf7a3b..5258ea09a2 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -23,7 +23,11 @@ <!-- 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> - <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> <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html index b984c9f96f..95f817e838 100644 --- a/phpBB/styles/subsilver2/template/posting_body.html +++ b/phpBB/styles/subsilver2/template/posting_body.html @@ -166,7 +166,11 @@ <!-- 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> + <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> <!-- EVENT posting_editor_subject_after --> <tr> |