Lines Matching refs:tpl
29 [$tpl, $this->pagename] = $argv;
58 $tpl = $this->getActionTargetpages($tpl);
61 throw new Exception(sprintf($this->getLang('e_template'), $tpl));
154 $tpl = io_readFile($tplfile);
155 return $tpl;
161 * @param string $tpl template name as given in form
164 protected function getActionTargetpages($tpl) { argument
170 if ($tpl == '_') {
177 } elseif ($tpl !== '!') {
178 $tpl = $this->replace($tpl);
182 if(substr($tpl, -1) == ':') {
183 $tpl = $tpl.'xxx'; // append a fake page name
184 $tpl = $resolver->resolveId($tpl);
185 $tpl = substr($tpl, 0, -3); // cut off fake page name again
187 $tpl = $resolver->resolveId($tpl);
205 …($template_pages, $conf['datadir'], 'search_universal', $opts, str_replace(':', '/', getNS($tpl)));
215 …$newTargetpageid = preg_replace('/^' . preg_quote_cb(cleanID($tpl)) . '($|:)/', $this->pagename . …
233 return $tpl;
441 $tpl = rawWiki($templatepageid);
442 $this->noreplace_save($tpl);
446 'tpl' => $tpl,