]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge pull request #10986 from annando/issue-10983
[friendica.git] / view / theme / frio / config.php
index b93848cfe0c2cdc35211f07e223a0a273f58c948..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;
        }
 
@@ -140,6 +140,8 @@ 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 = [];