1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

Merge pull request #3787 from marc1706/ticket/13843

[ticket/13843] Add templates events to insert custom panel in posting editor
This commit is contained in:
Marc Alexander 2015-07-22 10:14:43 +02:00
commit d1e6c89b90
3 changed files with 17 additions and 0 deletions

View File

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

View File

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

View File

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