diff --git a/syntax.php b/syntax.php index e99ddc5..3e07b6e 100644 --- a/syntax.php +++ b/syntax.php @@ -68,11 +68,13 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin { $api = json_decode($file); if ($api->state->open) { - $renderer->doc .= '

Der Krautspace ist besetzt :).

'; + $renderer->doc .= sprintf('

%s ist besetzt :).

',$api->space); } else { - $renderer->doc .= '

Der Krautspace ist nicht besetzt :(.

'; + $renderer->doc .= sprintf('

%s ist nicht besetzt :(.

',$api->space); } + $renderer->doc .= sprintf('

MOAH!

',strtolower($api->space)); + return true; } }