add info to the renderer component

darcs-hash:20070119235715-7ad00-06a76f498442e9a09e69869b43ee618662c6eda5.gz
This commit is contained in:
Andreas Gohr 2007-01-20 00:57:15 +01:00
parent 0f57655dfd
commit 3e8366929f
3 changed files with 16 additions and 8 deletions

8
info.txt Normal file
View File

@ -0,0 +1,8 @@
# General Plugin Info do not edit
author Andreas Gohr
email andi@splitbrain.org
date 2007-01-20
name S5 Slideshow Plugin
desc Display a Wiki page as S5 slideshow presentation
url http://wiki.splitbrain.org/plugin:s5

View File

@ -19,6 +19,13 @@ class Doku_Renderer_s5 extends Doku_Renderer_xhtml {
var $base='';
var $tpl='';
/**
* return some info
*/
function getInfo(){
return confToHash(dirname(__FILE__).'/info.txt');
}
/**
* Initialize the rendering
*/

View File

@ -21,14 +21,7 @@ class syntax_plugin_s5 extends DokuWiki_Syntax_Plugin {
* return some info
*/
function getInfo(){
return array(
'author' => 'Andreas Gohr',
'email' => 'andi@splitbrain.org',
'date' => '2006-12-05',
'name' => 'S5 Slideshow Plugin',
'desc' => 'Display a Wiki page as S5 slideshow presentation',
'url' => 'http://wiki.splitbrain.org/plugin:s5',
);
return confToHash(dirname(__FILE__).'/info.txt');
}
/**