displayIcons(false); } self::$menu->setIconType(Theme::getOption('layout', 'aside/menu-icon')); } private static function initFooter() { if (Theme::getOption('layout', 'footer/width') == 'fluid') { Theme::addHtmlClass('footer-container', 'container-fluid'); } else { Theme::addHtmlClass('footer-container', 'container-xxl'); } } private static function initScripts() { // Global widgets Theme::addPageJs('js/widgets.bundle.js'); // Custom widgets Theme::addPageJs('js/custom/widgets.js'); // Chat app Theme::addPageJs('js/custom/apps/chat/chat.js'); if (Theme::getViewMode() !== 'release') { Theme::addPageJs('js/custom/intro.js'); } } // Public Methods public static function getMenu() { return self::$menu; } public static function getBreadcrumb() { $options = array( 'skip-active' => false ); return self::getMenu()->getBreadcrumb($options); } public static function initLayout() { self::initPage(); self::initHeader(); self::initContent(); self::initAside(); self::initFooter(); self::initMenu(); self::initScripts(); } }