From d5021aeda47390f4934fb728c875fa3ba3bbf7ea Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Fri, 3 Apr 2015 17:02:43 +0200 Subject: [PATCH 1/3] [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 @@
+
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 @@ + From 284a5671c56dcf02ea4bf5c37d125707989977cc Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Fri, 3 Apr 2015 18:56:53 +0200 Subject: [PATCH 2/3] [ticket/13739] Add template core event posting_poll_body_options_after Fixing if else construct in prosilver so that the event is placed correctly PHPBB3-13739 --- phpBB/styles/prosilver/template/posting_poll_body.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/posting_poll_body.html b/phpBB/styles/prosilver/template/posting_poll_body.html index fa5b3c200e..6acd371415 100644 --- a/phpBB/styles/prosilver/template/posting_poll_body.html +++ b/phpBB/styles/prosilver/template/posting_poll_body.html @@ -44,8 +44,9 @@
+ - +
From 1d34968967c2cdbff5ae7271b589a6a1b6e0222b Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Fri, 3 Apr 2015 19:20:16 +0200 Subject: [PATCH 3/3] [ticket/13739] Add template core event posting_poll_body_options_after Fixing order of if statement and event PHPBB3-13739 --- phpBB/styles/prosilver/template/posting_poll_body.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/posting_poll_body.html b/phpBB/styles/prosilver/template/posting_poll_body.html index 6acd371415..c3eea0d21d 100644 --- a/phpBB/styles/prosilver/template/posting_poll_body.html +++ b/phpBB/styles/prosilver/template/posting_poll_body.html @@ -43,8 +43,8 @@
- +