Lines Matching refs:true
130 …(file_exists($this->tplDir . 'themes/' . $this->getConf('customTheme') . '/style.less') === true) {
133 … (file_exists($this->tplDir . 'themes/' . $this->getConf('customTheme') . '/style.css') === true) {
137 … (file_exists($this->tplDir . 'themes/' . $this->getConf('customTheme') . '/script.js') === true) {
142 if (is_array($MIKIO_ICONS) === true && empty($this->getConf('iconTag', 'icon')) === false) {
145 …if (isset($icon['name']) === true && isset($icon['css']) === true && isset($icon['insert']) === tr…
165 if ($this->getConf('useLESS') === true) {
173 if ($this->getConf('useLESS') === true) {
182 if (in_array($style, $set, true) === false) {
183 … if ($this->getConf('useLESS') === true && strcasecmp(substr($style, -5), '.less') === 0) {
198 if (in_array($script, $set, true) === false) {
212 … if (array_key_exists('defer_js', $conf) === false || $conf['defer_js'] === true) {
231 public function includeFooterMeta(bool $print = true): string
244 if ($print === true) {
259 if(array_key_exists($key, self::$formattedConfigValues) === true) {
382 if (in_array($key, $row['keys'], true) === true) {
383 if (array_key_exists('type', $row) === true) {
394 if (in_array($value, $row['values'], true) === true) {
398 if (array_key_exists('default', $row) === true) {
399 if (is_array($row['default']) === true) {
400 if (array_key_exists($key, $row['default']) === true) {
430 return true;
436 if ($propagate === true) {
438 return true;
440 } elseif ($useACL === true && auth_quickaclcheck($page) !== AUTH_NONE) {
441 return true;
457 …public function includePage(string $page, bool $print = true, bool $parse = true, string $classWra…
463 if (empty($html) === true) {
472 if (empty($html) === false && $parse === true) {
480 if ($print === true) {
493 public function includeLoggedIn(bool $print = true): string
505 if ($print === true) {
518 public function includeDWMenu(bool $print = true): string
523 $loggedIn = (is_array($USERINFO) === true && count($USERINFO) > 0);
542 (strcasecmp($showItem, 'logged in') === 0 && $loggedIn === true) ||
547 … $itemHtml .= '<a class="mikio-nav-link ' . ($isDropDown === true ? 'mikio-dropdown-item' : '') .
549 if ($showIcons === true) {
552 if ($showText === true || $isDropDown === true) {
569 (strcasecmp($showItem, 'logged in') === 0 && $loggedIn === true) ||
572 …$itemHtml .= '<a class="mikio-nav-link ' . ($isDropDown === true ? 'mikio-dropdown-item' : '') . '…
574 if ($showIcons === true) {
577 if ($showText === true || $isDropDown === true) {
593 (strcasecmp($showItem, 'logged in') === 0 && $loggedIn === true) ||
596 …$itemHtml .= '<a class="mikio-nav-link' . ($isDropDown === true ? ' mikio-dropdown-item' : '') . '…
598 if ($showIcons === true) {
601 if ($showText === true || $isDropDown === true) {
620 ($showIcons === true ? $this->mikioInlineIcon('file') : '') .
621 …($showText === true ? $lang['page_tools'] : '<span class="mikio-small-only">' . $lang['page_tools'…
634 ($showIcons === true ? $this->mikioInlineIcon('gear') : '') .
635 … ($showText === true ? $lang['site_tools'] : '<span class="mikio-small-only">' .
654 ($showIcons === true ? $this->mikioInlineIcon('user') : '') .
655 … ($showText === true ? $lang['user_tools'] : '<span class="mikio-small-only">' .
669 ($showIcons === true ? $this->mikioInlineIcon('wrench') : '') .
670 … ($showText === true ? tpl_getLang('tools-menu') : '<span class="mikio-small-only">' .
781 if ($this->getConf('showLightDark') === true) {
785 … ($autoLightDark === true ? $this->mikioInlineIcon('sunmoon', 'mikio-darklight-auto') : '') .
793 if ($print === true) {
836 public function includeNavbar(bool $print = true, bool $showSub = false): string
845 if (is_array($USERINFO) === true && count($USERINFO) > 0) {
850 if (is_array($USERINFO) === true && count($USERINFO) > 0) {
860 …$html = '<nav class="mikio-navbar' . (($this->getConf('stickyNavbar') === true) ? ' mikio-sticky' …
864 …if ($this->getConf('navbarUseTitleIcon') === true || $this->getConf('navbarUseTitleText') === true…
866 if ($this->getConf('navbarUseTitleIcon') === true) {
875 if (ctype_digit($width) === true) {
883 if (ctype_digit($height) === true) {
907 if ($this->getConf('navbarUseTitleText') === true) {
910 if ($this->getConf('navbarUseTaglineText') === true) {
951 if ($showSub === true) {
958 if ($print === true) {
991 …public function includeSidebar(string $prefix = '', bool $print = true, bool $parse = true): string
999 if (empty($confPrefix) === true) {
1006 …$sidebarPage = empty($conf[$prefix . 'sidebar']) === true ? $prefix . 'sidebar' : $conf[$prefix . …
1009 …$this->getConf('sidebarShow' . $confPrefix) === true && page_findnearest($sidebarPage) !== false &&
1018 if (empty($prefix) === true) {
1059 if (empty($html) === true) {
1060 if (empty($prefix) === true && $this->getConf('sidebarAlwaysShowLeft') === true) {
1063 if ($this->getConf('sidebarAlwaysShow' . ucfirst($prefix)) === true) {
1071 'mikio-sidebar-' . (empty($prefix) === true ? 'left' : $prefix)
1076 if(empty($prefix) === true && $this->getConf('stickyLeftSidebar') === true) {
1081 … ($this->getConf('sidebarMobileDefaultCollapse') === true ? ' closed' : '') . '" href="#">' .
1094 $this->hideTOC = true;
1095 $toc = $this->includeTOC(false, true, false);
1099 if ($parse === true) {
1102 if ($print === true) {
1117 public function includePageTools(bool $print = true, bool $includeId = false): string
1121 $loggedIn = (is_array($USERINFO) === true && count($USERINFO) > 0);
1123 …$html = '<nav' . ($includeId === true ? ' id="dw__pagetools"' : '') . ' class="hidden-print dw__pa…
1142 (strcasecmp($showItem, 'logged in') === 0 && $loggedIn === true) ||
1156 if ($print === true) {
1169 public function includeSearch(bool $print = true): string
1181 if ($this->getConf('searchUseTypeahead') === true) {
1214 if ($print === true) {
1227 public function includeContent(bool $print = true): string
1238 if ($this->getConf('heroTitle') === false && $this->getConf('tagsShowHero') === true) {
1244 if ($print === true) {
1288 $options['loggedin'] = true;
1334 return true;
1346 public function includeFooter(bool $print = true): string
1351 $html .= '<div class="doc">' . $this->custom_tpl_pageinfo(true) . '</div>';
1356 if ($this->getConf('footerSearch') === true) {
1366 ($this->userCanEdit() === true && strcasecmp($showPageTools, 'page editors') === 0))
1377 $html .= tpl_license($licenseType, $this->getConf('licenseImageOnly'), true);
1382 if ($print === true) {
1396 public function includeBreadcrumbs(bool $print = true, bool $parse = true): string
1401 ($this->getConf('breadcrumbHideHome') === true && strcasecmp($ID, 'start') === 0 &&
1418 if ($this->getConf('breadcrumbSep') === true) {
1427 if ($this->getConf('breadcrumbPrefix') === true) {
1451 $html .= tpl_pagelink($id, null, true);
1462 if ($parse === true) {
1465 if ($print === true) {
1478 public function includeYouAreHere(bool $print = true, bool $parse = true): string
1483 ($this->getConf('youarehereHideHome') === true && strcasecmp($ID, 'start') === 0 &&
1502 if ($this->getConf('youarehereSep') === true) {
1511 if ($this->getConf('youareherePrefix') === true) {
1524 $html .= '<li>' . tpl_pagelink(':' . $conf['start'], null, true) . '</li>';
1538 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1551 if ((isset($page) === true && $page === $part . $parts[$i]) === false) {
1555 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1602 if (isset($_GET['page']) === true) {
1611 if ($parse === true) {
1614 if ($print === true) {
1631 $title = tpl_pagetitle(null, true);
1643 public function includeHero(bool $print = true): string
1647 if ($this->getConf('heroTitle') === true) {
1664 … $hero_image = $this->getMediaFile('hero', true, $this->getConf('heroImagePropagation', true));
1674 if($this->getConf('tagsShowHero') === true) {
1684 if ($print === true) {
1704 … public function includeTOC(bool $print = true, bool $parse = true, bool $floating = true): string
1708 $tocHtml = tpl_toc(true);
1731 if ($parse === true) {
1735 if ($print === true) {
1759 if (empty($iconTag) === true) {
1764 in_array($ACT, ['show', 'showtag', 'revisions', 'index', 'preview']) === true ||
1774 $html->load($str, true, false);
1777 if (is_array($preview) === true && count($preview) > 0) {
1810 if (count($e) < $i || empty($e[$i]) === true) {
1811 if (isset($icon['$' . $i]) === true) {
1820 if (isset($icon['dir']) === true) {
1847 if (is_array($preview) === true && count($preview) > 0) {
1905 $mikioPluginMissing = true;
2021 ($header['hidden'] === true ? 'none' : 'block') . '">' .
2023 … <table style="display:' . ($header['hidden'] === true ? 'none' : 'table') . '"><tbody>$1',
2045 …rcasecmp($ACT, 'admin') === 0 && (isset($_GET['page']) === false && isset($_GET['do']) === true)) {
2060 $html->load($content, true, false);
2082 if ($this->getConf('heroTitle') === true && $ACT !== 'preview') {
2126 $image = ml($image, '', true, '');
2172 if ($this->getConf('tagsConsolidate') === true) {
2243 return true;
2246 if($INFO['editable'] === true) {
2247 return true;
2262 … public function getMediaFile(string $image, bool $searchCurrentNS = true, bool $propagate = true)
2268 if ($searchCurrentNS === true) {
2271 if ($propagate === true) {
2295 $ismedia = true;
2301 if (file_exists($file) === true) {
2302 $found = true;
2311 if ($ismedia === true) {
2312 $url = ml($img, '', true, '');
2331 if (empty($page) === true) {
2368 if (is_array($class) === true) {
2529 if (function_exists('getVersionData') === true) {
2531 … if (is_array($version_data) === true && array_key_exists('date', $version_data) === true) {
2591 return $domDocument->importNode($svgElement, true);