]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseSettings.php
Merge pull request #13724 from Raroun/Fix-for-Issue-#13637---Photo-caption-prevents...
[friendica.git] / src / Module / BaseSettings.php
index a31b9d8a3cb51b9aa666cf598d4f78b2a941860f..c1033e730cc6a73a40eea91b87636bd6e1e66a10 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, 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',