]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge pull request #11200 from annando/issue-11034
[friendica.git] / view / theme / frio / config.php
index 5b3c77a50c67e6dfb5519c5e3a24a34340d9f471..7445155f9d24f49a758ed32a9eb655d838f4514e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, 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 = [];