X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=e758cb65158bd915b550e4ce2cfba95cad486b14;hb=1017e244cae7cb1cfce46fe0d4fdc43fb117885e;hp=22060c6a4919efd759e4d304740c0feb42cd0319;hpb=26b335ef3d8b1ec4e1b4e22cd7d3c34e66d2549d;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 22060c6a49..e758cb6515 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -11,6 +11,8 @@ use Friendica\App; use Friendica\Content\ForumManager; +use Friendica\Core\Addon; +use Friendica\Core\L10n; use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; @@ -18,11 +20,10 @@ use Friendica\Database\DBM; use Friendica\Model\GContact; use Friendica\Model\Profile; -require_once "include/plugin.php"; require_once "mod/proxy.php"; -function vier_init(App $a) { - +function vier_init(App $a) +{ $a->theme_events_in_profile = false; $a->set_template_engine('smarty3'); @@ -84,7 +85,7 @@ function cmtBbClose(id) { EOT; - if ($a->is_mobile || $a->is_tablet){ + if ($a->is_mobile || $a->is_tablet) { $a->page['htmlhead'] .= <<< EOT