Lines Matching defs:conf

36     global $conf;
38 if (@is_readable(DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file))
39 return DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file;
56 global $conf;
57 if (!$tpl) $tpl = $conf['template'];
73 global $conf;
74 if (!$tpl) $tpl = $conf['template'];
147 global $conf;
158 if (!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
234 global $conf;
245 $depends[] = DOKU_CONF . "tpl/" . $conf['template'] . "/style.ini";
256 'title' => $conf['title']
341 if ((time() - $INFO['lastmod']) >= $conf['indexdelay'] && !isHiddenPage($ID)) {
347 if ($ID == $conf['start']) {
373 'href' => DOKU_BASE . 'lib/exe/css.php?t=' . rawurlencode($conf['template']) . '&tseed=' . $tseed
377 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) {
391 ] + ($conf['defer_js'] ? ['defer' => 'defer'] : []);
397 'src' => DOKU_BASE . 'lib/exe/js.php' . '?t=' . rawurlencode($conf['template']) . '&tseed=' . $tseed
398 ] + ($conf['defer_js'] ? ['defer' => 'defer'] : []);
797 global $conf;
800 if (!$conf['breadcrumbs']) return false;
845 global $conf;
850 if (!$conf['youarehere']) return false;
863 $out .= '<span class="home">' . tpl_pagelink(':' . $conf['start'], null, true) . '</span>';
870 if ($page == $conf['start']) continue; // Skip startpage
886 if ($page == $conf['start']) {
931 global $conf;
943 if (!$conf['fullpath']) {
945 $fn = str_replace($conf['olddir'] . '/', '', $fn);
947 $fn = str_replace($conf['datadir'] . '/', '', $fn);
996 global $ACT, $conf, $lang;
1017 $plugin_title = $plugin->getMenuText($conf['lang']);
1282 global $conf;
1285 $tpl = $conf['template'];
1291 if (isset($conf['tpl'][$tpl][$key])) continue;
1292 $conf['tpl'][$tpl][$key] = $value;
1298 return $conf['tpl'][$tpl][$id] ?? $notset;
1312 $file = tpl_incdir() . '/conf/default.php';
1313 $conf = [];
1320 return $conf;
1338 global $conf, $config_cascade; // definitely don't invoke "global $lang"
1347 if (file_exists($config_file . $conf['template'] . '/en/lang.php')) {
1348 include($config_file . $conf['template'] . '/en/lang.php');
1352 if ($conf['lang'] != 'en') {
1353 @include($path . $conf['lang'] . '/lang.php');
1355 if (file_exists($config_file . $conf['template'] . '/' . $conf['lang'] . '/lang.php')) {
1356 include($config_file . $conf['template'] . '/' . $conf['lang'] . '/lang.php');
1385 global $conf;
1386 $file = DOKU_CONF . 'template_lang/' . $conf['template'] . '/' . $conf['lang'] . '/' . $id . '.txt';
1388 $file = $path . $conf['lang'] . '/' . $id . '.txt';
1514 global $conf, $DEL, $lang;
1521 $conf['mediarevisions']
1535 if ($conf['mediarevisions']) {
1572 } elseif ($opened_tab == 'history' && $conf['mediarevisions']) {
1626 global $conf;
1628 if (!$conf['license']) return '';
1629 if (!is_array($license[$conf['license']])) return '';
1630 $lic = $license[$conf['license']];
1631 $target = ($conf['target']['extern']) ? ' target="' . $conf['target']['extern'] . '"' : '';
1773 * either from the conf directory if it exists, otherwise use
1896 global $ACT, $conf, $ID, $INFO;
1903 'tpl_' . $conf['template'],
1906 ($ID == $conf['start']) ? 'home' : ''