]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge branch '2019.06-rc'
[friendica.git] / view / theme / frio / config.php
index 7ac7f489ef13a42337609bfeb797c7483a173a88..d1591273fbe65aef313c8cdf9ae76b1f72cfb6c1 100644 (file)
@@ -30,7 +30,7 @@ function theme_post(App $a)
 
 function theme_admin_post(App $a)
 {
-       if (!local_user()) {
+       if (!is_site_admin()) {
                return;
        }
 
@@ -119,7 +119,6 @@ function frio_form($arr)
        $t = Renderer::getMarkupTemplate('theme_settings.tpl');
        $ctx = [
                '$submit'           => L10n::t('Submit'),
-               '$baseurl'          => System::baseUrl(),
                '$title'            => L10n::t('Theme settings'),
                '$scheme'           => ['frio_scheme', L10n::t('Select color scheme'), $arr['scheme'], '', $scheme_choices],
                '$share_string'     => ['frio_share_string', L10n::t('Copy or paste schemestring'), $arr['share_string'], L10n::t('You can copy this string to share your theme with others. Pasting here applies the schemestring'), false, false],