Channels are a new way to see different content

This commit is contained in:
Michael
2023-09-01 21:56:59 +00:00
parent 5c26ba5f5d
commit 5c166be3fc
22 changed files with 860 additions and 249 deletions

View File

@@ -42,6 +42,7 @@ class Nav
private static $selected = [
'global' => null,
'community' => null,
'channel' => null,
'network' => null,
'home' => null,
'profiles' => null,
@@ -199,6 +200,7 @@ class Nav
'moderation' => null,
'apps' => null,
'community' => null,
'channel' => null,
'home' => null,
'calendar' => null,
'login' => null,
@@ -287,6 +289,8 @@ class Nav
$nav['community'] = ['community', $this->l10n->t('Community'), '', $this->l10n->t('Conversations on this and other servers')];
}
$nav['channel'] = ['channel', $this->l10n->t('Channel'), '', $this->l10n->t('Current posts, filtered by several rules')];
if ($this->session->getLocalUserId()) {
$nav['calendar'] = ['calendar', $this->l10n->t('Calendar'), '', $this->l10n->t('Calendar')];
}