diff options
author | alf007 <alf007@free.fr> | 2015-05-30 18:25:38 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-07-22 09:43:59 +0200 |
commit | 8b21e7c0d9d27f9d1722966bf71e088e232cd4b2 (patch) | |
tree | 98e6eaf8c570aa23b0d7ff94bb745b0944e43071 | |
parent | 6b658874bb6d502acfc68e74ca2eca643acac579 (diff) | |
download | forums-8b21e7c0d9d27f9d1722966bf71e088e232cd4b2.tar forums-8b21e7c0d9d27f9d1722966bf71e088e232cd4b2.tar.gz forums-8b21e7c0d9d27f9d1722966bf71e088e232cd4b2.tar.bz2 forums-8b21e7c0d9d27f9d1722966bf71e088e232cd4b2.tar.xz forums-8b21e7c0d9d27f9d1722966bf71e088e232cd4b2.zip |
[ticket/13843] Add templates events to insert custom panel in posting
Events added in events.md
Add in template posting_editor.html for link to custom panel
Add in template posting_layout.html for include of custom panel template body
PHPBB3-13843
-rw-r--r-- | phpBB/docs/events.md | 18 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_editor.html | 1 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/posting_layout.html | 2 |
3 files changed, 21 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index f811fae331..63f3c183ad 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.5-RC1 +* Purpose: Add custom panel to post editor + posting_editor_bbcode_status_after === * Locations: @@ -1014,6 +1021,17 @@ 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 +<<<<<<< HEAD +* Since: 3.1.5-RC1 +======= +* Since: 3.1.5 +>>>>>>> 5e45eb9... [ticket/13843] Add templates events to insert custom panel in posting +* 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> |