aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2015-07-11 17:38:00 +0700
committerrxu <rxu@mail.ru>2015-07-11 17:51:03 +0700
commit42dc7eb0f5c1c4019f781de0250aae74a0c708e5 (patch)
tree18cb5e7282e323bac9c5881b42d6f1c46bf0b61f
parent05f1476fc99e1c3c5142cf228b00b48b4e0e133e (diff)
downloadforums-42dc7eb0f5c1c4019f781de0250aae74a0c708e5.tar
forums-42dc7eb0f5c1c4019f781de0250aae74a0c708e5.tar.gz
forums-42dc7eb0f5c1c4019f781de0250aae74a0c708e5.tar.bz2
forums-42dc7eb0f5c1c4019f781de0250aae74a0c708e5.tar.xz
forums-42dc7eb0f5c1c4019f781de0250aae74a0c708e5.zip
[ticket/14002] Add template events before/after user details in ucp_main_front
PHPBB3-14002
-rw-r--r--phpBB/docs/events.md16
-rw-r--r--phpBB/styles/prosilver/template/ucp_main_front.html2
-rw-r--r--phpBB/styles/subsilver2/template/ucp_main_front.html2
3 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 46bd85a3bc..f811fae331 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1231,6 +1231,22 @@ ucp_agreement_terms_before
* Since: 3.1.0-b3
* Purpose: Add content before the terms of agreement text at user registration
+ucp_main_front_user_activity_after
+===
+* Locations:
+ + styles/prosilver/template/ucp_main_front.html
+ + styles/subsilver2/template/ucp_main_front.html
+* Since: 3.1.6-RC1
+* Purpose: Add content right after the user activity info viewing UCP front page
+
+ucp_main_front_user_activity_before
+===
+* Locations:
+ + styles/prosilver/template/ucp_main_front.html
+ + styles/subsilver2/template/ucp_main_front.html
+* Since: 3.1.6-RC1
+* Purpose: Add content right before the user activity info viewing UCP front page
+
ucp_pm_viewmessage_avatar_after
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/ucp_main_front.html b/phpBB/styles/prosilver/template/ucp_main_front.html
index 942d26edc6..7bc8d40078 100644
--- a/phpBB/styles/prosilver/template/ucp_main_front.html
+++ b/phpBB/styles/prosilver/template/ucp_main_front.html
@@ -53,6 +53,7 @@
<h3>{L_YOUR_DETAILS}</h3>
+<!-- EVENT ucp_main_front_user_activity_before -->
<dl class="details">
<dt>{L_JOINED}{L_COLON}</dt> <dd>{JOINED}</dd>
<dt>{L_LAST_ACTIVE}{L_COLON}</dt> <dd>{LAST_VISIT_YOU}</dd>
@@ -61,6 +62,7 @@
<!-- IF ACTIVE_TOPIC != '' --><dt>{L_ACTIVE_IN_TOPIC}{L_COLON}</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->
<!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}{L_COLON}</dt> <dd class="error">{WARNING_IMG} [{WARNINGS}]</dd><!-- ENDIF -->
</dl>
+<!-- EVENT ucp_main_front_user_activity_after -->
</div>
</div>
diff --git a/phpBB/styles/subsilver2/template/ucp_main_front.html b/phpBB/styles/subsilver2/template/ucp_main_front.html
index 5dea2b4f03..7fc906a126 100644
--- a/phpBB/styles/subsilver2/template/ucp_main_front.html
+++ b/phpBB/styles/subsilver2/template/ucp_main_front.html
@@ -35,6 +35,7 @@
<th colspan="3">{L_YOUR_DETAILS}</th>
</tr>
<tr>
+<!-- EVENT ucp_main_front_user_activity_before -->
<td class="row1" colspan="3">
<table width="100%" cellspacing="1" cellpadding="4">
<tr>
@@ -63,6 +64,7 @@
<!-- ENDIF -->
</table>
</td>
+<!-- EVENT ucp_main_front_user_activity_after -->
</tr>
<tr>
<td class="cat" colspan="3">&nbsp;</td>