* @license GPLv2 (http://www.gnu.org/licenses/gpl-2.0.html) */ if (defined('DOKU_INC') === false) { die(); } require_once('mikio.php'); global $TEMPLATE, $ACT, $conf, $USERINFO; header('X-UA-Compatible: IE=edge,chrome=1'); $hasSidebar = $TEMPLATE->sidebarExists(); $showSidebar = $hasSidebar && ($ACT == 'show'); ?> ' . $TEMPLATE->getPageTitle() . ''; tpl_metaheaders(); echo tpl_favicon(['favicon', 'mobile']); tpl_includeFile('meta.html'); ?>
'; $TEMPLATE->includePage('topheader', true, true, 'mikio-page-topheader' . (($TEMPLATE->getConf('stickyTopHeader') === true) ? ' mikio-sticky' : '')); $TEMPLATE->includeNavbar(true, $TEMPLATE->getConf('navbarShowSub', false) && $ACT == 'show'); if ($ACT === 'show' || $ACT === 'admin') { $TEMPLATE->includePage('header', true, true, 'mikio-page-header' . (($TEMPLATE->getConf('stickyHeader') === true) ? ' mikio-sticky' : '')); } echo ''; if ( ($ACT === 'show' && $TEMPLATE->getConf('youareherePosition') === 'top') || ($ACT === 'show' && $TEMPLATE->getConf('youareherePosition') === 'hero' && $TEMPLATE->getConf('heroTitle') === false) || ($ACT !== 'show') ) { $TEMPLATE->includeYouAreHere(); } if ( ($ACT === 'show' && $TEMPLATE->getConf('breadcrumbPosition') === 'top') || ($ACT === 'show' && $TEMPLATE->getConf('breadcrumbPosition') === 'hero' && $TEMPLATE->getConf('heroTitle') === false) ) { $TEMPLATE->includeBreadcrumbs(); } if ($ACT === 'show' && $TEMPLATE->getConf('heroTitle') === true) { $TEMPLATE->includeHero(); } echo '
'; echo '
'; if ($showSidebar === true) { $TEMPLATE->includeSidebar(); } echo '
'; if ($ACT === 'show' && $TEMPLATE->getConf('youareherePosition') === 'page') { $TEMPLATE->includeYouAreHere(); } if ($ACT === 'show' && $TEMPLATE->getConf('breadcrumbPosition') === 'page') { $TEMPLATE->includeBreadcrumbs(); } $TEMPLATE->showMessages(); echo '
'; $TEMPLATE->includeTOC(); if ($ACT === 'show') { $TEMPLATE->includePage('contentheader', true, true, 'mikio-page-contentheader'); } $TEMPLATE->includeContent(); if ($ACT === 'show') { $TEMPLATE->includePage('contentfooter', true, true, 'mikio-page-contentfooter'); } echo '
'; echo '
'; $showPageTools = $TEMPLATE->getConf('pageToolsFloating'); if ( $ACT === 'show' && ($showPageTools === 'always' || $TEMPLATE->userCanEdit() === true && $showPageTools === 'page editors') ) { $TEMPLATE->includePageTools(true, true); } $rightsidebar = ''; if ($showSidebar === true) { $rightsidebar = $TEMPLATE->includeSidebar('right'); } echo '
'; echo '
'; echo '
'; echo '
'; if ($TEMPLATE->getConf('footerInPage') === true && $ACT === 'show') { $TEMPLATE->includeFooter(); } echo '
'; if ($rightsidebar !== '') { echo ''; } echo '
'; if ($TEMPLATE->getConf('footerInPage') === false && $ACT === 'show') { $TEMPLATE->includeFooter(); } $TEMPLATE->includePage('bottomfooter', true, true, 'mikio-page-bottomfooter'); ?>
includeFooterMeta(); ?> finalize(); ?>