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">
|
2019-02-01 18:00:45 +01:00
|
|
|
<meta name="generator" content="Bludit">
|
2018-04-15 22:23:11 +02:00
|
|
|
|
|
|
|
<!-- Favicon -->
|
2019-03-10 18:27:24 +01:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_CORE_IMG.'favicon.png?version='.BLUDIT_VERSION ?>">
|
2018-04-15 22:23:11 +02:00
|
|
|
|
|
|
|
<!-- CSS -->
|
|
|
|
<?php
|
2019-09-25 20:18:36 +02:00
|
|
|
echo Theme::cssBootstrap();
|
|
|
|
echo Theme::cssLineAwesome();
|
2018-07-10 18:37:46 +02:00
|
|
|
echo Theme::css(array(
|
2019-04-23 23:23:35 +02:00
|
|
|
'bludit.css',
|
|
|
|
'bludit.bootstrap.css'
|
2018-07-10 18:37:46 +02:00
|
|
|
), DOMAIN_ADMIN_THEME_CSS);
|
2019-09-25 20:18:36 +02:00
|
|
|
echo Theme::css(array(
|
|
|
|
'jquery.datetimepicker.min.css',
|
|
|
|
'select2.min.css',
|
|
|
|
'select2-bootstrap4.min.css'
|
|
|
|
), DOMAIN_CORE_CSS);
|
2018-04-15 22:23:11 +02:00
|
|
|
?>
|
|
|
|
|
|
|
|
<!-- Javascript -->
|
|
|
|
<?php
|
2018-06-25 23:17:43 +02:00
|
|
|
echo Theme::jquery();
|
2018-07-13 18:30:42 +02:00
|
|
|
echo Theme::jsBootstrap();
|
2018-07-20 18:36:47 +02:00
|
|
|
echo Theme::jsSortable();
|
2019-09-25 20:18:36 +02:00
|
|
|
echo Theme::js(array(
|
|
|
|
'jquery.datetimepicker.full.min.js',
|
|
|
|
'select2.full.min.js',
|
|
|
|
'functions.js'
|
|
|
|
), DOMAIN_CORE_JS);
|
2018-05-08 00:15:40 +02:00
|
|
|
?>
|
|
|
|
|
2018-04-15 22:23:11 +02:00
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminHead') ?>
|
2018-07-10 18:37:46 +02:00
|
|
|
|
2018-04-04 23:46:36 +02:00
|
|
|
</head>
|
2018-10-17 22:35:30 +02:00
|
|
|
<body class="h-100">
|
2018-04-04 23:46:36 +02:00
|
|
|
|
2018-04-15 22:23:11 +02:00
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminBodyBegin') ?>
|
|
|
|
|
2018-07-10 18:37:46 +02:00
|
|
|
<!-- Javascript dynamic generated by PHP -->
|
|
|
|
<?php
|
|
|
|
echo '<script charset="utf-8">'.PHP_EOL;
|
|
|
|
include(PATH_CORE_JS.'variables.php');
|
|
|
|
echo '</script>'.PHP_EOL;
|
|
|
|
|
|
|
|
echo '<script charset="utf-8">'.PHP_EOL;
|
|
|
|
include(PATH_CORE_JS.'bludit-ajax.php');
|
|
|
|
echo '</script>'.PHP_EOL;
|
|
|
|
?>
|
2018-05-08 00:15:40 +02:00
|
|
|
|
2018-10-30 16:12:44 +01:00
|
|
|
<!-- Overlay background -->
|
|
|
|
<div id="jsshadow"></div>
|
|
|
|
|
2018-05-08 00:15:40 +02:00
|
|
|
<!-- Alert -->
|
|
|
|
<?php include('html/alert.php'); ?>
|
2018-04-13 23:32:29 +02:00
|
|
|
|
2018-08-04 12:44:37 +02:00
|
|
|
<!-- Navbar, only for small devices -->
|
|
|
|
<?php include('html/navbar.php'); ?>
|
|
|
|
|
2018-10-17 22:35:30 +02:00
|
|
|
<div class="container h-100">
|
2018-04-04 23:46:36 +02:00
|
|
|
<!-- 25%/75% split on large devices, small, medium devices hide -->
|
2018-10-17 22:35:30 +02:00
|
|
|
<div class="row h-100">
|
2018-04-04 23:46:36 +02:00
|
|
|
|
|
|
|
<!-- 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 -->
|
2018-10-18 22:40:35 +02:00
|
|
|
<div class="col-lg-10 pt-3 pb-1 h-100">
|
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');
|
2020-05-15 07:50:22 +02:00
|
|
|
} else if (isset($plugin) && method_exists($plugin, "adminView")) {
|
|
|
|
echo $plugin->adminView();
|
2018-04-15 22:23:11 +02:00
|
|
|
} else {
|
2018-04-27 20:36:43 +02:00
|
|
|
echo '<h1 class="text-center">'.$L->g('Page not found').'</h1>';
|
|
|
|
echo '<h2 class="text-center">'.$L->g('Choose a page from the sidebar.').'</h2>';
|
2018-04-15 22:23:11 +02:00
|
|
|
}
|
|
|
|
?>
|
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>
|
2019-09-25 20:18:36 +02:00
|
|
|
</html>
|