1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 06:39:14 +02:00

[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
This commit is contained in:
alf007 2015-05-30 18:25:38 +02:00 committed by Marc Alexander
parent 6b658874bb
commit 8b21e7c0d9
3 changed files with 21 additions and 0 deletions
phpBB

@ -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:

@ -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 -->

@ -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>