@ -26,7 +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=" # " title="[[global:header.notifications]]" class="dropdown-toggle" 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="butto n">
<i component="notifications/icon" class="fa fa-fw fa-bell-o" data-content="0"></i>
</a>
<ul class="dropdown-menu" aria-labelledby="notif_dropdown">
@ -44,7 +44,7 @@
<!-- IF !config.disableChat -->
<li class="chats dropdown">
<a class="dropdown-toggle" 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="butto n">
<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">
@ -62,11 +62,12 @@
<!-- ENDIF !config.disableChat -->
<li id="user_label" class="dropdown">
< a class="dropdown-toggle" data-toggle="dropdown" href="# " id="user_dropdown" title="[[global:header.profile]]">
< l abel 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>
</a>
</label>
<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 } ">
@ -123,7 +124,11 @@
<!-- ENDIF showModMenu -->
<li role="presentation" class="divider"></li>
<li component="user/logout">
<a href="#"><i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span></a>
<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>
</li>
</ul>
</li>