Fixed typos.

This commit is contained in:
LeineServer 2021-02-17 22:21:25 +01:00
parent e65d8dc980
commit d3aabedd87
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin {
$content .= $api->state->icon->open ? "<img class=\"icon\" src=\"{$api->state->icon->open}\" alt=\"{$message}\" title=\"{$message}\" />" : '';
$content .= "<p class=\"text\">{$message}</p>";
} else {
$alt = "{$api->space} {$this->getLang('wiyh_closed')}";
$content .= $api->state->icon->closed ? "<img class=\"icon\" src=\"{$api->state->icon->closed}\" alt=\"{$alt}\" title=\"{$alt}\" />" : '';
$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>";
}