diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-23 00:01:02 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-23 00:01:02 -0700 |
commit | e084b776eee9f1fc66e3f4a37b92ec70ccc49286 (patch) | |
tree | bf19cfd1d3823ec13df1606319bd638e142a4849 /include/nav.php | |
parent | 41ff8fdd375fcf395b547dd02f3bdcbb198ec0c1 (diff) | |
download | volse-hubzilla-e084b776eee9f1fc66e3f4a37b92ec70ccc49286.tar.gz volse-hubzilla-e084b776eee9f1fc66e3f4a37b92ec70ccc49286.tar.bz2 volse-hubzilla-e084b776eee9f1fc66e3f4a37b92ec70ccc49286.zip |
cards feature
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 12 |
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'), |