diff --git a/impressum/impressum.php b/impressum/impressum.php index 40029632..47e44ef7 100644 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -40,14 +40,14 @@ function obfuscate_email (string $s): string return $s; } -function impressum_footer(App $a, array &$b) +function impressum_footer(App $a, string &$body) { $text = ProxyUtils::proxifyHtml(BBCode::convert(DI::config()->get('impressum','footer_text'))); if (! $text == '') { DI::page()['htmlhead'] .= ''; - $b .= '
'; - $b .= ' '; + $body .= ''; + $body .= ' '; } } @@ -56,9 +56,9 @@ function impressum_load_config(App $a, ConfigFileLoader $loader) $a->getConfigCache()->load($loader->loadAddonConfig('impressum')); } -function impressum_show(App $a, array &$b) +function impressum_show(App $a, array &$body) { - $b .= '' . DI::l10n()->t('Site Owner').': ' . $tmp .'
' . DI::l10n()->t('Email Address') . ': ' . $email . '
' . DI::l10n()->t('Site Owner').': ' . $tmp .'
' . DI::l10n()->t('Email Address') . ': ' . $email . '
' . DI::l10n()->t('Site Owner').': ' . $tmp .'
'; + $body .= '' . DI::l10n()->t('Site Owner').': ' . $tmp .'
'; } if (strlen($postal)) { - $b .= '' . DI::l10n()->t('Postal Address') . '
' . $postal . '
' . DI::l10n()->t('Postal Address') . '
' . $postal . '
' . $notes . '
'; + $body .= '' . $notes . '
'; } } else { - $b .= '' . DI::l10n()->t('The impressum addon needs to be configured!
Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon.') . '
' . DI::l10n()->t('The impressum addon needs to be configured!
Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon.') . '