Home
last modified time | relevance | path

Searched refs:tpl (Results 1 - 5 of 5) sorted by relevance

/dokuwiki/inc/
H A DStyleUtils.php14 protected $tpl; variable
34 * @param string $tpl template name: if not passed as argument, the default value from $conf will be used
38 public function __construct($tpl = '', $preview = false, $reinit = false)
40 if (!$tpl) {
42 $tpl = $conf['template']; variable
44 $this->tpl = $tpl; variable
95 $inifile = str_replace('%TEMPLATE%', $this->tpl, $inifile);
147 "Please contact developer of \"$this->tpl\" template.", 2);
150 msg("Stylesheet $file not found, please contact the developer of \"$this->tpl\" templat
[all...]
H A Dtemplate.php25 if(@is_readable(DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$file))
26 return DOKU_INC.'lib/tpl/'.$conf['template'].'/'.$file;
28 return DOKU_INC.'lib/tpl/dokuwiki/'.$file;
37 * @param string $tpl The template to use, default to current one
40 function tpl_incdir($tpl='') {
42 if(!$tpl) $tpl = $conf['template'];
43 return DOKU_INC.'lib/tpl/'.$tpl.'/';
52 * @param string $tpl Th
1199 $tpl = $conf['template']; global() variable
[all...]
H A Dcommon.php1082 'tpl' => '', // the text used as template
1090 if(empty($data['tpl'])) {
1109 $data['tpl'] = io_readFile($data['tplfile']);
1116 return $data['tpl'];
1131 * @var string $tpl the text used as template
1146 $tpl = str_replace( variable
1184 ), $tpl
1188 $tpl = preg_replace_callback( variable
1193 $tpl
1195 $data['tpl']
1482 $tpl = 'mailtext'; global() variable
1494 $tpl = 'subscr_single'; global() variable
[all...]
/dokuwiki/lib/exe/
H A Djs.php39 $tpl = trim(preg_replace('/[^\w-]+/','',$INPUT->str('t'))); variable
40 if(!$tpl) $tpl = $conf['template'];
67 tpl_incdir($tpl).'script.js',
98 print "var DOKU_TPL = '".tpl_basedir($tpl)."';";
114 $templatestrings = js_templatestrings($tpl);
265 * @param string $tpl
268 function js_templatestrings($tpl) {
297 $templatestrings[$tpl] = $lang['js'];
H A Dcss.php47 $tpl = trim(preg_replace('/[^\w-]+/','',$INPUT->str('t'))); variable
48 if(!$tpl) $tpl = $conf['template'];
51 $styleUtil = new \dokuwiki\StyleUtils($tpl, $INPUT->bool('preview'));
55 $tplinc = tpl_incdir($tpl);
58 $cache_files[] = DOKU_CONF."tpl/$tpl/style.ini";
112 $tpl .

Completed in 6 milliseconds