Fix indentation
This commit is contained in:
parent
0ef662e5ac
commit
16556e7722
@ -76,11 +76,11 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin {
|
||||
$content .= "<h3>" . $this->getLang('wiyh_heading') . "</h3>";
|
||||
|
||||
if ($api->state->open) {
|
||||
$message = "{$api->space} {$this->getLang('wiyh_open')}";
|
||||
$message = "{$api->space} {$this->getLang('wiyh_open')}";
|
||||
$content .= $api->state->icon->open ? "<img class=\"icon\" src=\"{$api->state->icon->open}\" alt=\"{$message}\" title=\"{$message}\" />" : '';
|
||||
$content .= "<p class=\"text\">{$message}</p>";
|
||||
} else {
|
||||
$message = "{$api->space} {$this->getLang('wiyh_closed')}";
|
||||
$message = "{$api->space} {$this->getLang('wiyh_closed')}";
|
||||
$content .= $api->state->icon->closed ? "<img class=\"icon\" src=\"{$api->state->icon->closed}\" alt=\"{$message}\" title=\"{$message}\" />" : '';
|
||||
$content .= "<p class=\"text\">{$message}</p>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user