1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-03 14:17:56 +02:00

[ticket/17277] Add template events to UCP

PHPBB3-17277
This commit is contained in:
rxu 2023-12-26 00:35:55 +07:00
parent 213d092f6f
commit dc415768a8
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
4 changed files with 54 additions and 1 deletions

View File

@ -2500,6 +2500,13 @@ ucp_agreement_terms_before
* Since: 3.1.0-b3
* Purpose: Add content before the terms of agreement text at user registration
ucp_footer_content_after
===
* Locations:
+ styles/prosilver/template/ucp_footer.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements after tab panels content in UCP
ucp_friend_list_after
===
* Locations:
@ -2514,6 +2521,13 @@ ucp_friend_list_before
* Since: 3.1.0-a4
* Purpose: Add optional elements before list of friends in UCP
ucp_header_content_before
===
* Locations:
+ styles/prosilver/template/ucp_header.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements before tab panels content in UCP
ucp_header_friends_offline_username_full_append
===
* Locations:
@ -2584,6 +2598,34 @@ ucp_main_subscribed_topic_title_after
* Since: 3.3.8-RC1
* Purpose: Add content right after the topic title viewing UCP subscribed topics
ucp_notifications_content_after
===
* Locations:
+ styles/prosilver/template/ucp_notifications.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements after UCP notification options tab content
ucp_notifications_content_before
===
* Locations:
+ styles/prosilver/template/ucp_notifications.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements before UCP notification options tab content
ucp_notifications_form_after
===
* Locations:
+ styles/prosilver/template/ucp_notifications.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements after HTMP form in UCP notification options tab
ucp_notifications_form_before
===
* Locations:
+ styles/prosilver/template/ucp_notifications.html
* Since: 3.3.12-RC1
* Purpose: Add optional elements before HTMP form in UCP notificationoptions tab
ucp_pm_history_post_buttons_after
===
* Locations:

View File

@ -1,6 +1,6 @@
</div>
{% EVENT ucp_footer_content_after %}
</div>
</div>
</div>

View File

@ -98,4 +98,6 @@
</div>
{% EVENT ucp_header_content_before %}
<div id="cp-main" class="cp-main ucp-main panel-container">

View File

@ -1,8 +1,13 @@
<!-- INCLUDE ucp_header.html -->
{% EVENT ucp_notifications_form_before %}
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
<h2>{TITLE}</h2>
{% EVENT ucp_notifications_content_before %}
<div class="panel">
<div class="inner">
@ -105,6 +110,8 @@
</div>
</div>
{% EVENT ucp_notifications_content_after %}
<!-- IF .notification_types or .notification_list -->
<fieldset class="display-actions">
<input type="hidden" name="form_time" value="{FORM_TIME}" />
@ -117,4 +124,6 @@
</form>
{% EVENT ucp_notifications_form_after %}
<!-- INCLUDE ucp_footer.html -->