mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-21 08:00:46 +01:00
[ticket/16237] move color from functions
PHPBB3-16237
This commit is contained in:
parent
6af33f95fc
commit
bc59782171
@ -3933,7 +3933,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
'CURRENT_USER_AVATAR' => phpbb_get_user_avatar($user->data),
|
||||
'CURRENT_USERNAME_SIMPLE' => get_username_string('no_profile', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
|
||||
'CURRENT_USERNAME_FULL' => get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
|
||||
'CURRENT_USER_GROUP_COLOR' => ' color: #' . $user->data['user_colour'],
|
||||
'CURRENT_USER_GROUP_COLOR' => $user->data['user_colour'],
|
||||
'UNREAD_NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
'NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
'U_VIEW_ALL_NOTIFICATIONS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=ucp_notifications'),
|
||||
|
@ -112,7 +112,7 @@
|
||||
<a href="{{ U_PROFILE }}" class="header-avatar dropdown-trigger">
|
||||
{% if CURRENT_USER_AVATAR %}{{ CURRENT_USER_AVATAR }} {% endif %}
|
||||
{{ CURRENT_USERNAME_SIMPLE }}
|
||||
{{ Icon('iconify', 'fa:caret-down', '', true, '', {'style': CURRENT_USER_GROUP_COLOR}) }}
|
||||
{{ Icon('iconify', 'fa:caret-down', '', true, '', {'style': 'color: #' ~ CURRENT_USER_GROUP_COLOR}) }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user