Cleanup #2

Merged
r31k merged 5 commits from panigrc/dw-whoisinyourhackspace:master into master 2021-02-26 22:16:05 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 16556e7722 - Show all commits

View File

@ -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>";
}