1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/15949] Add ucp_profile_signature_posting_editor_options_prepend

It adds a template event in the signature posting editor to add custom
options to be consistent with the default posting editor.

PHPBB3-15949
This commit is contained in:
Alfredo Ramos 2019-01-21 12:23:05 -06:00
parent 713c996a08
commit 7fc8b55f8c
2 changed files with 8 additions and 0 deletions

View File

@ -2420,6 +2420,13 @@ ucp_profile_register_details_after
* Since: 3.1.4-RC1
* Purpose: Add options in profile page fieldset - after confirm password field.
ucp_profile_signature_posting_editor_options_prepend
===
* Locations:
+ styles/prosilver/template/ucp_profile_signature.html
* Since: 3.2.6-RC1
* Purpose: Add options signature posting editor - before first option.
ucp_register_buttons_before
===
* Locations:

View File

@ -24,6 +24,7 @@
<!-- INCLUDE posting_editor.html -->
<h3>{L_OPTIONS}</h3>
<fieldset>
{% EVENT ucp_profile_signature_posting_editor_options_prepend %}
<!-- IF S_BBCODE_ALLOWED -->
<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div>
<!-- ENDIF -->