diff options
author | David King <imkingdavid@gmail.com> | 2014-05-11 22:10:11 -0400 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2014-06-23 19:56:33 +0530 |
commit | 3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13 (patch) | |
tree | 86878ec38963ff7d18ca954b0610a8d114e5eedc /phpBB | |
parent | b855f5fc6a9cc761c8144ef3d21b8212871f6733 (diff) | |
download | forums-3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13.tar forums-3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13.tar.gz forums-3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13.tar.bz2 forums-3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13.tar.xz forums-3113963cb6a3e75a0d9d52fe1af7aa44c13e9b13.zip |
[ticket/12532] Add navbar_header_username_append/prepend
PHPBB3-12532
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/events.md | 21 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/navbar_header.html | 2 |
2 files changed, 18 insertions, 5 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 44a7824901..bd148ffff2 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -344,6 +344,19 @@ memberlist_view_user_statistics_before * Since: 3.1.0-a1 * Purpose: Add entries before the user statistics part of any user profile +navbar_header_username_append +=== +* Locations: + + styles/prosilver/template/navbar_header.html +* Since: 3.1.0-b4 +* Purpose: Add text and HTMl after the username shown in the navbar. + +navbar_header_username_prepend +=== +* Locations: + + styles/prosilver/template/navbar_header.html +* Since: 3.1.0-b4 + overall_footer_after === * Locations: @@ -767,7 +780,7 @@ ucp_prefs_view_radio_buttons_prepend + styles/prosilver/template/ucp_prefs_view.html + styles/subsilver2/template/ucp_prefs_view.html * Since: 3.1.0-a1 -* Purpose: Add options to the top of the radio buttons block of the Edit +* Purpose: Add options to the top of the radio buttons block of the Edit Display Options screen ucp_prefs_view_radio_buttons_append @@ -776,7 +789,7 @@ ucp_prefs_view_radio_buttons_append + styles/prosilver/template/ucp_prefs_view.html + styles/subsilver2/template/ucp_prefs_view.html * Since: 3.1.0-a1 -* Purpose: Add options to the bottom of the radio buttons block of the Edit +* Purpose: Add options to the bottom of the radio buttons block of the Edit Display Options screen ucp_prefs_view_select_menu_prepend @@ -785,7 +798,7 @@ ucp_prefs_view_select_menu_prepend + styles/prosilver/template/ucp_prefs_view.html + styles/subsilver2/template/ucp_prefs_view.html * Since: 3.1.0-a1 -* Purpose: Add options to the top of the drop-down lists block of the Edit +* Purpose: Add options to the top of the drop-down lists block of the Edit Display Options screen ucp_prefs_view_select_menu_append @@ -794,7 +807,7 @@ ucp_prefs_view_select_menu_append + styles/prosilver/template/ucp_prefs_view.html + styles/subsilver2/template/ucp_prefs_view.html * Since: 3.1.0-a1 -* Purpose: Add options to the bottom of the drop-down lists block of the Edit +* Purpose: Add options to the bottom of the drop-down lists block of the Edit Display Options screen ucp_friend_list_before diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index 1eb120ef3e..df9167070b 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -10,7 +10,7 @@ <!-- EVENT overall_header_breadcrumb_append --> </li> - <!-- IF S_REGISTERED_USER --><li id="username_logged_in" class="rightside"><!-- IF CURRENT_USER_AVATAR --><a href="{U_USER_PROFILE}" class="header-avatar">{CURRENT_USER_AVATAR}</a> <!-- ENDIF -->{CURRENT_USERNAME_FULL}</li><!-- ENDIF --> + <!-- IF S_REGISTERED_USER --><li id="username_logged_in" class="rightside"><!-- EVENT navbar_header_username_prepend --><!-- IF CURRENT_USER_AVATAR --><a href="{U_USER_PROFILE}" class="header-avatar">{CURRENT_USER_AVATAR}</a> <!-- ENDIF -->{CURRENT_USERNAME_FULL}<!-- EVENT navbar_header_username_append --></li><!-- ENDIF --> <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --><li class="responsive-search rightside" style="display: none;"><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH}</a></li><!-- ENDIF --> </ul> |