fixed date format
darcs-hash:20080620161922-7ad00-0780560591db5b89bc3502de038048ca8e0d939a.gz
This commit is contained in:
parent
8b70b68345
commit
a71242cdd9
2
info.txt
2
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
|
||||
|
|
|
|||
13
renderer.php
13
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 {
|
|||
<div id="header"></div>
|
||||
<div id="footer">
|
||||
<h1>'.$ID.'</h1>
|
||||
<h2>'.hsc($conf['title']).' • '.date($conf['dformat'],$INFO['lastmod']).'</h2>
|
||||
<h2>'.hsc($conf['title']).' • '.strftime($conf['dformat'],$INFO['lastmod']).'</h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user