From e4336de68d8aca0c8aa0507c2d30597817eb6622 Mon Sep 17 00:00:00 2001 From: David King Date: Sat, 25 Jun 2016 21:16:54 +0100 Subject: [PATCH 1/5] [ticket/14695] Add posting_editor_subject_prepend/append template events PHPBB3-14695 --- phpBB/docs/events.md | 14 ++++++++++++++ .../styles/prosilver/template/posting_editor.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 5a7b87bf86..f2f4065161 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1487,6 +1487,13 @@ 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 +* Since: 3.1.10 +* Purpose: Add field, text, etc. to the posting after the subject text box + posting_editor_subject_before === * Locations: @@ -1495,6 +1502,13 @@ 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 +* Since: 3.1.10 +* 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..fc51a17433 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -23,7 +23,7 @@
-
+
From 7f1c4cd205997529bf3c154f07ed517f26e35c0b Mon Sep 17 00:00:00 2001 From: David King Date: Sat, 25 Jun 2016 22:58:57 +0100 Subject: [PATCH 2/5] [ticket/14695] Updated version number in events.md PHPBB3-14695 --- phpBB/docs/events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index f2f4065161..2c8e28cb4f 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1491,7 +1491,7 @@ posting_editor_subject_append === * Locations: + styles/prosilver/template/posting_editor.html -* Since: 3.1.10 +* Since: 3.1.10-RC1 * Purpose: Add field, text, etc. to the posting after the subject text box posting_editor_subject_before @@ -1506,7 +1506,7 @@ posting_editor_subject_prepend === * Locations: + styles/prosilver/template/posting_editor.html -* Since: 3.1.10 +* Since: 3.1.10-RC1 * Purpose: Add field, text, etc. to the posting before the subject text box posting_editor_submit_buttons From 1455be2260e8fbc7e24b20214154655ef87ef224 Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 9 Aug 2016 21:14:03 -0400 Subject: [PATCH 3/5] [ticket/14695] Put posting_editor_subject_append/prepend events on newlines As per request in the PR. PHPBB3-14695 --- phpBB/styles/prosilver/template/posting_editor.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index fc51a17433..5258ea09a2 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -23,7 +23,11 @@
-
+
+ + + +
From 0771eaa732a4c40fd126bd816987dc4c8963af40 Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 9 Aug 2016 21:16:33 -0400 Subject: [PATCH 4/5] [ticket/14695] Added posting_editor_subject_append/prepend events to subsilver As per request in PR. PHPBB3-14695 --- phpBB/styles/subsilver2/template/posting_body.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ {L_SUBJECT}{L_COLON} - + + + + + From 7e1e3e1a5e53b0c9d8a8c8b066bbfa1a0b7bc488 Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 9 Aug 2016 21:18:59 -0400 Subject: [PATCH 5/5] [ticket/14695] Add posting_editor_subject_append/prepend subsilver2 to events.md As per request in PR. PHPBB3-14695 --- phpBB/docs/events.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 2c8e28cb4f..1e83515dff 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1491,6 +1491,7 @@ 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 @@ -1506,6 +1507,7 @@ 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