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

[ticket/16384] Add template events friends list username {prepend/append}

PHPBB3-16384
This commit is contained in:
Dark❶ 2020-02-27 22:00:02 +05:30
parent 5ce1e1e7df
commit 1e607a8041
No known key found for this signature in database
GPG Key ID: FAE32A15F9132DE8
2 changed files with 30 additions and 2 deletions

View File

@ -2376,6 +2376,34 @@ ucp_friend_list_before
* Since: 3.1.0-a4
* Purpose: Add optional elements before list of friends in UCP
ucp_header_friends_offline_username_full_append
===
* Locations:
+ styles/prosilver/template/ucp_header.html
* Since: 3.2.10-RC1
* Purpose: Append information to offline friends username in UCP
ucp_header_friends_offline_username_full_prepend
===
* Locations:
+ styles/prosilver/template/ucp_header.html
* Since: 3.2.10-RC1
* Purpose: Prepend information to offline friends username in UCP
ucp_header_friends_online_username_full_append
===
* Locations:
+ styles/prosilver/template/ucp_header.html
* Since: 3.2.10-RC1
* Purpose: Append information to online friends username in UCP
ucp_header_friends_online_username_full_prepend
===
* Locations:
+ styles/prosilver/template/ucp_header.html
* Since: 3.2.10-RC1
* Purpose: Prepend information to online friends username in UCP
ucp_main_front_user_activity_after
===
* Locations:

View File

@ -69,11 +69,11 @@
<dt>{L_FRIENDS}</dt>
<!-- BEGIN friends_online -->
<dd class="friend-online" title="{L_FRIENDS_ONLINE}">{friends_online.USERNAME_FULL} <!-- IF S_SHOW_PM_BOX --> <input type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --><!-- IF friends_online.S_LAST_ROW and .friends_offline --><hr /><!-- ENDIF --></dd>
<dd class="friend-online" title="{L_FRIENDS_ONLINE}">{% EVENT ucp_header_friends_online_username_full_prepend %}{friends_online.USERNAME_FULL}{% EVENT ucp_header_friends_online_username_full_append %} <!-- IF S_SHOW_PM_BOX --> <input type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --><!-- IF friends_online.S_LAST_ROW and .friends_offline --><hr /><!-- ENDIF --></dd>
<!-- END friends_online -->
<!-- BEGIN friends_offline -->
<dd class="friend-offline" title="{L_FRIENDS_OFFLINE}">{friends_offline.USERNAME_FULL} <!-- IF S_SHOW_PM_BOX --><input type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --></dd>
<dd class="friend-offline" title="{L_FRIENDS_OFFLINE}">{% EVENT ucp_header_friends_offline_username_full_prepend %}{friends_offline.USERNAME_FULL}{% EVENT ucp_header_friends_offline_username_full_append %} <!-- IF S_SHOW_PM_BOX --><input type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --></dd>
<!-- END friends_offline -->
</dl>