2015-09-13 03:06:20 +02:00
|
|
|
<!DOCTYPE HTML>
|
2015-03-27 02:00:01 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<base href="<?php echo HTML_PATH_ADMIN_THEME ?>">
|
2015-08-18 04:02:19 +02:00
|
|
|
<meta charset="<?php echo CHARSET ?>">
|
2015-06-27 00:12:26 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2015-09-13 03:06:20 +02:00
|
|
|
<meta name="robots" content="noindex,nofollow">
|
2015-03-27 02:00:01 +01:00
|
|
|
|
2015-07-07 00:22:03 +02:00
|
|
|
<title><?php echo $layout['title'] ?></title>
|
2015-03-27 02:00:01 +01:00
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
<!-- Favicon -->
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="./img/favicon.png">
|
2015-09-20 23:46:50 +02:00
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
<!-- CSS -->
|
|
|
|
<link rel="stylesheet" type="text/css" href="./css/uikit.css?version=<?php echo BLUDIT_VERSION ?>">
|
2015-09-13 03:06:20 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="./css/default.css?version=<?php echo BLUDIT_VERSION ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="./css/jquery.datetimepicker.css?version=<?php echo BLUDIT_VERSION ?>">
|
2015-03-27 02:00:01 +01:00
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
<!-- Javascript -->
|
2015-09-13 03:06:20 +02:00
|
|
|
<script charset="utf-8" src="./js/jquery.min.js?version=<?php echo BLUDIT_VERSION ?>"></script>
|
2015-10-19 00:45:58 +02:00
|
|
|
<script charset="utf-8" src="./js/uikit.min.js?version=<?php echo BLUDIT_VERSION ?>"></script>
|
|
|
|
<script charset="utf-8" src="./js/form-password.min.js?version=<?php echo BLUDIT_VERSION ?>"></script>
|
2015-09-13 03:06:20 +02:00
|
|
|
<script charset="utf-8" src="./js/jquery.datetimepicker.js?version=<?php echo BLUDIT_VERSION ?>"></script>
|
2015-06-27 00:12:26 +02:00
|
|
|
|
|
|
|
<!-- Plugins -->
|
2015-08-07 04:13:55 +02:00
|
|
|
<?php Theme::plugins('adminHead') ?>
|
2015-03-27 02:00:01 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2015-07-23 03:45:54 +02:00
|
|
|
<!-- Plugins -->
|
2015-08-07 04:13:55 +02:00
|
|
|
<?php Theme::plugins('adminBodyBegin') ?>
|
2015-07-23 03:45:54 +02:00
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
<!-- Navbar -->
|
|
|
|
<nav class="uk-navbar">
|
|
|
|
<div class="uk-container uk-container-center">
|
|
|
|
|
|
|
|
<ul class="uk-navbar-nav uk-hidden-small">
|
|
|
|
<li><a target="_blank" class="bludit-logo" href="http://www.bludit.com">BLUDIT</a></li>
|
|
|
|
<li <?php echo ($layout['view']=='dashboard')?'class="uk-active"':'' ?> ><a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><i class="uk-icon-object-ungroup"></i> <?php $L->p('Dashboard') ?></a></li>
|
|
|
|
<li <?php echo ($layout['view']=='new-post')?'class="uk-active"':'' ?>><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><i class="uk-icon-pencil"></i> <?php $L->p('New post') ?></a></li>
|
|
|
|
<li <?php echo ($layout['view']=='new-page')?'class="uk-active"':'' ?>><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-page' ?>"><i class="uk-icon-file-text-o"></i> <?php $L->p('New page') ?></a></li>
|
|
|
|
|
|
|
|
<li class="uk-parent" data-uk-dropdown>
|
|
|
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-posts' ?>"><i class="uk-icon-clone"></i> <?php $L->p('Manage') ?> ▾</a>
|
|
|
|
<div class="uk-dropdown uk-dropdown-navbar">
|
|
|
|
<ul class="uk-nav uk-nav-navbar">
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-posts' ?>"><i class="uk-icon-folder-o"></i> <?php $L->p('Posts') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-pages' ?>"><i class="uk-icon-folder-o"></i> <?php $L->p('Pages') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>"><i class="uk-icon-users"></i> <?php $L->p('Users') ?></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="uk-parent" data-uk-dropdown>
|
|
|
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><i class="uk-icon-cog"></i> <?php $L->p('Settings') ?> ▾</a>
|
|
|
|
<div class="uk-dropdown uk-dropdown-navbar">
|
|
|
|
<ul class="uk-nav uk-nav-navbar">
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><i class="uk-icon-th-large"></i> <?php $L->p('General') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-advanced' ?>"><i class="uk-icon-th"></i> <?php $L->p('Advanced') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-regional' ?>"><i class="uk-icon-globe"></i> <?php $L->p('Language and timezone') ?></a></li>
|
|
|
|
<li class="uk-nav-divider"></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>"><i class="uk-icon-puzzle-piece"></i> <?php $L->p('Plugins') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>"><i class="uk-icon-paint-brush"></i> <?php $L->p('Themes') ?></a></li>
|
|
|
|
<li class="uk-nav-divider"></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="uk-navbar-flip uk-hidden-small">
|
|
|
|
<ul class="uk-navbar-nav">
|
|
|
|
<li class="uk-parent" data-uk-dropdown>
|
|
|
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$Login->username() ?>"><i class="uk-icon-user"></i> Admin ▾</a>
|
|
|
|
<div class="uk-dropdown uk-dropdown-navbar">
|
|
|
|
<ul class="uk-nav uk-nav-navbar">
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$Login->username() ?>"><?php $L->p('Profile') ?></a></li>
|
|
|
|
<li class="uk-nav-divider"></li>
|
|
|
|
<li><a target="_blank" href="<?php echo HTML_PATH_ROOT ?>"><?php $L->p('Website') ?></a></li>
|
|
|
|
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-03-27 02:00:01 +01:00
|
|
|
</div>
|
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
|
|
|
|
<div class="uk-navbar-brand uk-navbar-center uk-visible-small">Bludit</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- Offcanvas -->
|
|
|
|
<div id="offcanvas" class="uk-offcanvas">
|
|
|
|
<div class="uk-offcanvas-bar">
|
|
|
|
<ul class="uk-nav uk-nav-offcanvas">
|
|
|
|
<li class="uk-active">
|
|
|
|
<a href="layouts_frontpage.html">Frontpage</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="layouts_portfolio.html">Portfolio</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="layouts_blog.html">Blog</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="layouts_documentation.html">Documentation</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="layouts_contact.html">Contact</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="layouts_login.html">Login</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-03-27 02:00:01 +01:00
|
|
|
</div>
|
2015-10-19 00:45:58 +02:00
|
|
|
|
|
|
|
<!-- View -->
|
|
|
|
<div class="uk-container uk-container-center">
|
2015-05-05 03:00:01 +02:00
|
|
|
<?php
|
2015-10-19 00:45:58 +02:00
|
|
|
if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
|
|
|
|
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
|
|
|
|
}
|
2015-05-05 03:00:01 +02:00
|
|
|
?>
|
2015-10-19 00:45:58 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Javascript -->
|
|
|
|
<?php include(PATH_JS.'functions.php') ?>
|
2015-03-27 02:00:01 +01:00
|
|
|
|
2015-06-27 00:12:26 +02:00
|
|
|
<!-- Plugins -->
|
2015-08-07 04:13:55 +02:00
|
|
|
<?php Theme::plugins('adminBodyEnd') ?>
|
2015-06-27 00:12:26 +02:00
|
|
|
|
2015-03-27 02:00:01 +01:00
|
|
|
</body>
|
2015-06-27 00:12:26 +02:00
|
|
|
</html>
|