From bd55ae15f29465eab49d3feb83bc426b54127529 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 7 May 2022 07:09:31 +0000 Subject: cleanup channel apps --- include/nav.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/nav.php b/include/nav.php index b9b24e34c..090785301 100644 --- a/include/nav.php +++ b/include/nav.php @@ -499,29 +499,6 @@ function channel_apps($is_owner = false, $nickname = null) { ]; } - if ($p['view_pages'] && Apps::system_app_installed($uid, 'Cards')) { - $tabs[] = [ - 'label' => t('Cards'), - 'url' => z_root() . '/cards/' . $nickname, - 'sel' => ((argv(0) == 'cards') ? 'active' : ''), - 'title' => t('View Cards'), - 'id' => 'cards-tab', - 'icon' => 'list' - ]; - } - - if ($p['view_pages'] && Apps::system_app_installed($uid, 'Articles')) { - $tabs[] = [ - 'label' => t('Articles'), - 'url' => z_root() . '/articles/' . $nickname, - 'sel' => ((argv(0) == 'articles') ? 'active' : ''), - 'title' => t('View Articles'), - 'id' => 'articles-tab', - 'icon' => 'file-text-o' - ]; - } - - if ($has_webpages && Apps::system_app_installed($uid, 'Webpages')) { $tabs[] = [ 'label' => t('Webpages'), @@ -533,7 +510,6 @@ function channel_apps($is_owner = false, $nickname = null) { ]; } - if ($p['view_wiki'] && Apps::system_app_installed($uid, 'Wiki')) { $tabs[] = [ 'label' => t('Wikis'), -- cgit v1.2.3