[ticket/14002] Add template events before/after user details in ucp_main_front

PHPBB3-14002
This commit is contained in:
rxu 2015-07-11 17:38:00 +07:00
parent 05f1476fc9
commit 42dc7eb0f5
3 changed files with 20 additions and 0 deletions

View file

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

View file

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

View file

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