X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=b297fcb48174629de382d2609c542ec5835e8039;hb=e17db489eee549f47c39c9b5494063476ed4aeb0;hp=bcd11cc62a6e7c812a83ec7b383e898fb19fc38b;hpb=1064da10522e1becf1f7852421933c7ba1fe4f0a;p=friendica.git diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index bcd11cc62a..b297fcb481 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -10,6 +10,7 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; +use Friendica\Model\Profile; require_once 'view/theme/frio/php/frio_boot.php'; @@ -17,52 +18,53 @@ require_once 'view/theme/frio/php/frio_boot.php'; if (!isset($minimal)) { $minimal = false; } + +$basepath = $a->getURLPath() ? "/" . $a->getURLPath() . "/" : "/"; +$frio = "view/theme/frio"; +$view_mode_class = ($a->is_mobile || $a->is_tablet) ? 'mobile-view' : 'desktop-view'; +$is_singleuser = Config::get('system', 'singleuser'); +$is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; ?>
-