@ -26,7 +26,10 @@
<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 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">
<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 +47,10 @@
<!-- 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 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">
<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 +68,17 @@
<!-- ENDIF !config.disableChat -->
<li id="user_label" class="dropdown">
<a class="dropdown-toggle " data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
<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">
<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">
<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 +135,12 @@
<!-- 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 class="noscript" 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>