mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
39 lines
1.0 KiB
PHP
39 lines
1.0 KiB
PHP
<?php
|
|
$this->load->config('theme');
|
|
$includesArray = array(
|
|
'title' => $title ?? 'FH-Complete',
|
|
'vue3' => true,
|
|
'bootstrap5' => true,
|
|
'fontawesome6' => true,
|
|
'axios027' => true,
|
|
'primevue3' => true,
|
|
'customJSModules' => array_merge([
|
|
'public/js/apps/Cis/Menu.js'
|
|
], $customJSModules ?? []),
|
|
'customCSSs' => array_merge([
|
|
'public/css/Cis4/Cis.css',
|
|
$this->config->item('theme_css'),
|
|
], $customCSSs ?? [])
|
|
);
|
|
|
|
$this->load->view('templates/FHC-Header', $includesArray);
|
|
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
if (window.self !== window.top)
|
|
document.body.classList.add("in-frame");
|
|
</script>
|
|
|
|
<header id="cis-header" class="navbar-dark">
|
|
<cis-menu
|
|
root-url="<?= site_url(''); ?>"
|
|
logo-url="<?= base_url($this->config->item('theme_logo')); ?>"
|
|
avatar-url="<?= site_url('Cis/Pub/bild/person/' . getAuthPersonId()); ?>"
|
|
logout-url="<?= site_url('Cis/Auth/logout'); ?>"
|
|
:searchbaroptions="searchbaroptions"
|
|
:searchfunction="searchfunction"
|
|
></cis-menu>
|
|
</header>
|
|
|
|
<main id="cis-main" class="flex-grow-1 p-4 pt-2" style="min-width: 0;">
|