|
|
|
@ -26,10 +26,7 @@
|
|
|
|
|
|
|
|
|
|
<ul id="logged-in-menu" class="nav navbar-nav navbar-right">
|
|
|
|
|
<li class="notifications dropdown text-center hidden-xs" component="notifications">
|
|
|
|
|
<a href="{relative_path}/notifications" title="[[global:header.notifications]]" class="dropdown-toggle noscript" data-toggle="dropdown" id="notif_dropdown_no_script">
|
|
|
|
|
<i component="notifications/icon" class="fa fa-fw fa-bell-o" data-content="0"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="#" title="[[global:header.notifications]]" class="dropdown-toggle yescript" data-toggle="dropdown" id="notif_dropdown">
|
|
|
|
|
<a href="{relative_path}/notifications" title="[[global:header.notifications]]" class="dropdown-toggle" data-toggle="dropdown" id="notif_dropdown" data-ajaxify="false" role="button">
|
|
|
|
|
<i component="notifications/icon" class="fa fa-fw fa-bell-o" data-content="0"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="notif_dropdown">
|
|
|
|
@ -47,10 +44,7 @@
|
|
|
|
|
|
|
|
|
|
<!-- IF !config.disableChat -->
|
|
|
|
|
<li class="chats dropdown">
|
|
|
|
|
<a class="dropdown-toggle noscript" data-toggle="dropdown" href="{relative_path}/user/{user.userslug}/chats" title="[[global:header.chats]]" id="chat_dropdown_no_script" component="chat/dropdown">
|
|
|
|
|
<i component="chat/icon" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="dropdown-toggle yescript" data-toggle="dropdown" href="#" title="[[global:header.chats]]" id="chat_dropdown" component="chat/dropdown">
|
|
|
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="{relative_path}/user/{user.userslug}/chats" title="[[global:header.chats]]" id="chat_dropdown" component="chat/dropdown" data-ajaxify="false" role="button">
|
|
|
|
|
<i component="chat/icon" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="chat_dropdown">
|
|
|
|
@ -68,17 +62,12 @@
|
|
|
|
|
<!-- ENDIF !config.disableChat -->
|
|
|
|
|
|
|
|
|
|
<li id="user_label" class="dropdown">
|
|
|
|
|
<a class="dropdown-toggle yescript" data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
|
|
|
|
|
<img component="header/userpicture" src="{user.picture}" alt="{user.username}"<!-- IF !user.picture --> style="display: none;"<!-- ENDIF !user.picture --> />
|
|
|
|
|
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};<!-- IF user.picture --> display: none;"<!-- ENDIF user.picture -->">{user.icon:text}</div>
|
|
|
|
|
<span id="user-header-name" class="visible-xs-inline">{user.username}</span>
|
|
|
|
|
</a>
|
|
|
|
|
<label class="dropdown-toggle noscript" data-toggle="dropdown" id="user_dropdown" title="[[global:header.profile]]" for="user-control-list-check">
|
|
|
|
|
<label for="user-control-list-check" class="dropdown-toggle" data-toggle="dropdown" id="user_dropdown" title="[[global:header.profile]]" role="button">
|
|
|
|
|
<img component="header/userpicture" src="{user.picture}" alt="{user.username}"<!-- IF !user.picture --> style="display: none;"<!-- ENDIF !user.picture --> />
|
|
|
|
|
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};<!-- IF user.picture --> display: none;"<!-- ENDIF user.picture -->">{user.icon:text}</div>
|
|
|
|
|
<span id="user-header-name" class="visible-xs-inline">{user.username}</span>
|
|
|
|
|
</label>
|
|
|
|
|
<input type="checkbox" class="hidden" id="user-control-list-check">
|
|
|
|
|
<input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true">
|
|
|
|
|
<ul id="user-control-list" component="header/usercontrol" class="dropdown-menu" aria-labelledby="user_dropdown">
|
|
|
|
|
<li>
|
|
|
|
|
<a component="header/profilelink" href="{relative_path}/user/{user.userslug}">
|
|
|
|
@ -135,12 +124,11 @@
|
|
|
|
|
<!-- ENDIF showModMenu -->
|
|
|
|
|
<li role="presentation" class="divider"></li>
|
|
|
|
|
<li component="user/logout">
|
|
|
|
|
<form class="noscript" method="post" action="{relative_path}/logout">
|
|
|
|
|
<form method="post" action="{relative_path}/logout">
|
|
|
|
|
<input type="hidden" name="_csrf" value="{config.csrf_token}">
|
|
|
|
|
<input type="hidden" name="noscript" value="true">
|
|
|
|
|
<button type="submit"><i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span></button>
|
|
|
|
|
</form>
|
|
|
|
|
<a href="#" class="yescript"><i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span></a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|