aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-08-24 20:18:18 +0200
committerMario Vavti <mario@mariovavti.com>2017-08-24 20:18:18 +0200
commitcdccf601320ec7e59f5d96438edac34d5ea30085 (patch)
treed08cdd7e50dca5fbbffa96d922536db745bc0233 /include/nav.php
parentdf2725a360f173d7521d8a552608014968763288 (diff)
parent85f24c292f071b9a83aea0aa122231afd57e7f73 (diff)
downloadvolse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.tar.gz
volse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.tar.bz2
volse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index 76a8f8fb9..f5a1236a8 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -434,6 +434,18 @@ function channel_apps($is_owner = false, $nickname = null) {
];
}
+ if($p['view_pages'] && feature_enabled($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($has_webpages && feature_enabled($uid,'webpages')) {
$tabs[] = [
'label' => t('Webpages'),