X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;h=5995f54374171f4b2e701e31a8b96f182f22f621;hb=0c4ab89bc3ba01c1e816ac191efcaba31b80c9f3;hp=e7c2510783ab7080e5023af94a2527e177ecea0e;hpb=745ebee154743ce44875bae443f751fa7581494b;p=friendica.git diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index e7c2510783..5995f54374 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -41,6 +41,14 @@ function frio_init(App $a) EOT; } + + $enable_compose = \Friendica\Core\PConfig::get(local_user(), 'frio', 'enable_compose'); + $compose = $enable_compose === '1' || $enable_compose === null && Config::get('frio', 'enable_compose') ? 1 : 0; + $a->page['htmlhead'] .= <<< HTML + +HTML; } function frio_install() @@ -255,8 +263,6 @@ function frio_remote_nav($a, &$nav) } if (!local_user() && !empty($server_url) && !is_null($remoteUser)) { - $nav['logout'] = [$server_url . '/logout', L10n::t('Logout'), '', L10n::t('End this session')]; - // user menu $nav['usermenu'][] = [$server_url . '/profile/' . $remoteUser['nick'], L10n::t('Status'), '', L10n::t('Your posts and conversations')]; $nav['usermenu'][] = [$server_url . '/profile/' . $remoteUser['nick'] . '?tab=profile', L10n::t('Profile'), '', L10n::t('Your profile page')];