* @license GPLv2 (http://www.gnu.org/licenses/gpl-2.0.html) */ if (!defined('DOKU_INC')) 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(array('favicon', 'mobile')); tpl_includeFile('meta.html'); ?>
'; $TEMPLATE->includePage('topheader', TRUE, TRUE, 'mikio-page-topheader' . (($TEMPLATE->getConf('stickyTopHeader')) ? ' 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')) ? ' 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')) $TEMPLATE->includeHero(); echo '
'; echo '
'; if($showSidebar) $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() && $showPageTools == 'page editors')) $TEMPLATE->includePageTools(TRUE, TRUE); $rightsidebar = ''; if($showSidebar) $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(); ?>