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

[ticket/14289] Add events to navbar header

PHPBB3-14289
This commit is contained in:
Richard McGirr 2015-11-13 05:50:10 -05:00
parent 8bb4af6271
commit 7c736d527d
2 changed files with 16 additions and 0 deletions

View File

@ -1072,6 +1072,20 @@ navbar_header_logged_out_content
* Since: 3.1.0-RC1
* Purpose: Add text and HTML in place of the username when not logged in.
navbar_header_navigation_append
===
* Locations:
+ styles/prosilver/template/navbar_header.html
* Since: 3.1.7-RC1
* Purpose: Add links to the left of the notification area
navbar_header_navigation_prepend
===
* Locations:
+ styles/prosilver/template/navbar_header.html
* Since: 3.1.7-RC1
* Purpose: Add links to the right of the user drop down area
navbar_header_profile_list_after
===
* Locations:

View File

@ -46,6 +46,7 @@
<!-- IF U_MCP --><li class="small-icon icon-mcp" data-last-responsive="true"><a href="{U_MCP}" title="{L_MCP}" role="menuitem">{L_MCP_SHORT}</a></li><!-- ENDIF -->
<!-- IF S_REGISTERED_USER -->
<!-- EVENT navbar_header_navigation_prepend -->
<li id="username_logged_in" class="rightside <!-- IF CURRENT_USER_AVATAR --> no-bulletin<!-- ENDIF -->" data-skip-responsive="true">
<!-- EVENT navbar_header_username_prepend -->
<div class="header-profile dropdown-container">
@ -80,6 +81,7 @@
<!-- INCLUDE notification_dropdown.html -->
</li>
<!-- ENDIF -->
<!-- EVENT navbar_header_navigation_append -->
<!-- ELSE -->
<li class="small-icon icon-logout rightside" data-skip-responsive="true"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">{L_LOGIN_LOGOUT}</a></li>
<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->