added them selection in syntax. closes #2

code comes from the wiki page. unknown author
This commit is contained in:
Andreas Gohr
2014-07-03 14:53:24 +02:00
parent fdedbf4860
commit 25ce19ea9a
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -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
}
/**