diff options
author | 3D-I <marktravai@gmail.com> | 2018-11-29 01:19:10 +0100 |
---|---|---|
committer | 3D-I <marktravai@gmail.com> | 2018-11-29 01:20:13 +0100 |
commit | ad0c85293bf36b5604121cf25ef702bd3507cdd0 (patch) | |
tree | a2b289ccb6acbdb1667a578f38797d6801db18ac /phpBB/styles | |
parent | 7a92f6a3b63bf4de7cd9f0d4854ef981c7444465 (diff) | |
download | forums-ad0c85293bf36b5604121cf25ef702bd3507cdd0.tar forums-ad0c85293bf36b5604121cf25ef702bd3507cdd0.tar.gz forums-ad0c85293bf36b5604121cf25ef702bd3507cdd0.tar.bz2 forums-ad0c85293bf36b5604121cf25ef702bd3507cdd0.tar.xz forums-ad0c85293bf36b5604121cf25ef702bd3507cdd0.zip |
[ticket/15884] Add memberlist_body_* events
add new events for group
update events name
update events.md
PHPBB3-15884
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/memberlist_body.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html index 3d24bc7d65..f605766123 100644 --- a/phpBB/styles/prosilver/template/memberlist_body.html +++ b/phpBB/styles/prosilver/template/memberlist_body.html @@ -13,16 +13,22 @@ <!-- ENDIF --> <!-- IF S_SHOW_GROUP --> + {% EVENT memberlist_body_group_name_before %} <h2 class="group-title"<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{GROUP_NAME}</h2> + {% EVENT memberlist_body_group_name_after %} <!-- IF U_MANAGE --> <p class="right responsive-center manage rightside"><a href="{U_MANAGE}">{L_MANAGE_GROUP}</a></p> <!-- ENDIF --> <p>{GROUP_DESC} {GROUP_TYPE}</p> + {% EVENT memberlist_body_group_desc_after %} + <p> <!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF --> + {% EVENT memberlist_body_group_rank_before %} <!-- IF RANK_IMG -->{RANK_IMG}<!-- ENDIF --> <!-- IF GROUP_RANK -->{GROUP_RANK}<!-- ENDIF --> + {% EVENT memberlist_body_group_rank_after %} </p> <!-- ELSE --> <h2 class="solo">{PAGE_TITLE}<!-- IF SEARCH_WORDS -->{L_COLON} <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2> @@ -60,7 +66,7 @@ <th class="info"><!-- BEGIN custom_fields --><!-- IF not custom_fields.S_FIRST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF -->{custom_fields.PROFILE_FIELD_NAME}<!-- END custom_fields --></th> <th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th> <!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF --> - {% EVENT memberlist_body_memberlist_append %} + {% EVENT memberlist_body_memberlist_after %} </tr> </thead> <tbody> @@ -92,14 +98,14 @@ <th class="info">{% for field in custom_fields %}{% if not loop.first %}{L_COMMA_SEPARATOR} {% endif %}{{ field.PROFILE_FIELD_NAME }}{% endfor %}</th> <th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th> <!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF --> - {% EVENT memberlist_body_leaders_set_append %} + {% EVENT memberlist_body_leaders_set_after %} <!-- ELSEIF S_SHOW_GROUP --> <th class="name">{L_GROUP_MEMBERS}</th> <th class="posts">{L_POSTS}</th> <th class="info"><!-- BEGIN custom_fields --><!-- IF not custom_fields.S_FIRST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF -->{custom_fields.PROFILE_FIELD_NAME}<!-- END custom_fields --></th> <th class="joined">{L_JOINED}</th> <!-- IF U_SORT_ACTIVE --><th class="active">{L_LAST_ACTIVE}</th><!-- ENDIF --> - {% EVENT memberlist_body_show_group_append %} + {% EVENT memberlist_body_show_group_after %} <!-- ENDIF --> </tr> </thead> @@ -114,7 +120,7 @@ <td class="info"><!-- BEGIN custom_fields --><div>{memberrow.custom_fields.PROFILE_FIELD_VALUE}</div><!-- BEGINELSE --> <!-- END custom_fields --></td> <td>{memberrow.JOINED}</td> <!-- IF S_VIEWONLINE --><td>{memberrow.LAST_ACTIVE} </td><!-- ENDIF --> - {% EVENT memberlist_body_memberrow_append %} + {% EVENT memberlist_body_memberrow_after %} </tr> <!-- BEGINELSE --> <tr class="bg1"> |