diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-22 15:39:06 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-22 15:39:06 -0800 |
commit | 6c178d44858bbdfd582d09eb4568d32292c0b2c2 (patch) | |
tree | ef71ebbdd8629b8c66a52f8b14d0e9db16670499 /include/nav.php | |
parent | 8bd8af7d16d6b4fb40680bd33b99bbfd582a1208 (diff) | |
download | volse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.tar.gz volse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.tar.bz2 volse-hubzilla-6c178d44858bbdfd582d09eb4568d32292c0b2c2.zip |
article feature
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php index 2dcf68bc8..8ab401c76 100644 --- a/include/nav.php +++ b/include/nav.php @@ -491,6 +491,17 @@ function channel_apps($is_owner = false, $nickname = null) { ]; } + if($p['view_pages'] && feature_enabled($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 && feature_enabled($uid,'webpages')) { $tabs[] = [ |