added them selection in syntax. closes #2
code comes from the wiki page. unknown author
This commit is contained in:
+2
-1
@@ -45,7 +45,8 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml {
|
||||
);
|
||||
p_set_metadata($ID,array('format' => array('s5' => $headers) ));
|
||||
$this->base = DOKU_BASE.'lib/plugins/s5/ui/';
|
||||
$this->tpl = $this->getConf('template');
|
||||
$this->tpl = isset($_GET['s5theme'])?$_GET['s5theme']:$this->getConf('template');
|
||||
$this->tpl = preg_replace('/[^a-z0-9_-]+/', '', $this->tpl); // clean user provided path
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user