X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=ebe4011e654b2b0fc9e1beb3050a2233bf378dd1;hb=6ac37e284dbba9c68bb440cd5f630d7096a90a50;hp=9f974eda0744e00da949611d6cf500031e70ad97;hpb=3c76826793feeb933dab7a07dab7cc7eb2efc451;p=friendica.git
diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php
index 9f974eda07..ebe4011e65 100644
--- a/view/theme/vier/theme.php
+++ b/view/theme/vier/theme.php
@@ -16,7 +16,7 @@ use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Renderer;
-use Friendica\Core\System;
+use Friendica\Core\Search;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
@@ -33,17 +33,17 @@ function vier_init(App $a)
if (!empty($a->argv[0]) && ($a->argv[0] . ($a->argv[1] ?? '')) === ('profile' . $a->user['nickname']) || $a->argv[0] === 'network' && local_user()) {
vier_community_info();
- $a->page['htmlhead'] .= "\n";
+ DI::page()['htmlhead'] .= "\n";
}
if (DI::mode()->isMobile() || DI::mode()->isMobile()) {
- $a->page['htmlhead'] .= ''."\n";
- $a->page['htmlhead'] .= ''."\n";
+ DI::page()['htmlhead'] .= ''."\n";
+ DI::page()['htmlhead'] .= ''."\n";
}
/// @todo deactivated since it doesn't work with desktop browsers at the moment
- //$a->page['htmlhead'] .= ''."\n";
+ //DI::page()['htmlhead'] .= ''."\n";
- $a->page['htmlhead'] .= <<< EOT
+ DI::page()['htmlhead'] .= <<< EOT