From 074b91497bcd8adc42b66bf04d8374fd9b1b2362 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 30 Aug 2014 22:13:37 +0200 Subject: [PATCH] [ticket/13023] Add template event posting_editor_buttons_custom_tags_before PHPBB3-13023 --- phpBB/docs/events.md | 8 ++++++++ .../prosilver/template/posting_buttons.html | 3 +++ .../subsilver2/template/posting_buttons.html | 19 ++++++++----------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 4f39e71c3c..bf713d3e62 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -692,6 +692,14 @@ posting_editor_buttons_before * Since: 3.1.0-a3 * Purpose: Add content before the BBCode posting buttons +posting_editor_buttons_custom_tags_before +=== +* Locations: + + styles/prosilver/template/posting_buttons.html + + styles/subsilver2/template/posting_buttons.html +* Since: 3.1.2-RC1 +* Purpose: Add content inside the BBCode posting buttons and before the customs BBCode + posting_editor_message_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 3dad6606bb..1555b12369 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -92,6 +92,9 @@ + + + diff --git a/phpBB/styles/subsilver2/template/posting_buttons.html b/phpBB/styles/subsilver2/template/posting_buttons.html index d1c0f79a16..516cd0922b 100644 --- a/phpBB/styles/subsilver2/template/posting_buttons.html +++ b/phpBB/styles/subsilver2/template/posting_buttons.html @@ -69,21 +69,18 @@ + + +
+ + onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" /> + +
+ - - - -
- - onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" /> - -
- - - colspan="2">