summaryrefslogtreecommitdiff
path: root/lib/plugins/info
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2013-10-16 11:29:27 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2013-10-16 11:29:27 +0200
commit74ed54d4f9a7c9796916f33f649ef94619a31704 (patch)
tree488aee5f3e4529ea2c7a7591bba8f01d7696aa66 /lib/plugins/info
parent3373bb1a16ef6d6a6701de5b87de9efa990454c9 (diff)
downloadrpg-74ed54d4f9a7c9796916f33f649ef94619a31704.tar.gz
rpg-74ed54d4f9a7c9796916f33f649ef94619a31704.tar.bz2
fix signature mail unittest, and improve some signatures info plugin
Diffstat (limited to 'lib/plugins/info')
-rw-r--r--lib/plugins/info/syntax.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/plugins/info/syntax.php b/lib/plugins/info/syntax.php
index 5d969d7a2..e68061e5d 100644
--- a/lib/plugins/info/syntax.php
+++ b/lib/plugins/info/syntax.php
@@ -58,6 +58,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
*/
function render($format, Doku_Renderer &$renderer, $data) {
if($format == 'xhtml'){
+ /** @var Doku_Renderer_xhtml $renderer */
//handle various info stuff
switch ($data[0]){
case 'syntaxmodes':
@@ -103,7 +104,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
*
* uses some of the original renderer methods
*/
- function _plugins_xhtml($type, Doku_Renderer &$renderer){
+ function _plugins_xhtml($type, Doku_Renderer_xhtml &$renderer){
global $lang;
$renderer->doc .= '<ul>';
@@ -141,9 +142,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
*
* uses some of the original renderer methods
*/
- function _helpermethods_xhtml(Doku_Renderer &$renderer){
- global $lang;
-
+ function _helpermethods_xhtml(Doku_Renderer_xhtml &$renderer){
$plugins = plugin_list('helper');
foreach($plugins as $p){
if (!$po = plugin_load('helper',$p)) continue;