You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

215 lines
8.7 KiB
Smarty

10 years ago
<div class="navbar-header">
<button type="button" class="navbar-toggle" id="mobile-menu">
<span component="notifications/icon" class="notification-icon fa fa-fw fa-bell-o" data-content="0"></span>
10 years ago
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="<!-- IF brand:logo:url -->{brand:logo:url}<!-- ELSE -->{relative_path}/<!-- ENDIF brand:logo:url -->">
<img alt="{brand:logo:alt}" class="{brand:logo:display} forum-logo" src="{brand:logo}" />
</a>
<!-- IF config.showSiteTitle -->
<a href="{relative_path}/">
<h1 class="navbar-brand forum-title">{title}</h1>
</a>
<!-- ENDIF config.showSiteTitle -->
<div component="navbar/title" class="visible-xs">
<span></span>
10 years ago
</div>
</div>
<div id="nav-dropdown" class="hidden-xs">
10 years ago
<!-- IF !maintenanceHeader -->
10 years ago
<!-- IF config.loggedIn -->
10 years ago
<ul id="logged-in-menu" class="nav navbar-nav navbar-right">
<li id="user_label" class="dropdown">
<a class="dropdown-toggle" 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>
9 years ago
<span id="user-header-name" class="visible-xs-inline">{user.username}</span>
10 years ago
</a>
<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}">
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i> <span component="header/username">{user.username}</span>
</a>
</li>
<li role="presentation" class="divider"></li>
<li>
<a href="#" class="user-status" data-status="online">
<i class="fa fa-fw fa-circle status online"></i><span> [[global:online]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="away">
<i class="fa fa-fw fa-circle status away"></i><span> [[global:away]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="dnd">
<i class="fa fa-fw fa-circle status dnd"></i><span> [[global:dnd]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="offline">
<i class="fa fa-fw fa-circle status offline"></i><span> [[global:invisible]]</span>
</a>
</li>
<li role="presentation" class="divider"></li>
<li>
<a href="{relative_path}/user/{user.userslug}/edit">
<i class="fa fa-fw fa-edit"></i> <span>[[user:edit-profile]]</span>
</a>
</li>
<li>
<a href="{relative_path}/user/{user.userslug}/settings">
<i class="fa fa-fw fa-gear"></i> <span>[[user:settings]]</span>
</a>
</li>
<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>
</li>
</ul>
10 years ago
</li>
</ul>
<ul id="logged-in-menu" class="nav navbar-nav navbar-right">
<li class="notifications dropdown text-center hidden-xs" component="notifications">
10 years ago
<a href="#" title="[[global:header.notifications]]" class="dropdown-toggle" data-toggle="dropdown" id="notif_dropdown">
<i component="notifications/icon" class="fa fa-fw fa-bell-o" data-content="0"></i>
10 years ago
</a>
<ul class="dropdown-menu" aria-labelledby="notif_dropdown">
<li>
<ul component="notifications/list" class="notification-list">
10 years ago
<li>
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:notifications.loading]]</a>
</li>
</ul>
</li>
<li class="notif-dropdown-link"><a href="#" class="mark-all-read">[[notifications:mark_all_read]]</a></li>
<li class="notif-dropdown-link"><a href="{relative_path}/notifications">[[notifications:see_all]]</a></li>
</ul>
</li>
<!-- 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">
<i component="chat/icon" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
10 years ago
</a>
<ul class="dropdown-menu" aria-labelledby="chat_dropdown">
<li>
10 years ago
<ul component="chat/list" class="chat-list">
10 years ago
<li>
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
</li>
</ul>
</li>
<li class="notif-dropdown-link"><a href="#" class="mark-all-read" component="chats/mark-all-read">[[modules:chat.mark_all_read]]</a></li>
10 years ago
<li class="notif-dropdown-link"><a href="{relative_path}/chats">[[modules:chat.see_all]]</a></li>
</ul>
</li>
<!-- ENDIF !config.disableChat -->
10 years ago
</ul>
<!-- ELSE -->
<ul id="logged-out-menu" class="nav navbar-nav navbar-right">
<!-- IF allowRegistration -->
10 years ago
<li>
<a href="{relative_path}/register">
<i class="fa fa-pencil visible-xs-inline"></i>
<span>[[global:register]]</span>
</a>
</li>
<!-- ENDIF allowRegistration -->
10 years ago
<li>
<a href="{relative_path}/login">
<i class="fa fa-sign-in visible-xs-inline"></i>
<span>[[global:login]]</span>
</a>
</li>
</ul>
10 years ago
<!-- ENDIF config.loggedIn -->
<!-- IF config.searchEnabled -->
10 years ago
<ul class="nav navbar-nav navbar-right">
<li>
<form id="search-form" class="navbar-form navbar-right hidden-xs" role="search" method="GET" action="">
<button id="search-button" type="button" class="btn btn-link"><i class="fa fa-search fa-fw" title="[[global:header.search]]"></i></button>
<div class="hidden" id="search-fields">
10 years ago
<div class="form-group">
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
9 years ago
<a href="#"><i class="fa fa-gears fa-fw advanced-search-link"></i></a>
10 years ago
</div>
<button type="submit" class="btn btn-default hide">[[global:search]]</button>
</div>
</form>
</li>
9 years ago
<li class="visible-xs" id="search-menu">
<a href="{relative_path}/search">
<i class="fa fa-search fa-fw"></i> [[global:search]]
</a>
</li>
10 years ago
</ul>
<!-- ENDIF config.searchEnabled -->
10 years ago
<ul class="nav navbar-nav navbar-right hidden-xs">
10 years ago
<li>
<a href="#" id="reconnect" class="hide" title="Connection to {title} has been lost, attempting to reconnect...">
<i class="fa fa-check"></i>
</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right pagination-block visible-lg visible-md">
10 years ago
<li class="dropdown">
<i class="fa fa-angle-double-up pointer fa-fw pagetop"></i>
<i class="fa fa-angle-up pointer fa-fw pageup"></i>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
9 years ago
<span class="pagination-text"></span>
10 years ago
</a>
<i class="fa fa-angle-down pointer fa-fw pagedown"></i>
<i class="fa fa-angle-double-down pointer fa-fw pagebottom"></i>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<ul class="dropdown-menu" role="menu">
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
</ul>
</li>
</ul>
<ul id="main-nav" class="nav navbar-nav">
<!-- BEGIN navigation -->
<!-- IF function.displayMenuItem, @index -->
<li class="{navigation.class}">
<a href="{navigation.route}" title="{navigation.title}" <!-- IF navigation.id -->id="{navigation.id}"<!-- ENDIF navigation.id --><!-- IF navigation.properties.targetBlank --> target="_blank"<!-- ENDIF navigation.properties.targetBlank -->>
<!-- IF navigation.iconClass -->
<i class="fa fa-fw {navigation.iconClass}"></i>
<!-- ENDIF navigation.iconClass -->
<!-- IF navigation.text -->
<span class="{navigation.textClass}">{navigation.text}</span>
<!-- ENDIF navigation.text -->
</a>
</li>
<!-- ENDIF function.displayMenuItem -->
<!-- END navigation -->
</ul>
10 years ago
<!-- ELSE -->
<ul class="nav navbar-nav navbar-right">
10 years ago
<li>
<a href="{relative_path}/login">
<i class="fa fa-sign-in visible-xs-inline"></i>
<span>[[global:login]]</span>
</a>
</li>
</ul>
<!-- ENDIF !maintenanceHeader -->
</div>