]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge branch 'friendica:develop' into doc_faq_client-clean-up
[friendica.git] / view / theme / frio / config.php
index 5b3c77a50c67e6dfb5519c5e3a24a34340d9f471..ee4f036607c89f3ba8ac161008cf24e8f6c36938 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -57,7 +57,7 @@ function theme_post(App $a)
 
 function theme_admin_post(App $a)
 {
-       if (!is_site_admin()) {
+       if (!$a->isSiteAdmin()) {
                return;
        }
 
@@ -141,6 +141,7 @@ function frio_form($arr)
        $schemes = [
                'light' => DI::l10n()->t('Light (Accented)'),
                'dark'  => DI::l10n()->t('Dark (Accented)'),
+               'black' => DI::l10n()->t('Black (Accented)'),
        ];
 
        $legacy_schemes = [];