]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseSettings.php
Changes:
[friendica.git] / src / Module / BaseSettings.php
index a1e88e9a104a3b0a12630d4e97ebd1c160f383f0..9af95bfb2f20a74aee12605c730c6122df563172 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -28,8 +28,6 @@ use Friendica\Content\Nav;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
 use Friendica\Core\Session\Capability\IHandleUserSessions;
-use Friendica\Core\System;
-use Friendica\Module\Security\Login;
 use Friendica\Network\HTTPException\ForbiddenException;
 use Friendica\Util\Profiler;
 use Psr\Log\LoggerInterface;
@@ -123,6 +121,13 @@ class BaseSettings extends BaseModule
                        'accesskey' => 'i',
                ];
 
+               $tabs[] = [
+                       'label'     => $this->t('Channels'),
+                       'url'       => 'settings/channels',
+                       'selected'  => static::class == Settings\Channels::class ? 'active' : '',
+                       'accesskey' => '',
+               ];
+
                $tabs[] = [
                        'label'     => $this->t('Social Networks'),
                        'url'       => 'settings/connectors',
@@ -151,6 +156,13 @@ class BaseSettings extends BaseModule
                        'accesskey' => 'b',
                ];
 
+               $tabs[] = [
+                       'label'     => $this->t('Remote servers'),
+                       'url'       => 'settings/server',
+                       'selected'  => static::class == Settings\Server\Index::class ? 'active' : '',
+                       'accesskey' => 's',
+               ];
+
                $tabs[] = [
                        'label'     => $this->t('Export personal data'),
                        'url'       => 'settings/userexport',