Lines Matching refs:template
8 * This class holds basic information about a plugin or template and uses the skeleton files to
9 * create new plugin or template specific versions of them.
19 const TYPE_TEMPLATE = 'template';
57 $this->url = $url ?: 'https://www.dokuwiki.org/template:' . $base;
63 * Create an instance using an existing plugin or template directory
72 } elseif (file_exists($dir . '/template.info.txt')) {
75 throw new RuntimeException('Not a plugin or template directory');
142 $type = 'renderer_xhtml'; // different template then
246 $template = file_get_contents(__DIR__ . '/skel/action_handler.php');
255 $handler .= str_replace(['@@EVENT@@', '@@HANDLER@@'], [$event, $fn], $template);
268 * @param string $target File name in the final plugin/template, empty for same as skeleton