mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Changes:
- added type-hint + intval() (@MrPetovan) - also changed `if (!$foo == '')` to `if ($foo != '')` - added some spaces for better readability
This commit is contained in:
parent
3ab46781b1
commit
02d4a560a1
2 changed files with 12 additions and 13 deletions
|
@ -47,10 +47,10 @@ function impressum_footer(App $a, string &$body)
|
|||
{
|
||||
$text = ProxyUtils::proxifyHtml(BBCode::convert(DI::config()->get('impressum','footer_text')));
|
||||
|
||||
if (! $text == '') {
|
||||
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.DI::baseUrl()->get().'/addon/impressum/impressum.css" media="all" />';
|
||||
if ($text != '') {
|
||||
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/impressum/impressum.css" media="all" />';
|
||||
$body .= '<div class="clear"></div>';
|
||||
$body .= '<div id="impressum_footer">'.$text.'</div>';
|
||||
$body .= '<div id="impressum_footer">' . $text . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue