diff options
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 24 |
1 files changed, 0 insertions, 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'), |