2018-04-04 23:46:36 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><?php echo $layout['title'] ?></title>
|
2018-04-15 22:23:11 +02:00
|
|
|
<meta charset="<?php echo CHARSET ?>">
|
2018-04-04 23:46:36 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2018-04-15 22:23:11 +02:00
|
|
|
<meta name="robots" content="noindex,nofollow">
|
|
|
|
|
|
|
|
<!-- Favicon -->
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_ADMIN_THEME.'img/favicon.png?version='.BLUDIT_VERSION ?>">
|
|
|
|
|
|
|
|
<!-- CSS -->
|
|
|
|
<?php
|
|
|
|
echo Bootstrap::css(array(
|
|
|
|
'bootstrap.min.css',
|
|
|
|
'jquery-auto-complete.css',
|
|
|
|
'open-iconic-master/font/css/open-iconic-bootstrap.min.css',
|
|
|
|
'bludit.css'
|
|
|
|
));
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!-- Javascript -->
|
|
|
|
<?php
|
|
|
|
echo Bootstrap::js(array(
|
|
|
|
'jquery.min.js',
|
|
|
|
'jquery-auto-complete.min.js',
|
|
|
|
'bootstrap-bundle.min.js'
|
|
|
|
));
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminHead') ?>
|
2018-04-04 23:46:36 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2018-04-15 22:23:11 +02:00
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminBodyBegin') ?>
|
|
|
|
|
|
|
|
<!-- Javascript variables generated by PHP -->
|
|
|
|
<?php include(PATH_JS.'variables.php') ?>
|
2018-04-13 23:32:29 +02:00
|
|
|
|
2018-04-04 23:46:36 +02:00
|
|
|
<!-- TOPBAR -->
|
|
|
|
<?php include('html/topbar.php'); ?>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<!-- 25%/75% split on large devices, small, medium devices hide -->
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<!-- LEFT SIDEBAR - Display only on large devices -->
|
|
|
|
<div class="sidebar col-lg-2 d-none d-lg-block">
|
|
|
|
<?php include('html/sidebar.php'); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- RIGHT MAIN -->
|
|
|
|
<div class="col-lg-10 pt-4">
|
2018-04-15 22:23:11 +02:00
|
|
|
<?php
|
|
|
|
if (Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php')) {
|
|
|
|
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
|
|
|
|
} else {
|
|
|
|
echo '<h1 style="width:100%; text-align:center">'.$L->g('Page not found').'</h1>';
|
|
|
|
echo '<h2 style="width:100%; text-align:center">'.$L->g('Choose a page from the sidebar.').'</h2>';
|
|
|
|
}
|
|
|
|
?>
|
2018-04-04 23:46:36 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-04-15 22:23:11 +02:00
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminBodyEnd') ?>
|
2018-04-04 23:46:36 +02:00
|
|
|
|
|
|
|
</body>
|
2018-04-15 22:23:11 +02:00
|
|
|
</html>
|