Lines Matching refs:template

4  * DokuWiki template functions
24 * Access a template file
26 * Returns the path to the given file inside the current template, uses
27 * default template if the custom version doesn't exist.
34 function template($file)
38 if (@is_readable(DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file))
39 return DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file;
45 * Convenience function to access template dir from local FS
49 * @param string $tpl The template to use, default to current one
57 if (!$tpl) $tpl = $conf['template'];
62 * Convenience function to access template dir from web
66 * @param string $tpl The template to use, default to current one
74 if (!$tpl) $tpl = $conf['template'];
85 * Everything that doesn't use the main template file isn't
216 * This has to go into the head section of your template.
245 $depends[] = DOKU_CONF . "tpl/" . $conf['template'] . "/style.ini";
373 'href' => DOKU_BASE . 'lib/exe/css.php?t=' . rawurlencode($conf['template']) . '&tseed=' . $tseed
397 'src' => DOKU_BASE . 'lib/exe/js.php' . '?t=' . rawurlencode($conf['template']) . '&tseed=' . $tseed
1252 * Should be called somewhere at the very end of the main.php template
1274 * use this function to access template configuration variables
1285 $tpl = $conf['template'];
1304 * reads all template configuration variables
1328 * use this function to access template language variables
1346 foreach ($config_cascade['lang']['template'] as $config_file) {
1347 if (file_exists($config_file . $conf['template'] . '/en/lang.php')) {
1348 include($config_file . $conf['template'] . '/en/lang.php');
1354 foreach ($config_cascade['lang']['template'] as $config_file) {
1355 if (file_exists($config_file . $conf['template'] . '/' . $conf['lang'] . '/lang.php')) {
1356 include($config_file . $conf['template'] . '/' . $conf['lang'] . '/lang.php');
1366 * template equivalent of p_locale_xhtml()
1386 $file = DOKU_CONF . 'template_lang/' . $conf['template'] . '/' . $conf['lang'] . '/' . $id . '.txt';
1659 * template
1714 * file, otherwise it is assumed to be relative to the current template
1774 * file in the template's root directory.
1802 // still here? try the template dir
1903 'tpl_' . $conf['template'],