aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-22 10:14:43 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-07-22 10:14:43 +0200
commitd1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42 (patch)
tree1894988706a642cc9088277729094bdb9a8c1fac
parent6b658874bb6d502acfc68e74ca2eca643acac579 (diff)
parent49bffc1851298e4aadfe2771ed70902cc57d29ec (diff)
downloadforums-d1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42.tar
forums-d1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42.tar.gz
forums-d1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42.tar.bz2
forums-d1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42.tar.xz
forums-d1e6c89b9040b17478bc70f5ca3f3bea9b3b7c42.zip
Merge pull request #3787 from marc1706/ticket/13843
[ticket/13843] Add templates events to insert custom panel in posting editor
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/posting_editor.html1
-rw-r--r--phpBB/styles/prosilver/template/posting_layout.html2
3 files changed, 17 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index f811fae331..6235eee3a5 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -926,6 +926,13 @@ overall_header_stylesheets_after
* Purpose: Add asset calls after stylesheets within the `</head>` tag.
Note that INCLUDECSS will not work with this event.
+posting_editor_add_panel_tab
+===
+* Locations:
+ + styles/prosilver/template/posting_editor.html
+* Since: 3.1.6-RC1
+* Purpose: Add custom panel to post editor
+
posting_editor_bbcode_status_after
===
* Locations:
@@ -1014,6 +1021,13 @@ posting_editor_subject_before
* Since: 3.1.0-a2
* Purpose: Add field (e.g. textbox) to the posting screen before the subject
+posting_layout_include_panel_body
+===
+* Locations:
+ + styles/prosilver/template/posting_layout.html
+* Since: 3.1.6-RC1
+* Purpose: Add include of custom panel template body in posting editor
+
posting_pm_header_find_username_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html
index 5804f95579..1581afdb12 100644
--- a/phpBB/styles/prosilver/template/posting_editor.html
+++ b/phpBB/styles/prosilver/template/posting_editor.html
@@ -116,6 +116,7 @@
<a href="#tabs" data-subpanel="poll-panel" role="tab" aria-controls="poll-panel">{L_ADD_POLL}</a>
</li>
<!-- ENDIF -->
+ <!-- EVENT posting_editor_add_panel_tab -->
</ul>
</div>
<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/template/posting_layout.html b/phpBB/styles/prosilver/template/posting_layout.html
index 630afdb832..34f0c63d5c 100644
--- a/phpBB/styles/prosilver/template/posting_layout.html
+++ b/phpBB/styles/prosilver/template/posting_layout.html
@@ -77,6 +77,8 @@
<!-- IF S_SHOW_POLL_BOX or S_POLL_DELETE --><!-- INCLUDE posting_poll_body.html --><!-- ENDIF -->
+<!-- EVENT posting_layout_include_panel_body -->
+
<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
</form>