From a71242cdd9bdf2abcfb2bf6d6b82f5e81c28f42b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 20 Jun 2008 18:19:22 +0200 Subject: [PATCH] fixed date format darcs-hash:20080620161922-7ad00-0780560591db5b89bc3502de038048ca8e0d939a.gz --- info.txt | 2 +- renderer.php | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/info.txt b/info.txt index ac609f9..af346af 100644 --- a/info.txt +++ b/info.txt @@ -2,7 +2,7 @@ author Andreas Gohr email andi@splitbrain.org -date 2007-01-20 +date 2008-06-20 name S5 Slideshow Plugin desc Display a Wiki page as S5 slideshow presentation url http://wiki.splitbrain.org/plugin:s5 diff --git a/renderer.php b/renderer.php index acc2711..628f3c0 100644 --- a/renderer.php +++ b/renderer.php @@ -26,6 +26,17 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml { return confToHash(dirname(__FILE__).'/info.txt'); } + /** + * the format we produce + */ + function getFormat(){ + // this should be 's5' usally, but we inherit from the xhtml renderer + // and produce XHTML as well, so we can gain magically compatibility + // by saying we're the 'xhtml' renderer here. + return 'xhtml'; + } + + /** * Initialize the rendering */ @@ -84,7 +95,7 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml {