Lines Matching refs:tpl
26 list($tpl, $this->pagename, $sep) = $argv;
44 $tpl = $this->getActionTargetpages($tpl);
47 throw new Exception(sprintf($this->getLang('e_template'), $tpl));
120 * @param string $tpl template name as given in form
123 protected function getActionTargetpages($tpl) { argument
129 if ($tpl == '_') {
134 } elseif ($tpl !== '!') {
135 $tpl = $this->replace($tpl);
138 if(substr($tpl, -1) == ':') {
139 $tpl = $tpl.'xxx'; // append a fake page name
140 resolve_pageid(getNS($ID), $tpl, $ignored);
141 $tpl = substr($tpl, 0, -3); // cut off fake page name again
143 resolve_pageid(getNS($ID), $tpl, $ignored);
161 …($template_pages, $conf['datadir'], 'search_universal', $opts, str_replace(':', '/', getNS($tpl)));
171 …$newTargetpageid = preg_replace('/^' . preg_quote_cb(cleanID($tpl)) . '($|:)/', $this->pagename . …
189 return $tpl;