From d5021aeda47390f4934fb728c875fa3ba3bbf7ea Mon Sep 17 00:00:00 2001 From: Wolfsblvt <clemenshusung@gmx.de> Date: Fri, 3 Apr 2015 17:02:43 +0200 Subject: [PATCH] [ticket/13739] Add template core event posting_poll_body_options_after Template event added for the poll options while posting a topic so that you may add additional options for polls. PHPBB3-13739 --- phpBB/docs/events.md | 8 ++++++++ phpBB/styles/prosilver/template/posting_poll_body.html | 1 + phpBB/styles/subsilver2/template/posting_poll_body.html | 1 + 3 files changed, 10 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 5c4b6a8d7d..7711869200 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -976,6 +976,14 @@ posting_pm_header_find_username_before * Since: 3.1.0-RC4 * Purpose: Add content before the find username link on composing pm +posting_poll_body_options_after +=== +* Locations: + + styles/prosilver/template/posting_poll_body.html + + styles/subsilver2/template/posting_poll_body.html +* Since: 3.1.4-RC1 +* Purpose: Add content after the poll options on creating a poll + quickreply_editor_panel_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_poll_body.html b/phpBB/styles/prosilver/template/posting_poll_body.html index a131c10533..fa5b3c200e 100644 --- a/phpBB/styles/prosilver/template/posting_poll_body.html +++ b/phpBB/styles/prosilver/template/posting_poll_body.html @@ -43,6 +43,7 @@ <dd><label for="poll_vote_change"><input type="checkbox" id="poll_vote_change" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /> {L_POLL_VOTE_CHANGE_EXPLAIN}</label></dd> </dl> <!-- ENDIF --> + <!-- EVENT posting_poll_body_options_after --> <!-- ELSEIF S_POLL_DELETE --> <dl class="fields1"> diff --git a/phpBB/styles/subsilver2/template/posting_poll_body.html b/phpBB/styles/subsilver2/template/posting_poll_body.html index 8d98b36c86..07cb6d527e 100644 --- a/phpBB/styles/subsilver2/template/posting_poll_body.html +++ b/phpBB/styles/subsilver2/template/posting_poll_body.html @@ -27,6 +27,7 @@ <td class="row2"><input type="checkbox" class="radio" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /></td> </tr> <!-- ENDIF --> +<!-- EVENT posting_poll_body_options_after --> <!-- IF S_POLL_DELETE --> <tr>