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.

83 lines
3.0 KiB
Smarty

10 years ago
<!DOCTYPE html>
<html lang="{function.localeToHTML, defaultLang}">
10 years ago
<head>
<title>{browserTitle}</title>
<!-- BEGIN metaTags -->
{function.buildMetaTag}
<!-- END metaTags -->
<link rel="stylesheet" type="text/css" href="{relative_path}/stylesheet.css?{css-buster}" />
<!-- IF bootswatchCSS --><link id="bootswatchCSS" href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS -->
10 years ago
<!-- BEGIN linkTags -->
<link<!-- IF linkTags.link --> link="{linkTags.link}"<!-- ENDIF linkTags.link --><!-- IF linkTags.rel --> rel="{linkTags.rel}"<!-- ENDIF linkTags.rel --><!-- IF linkTags.type --> type="{linkTags.type}"<!-- ENDIF linkTags.type --><!-- IF linkTags.href --> href="{linkTags.href}"<!-- ENDIF linkTags.href --> />
<!-- END linkTags -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/2.3.0/es5-shim.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
10 years ago
<script>__lt_ie_9__ = 1;</script>
<![endif]-->
<script>
var RELATIVE_PATH = "{relative_path}";
var config = JSON.parse('{{configJSON}}');
10 years ago
var app = {
template: "{template.name}",
user: JSON.parse('{{userJSON}}')
10 years ago
};
</script>
<script src="{relative_path}/nodebb.min.js?{script-buster}"></script>
<!-- IMPORT partials/requirejs-config.tpl -->
10 years ago
<!-- IF useCustomJS -->
{{customJS}}
10 years ago
<!-- ENDIF useCustomJS -->
<!-- IF useCustomCSS -->
<style type="text/css">{{customCSS}}</style>
<!-- ENDIF useCustomCSS -->
10 years ago
</head>
<body>
<nav id="menu">
<section class="menu-profile">
<img src="{user.picture}"/>
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i></span>
</section>
<section class="menu-section" data-section="navigation">
<h3 class="menu-section-title">[[global:header.navigation]]</h3>
<ul class="menu-section-list"></ul>
</section>
<!-- IF loggedIn -->
<section class="menu-section" data-section="profile">
<h3 class="menu-section-title">[[global:header.profile]]</h3>
<ul class="menu-section-list" component="header/usercontrol"></ul>
</section>
<section class="menu-section" data-section="notifications">
<h3 class="menu-section-title">
[[global:header.notifications]]
<span class="notification-icon" data-content="0"></span>
</h3>
<ul class="menu-section-list"></ul>
</section>
<section class="menu-section" data-section="chats">
<h3 class="menu-section-title">
[[global:header.chats]]
<i class="chat-icon" component="chat/icon" data-content="0"></i>
</h3>
<ul class="menu-section-list chat-list"></ul>
</section>
<!-- ENDIF loggedIn -->
</nav>
<main id="panel">
<nav class="navbar navbar-default navbar-fixed-top header" role="navigation" id="header-menu" component="navbar">
<div class="container">
<!-- IMPORT partials/menu.tpl -->
</div>
</nav>
<div class="container" id="content" component="header">
<!-- IMPORT partials/noscript/warning.tpl -->