diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-23 14:00:24 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-23 14:00:24 -0800 |
commit | e5141dd91bf483b0458b6f9226b994afbee23524 (patch) | |
tree | 958afce923e2b7b13278c19d8c707daf73bf2a73 /include/nav.php | |
parent | 9936670f44b53e391d997fd024faa329b8a0c803 (diff) | |
parent | 14f12927436f71c753127be83f348d89b99401b6 (diff) | |
download | volse-hubzilla-e5141dd91bf483b0458b6f9226b994afbee23524.tar.gz volse-hubzilla-e5141dd91bf483b0458b6f9226b994afbee23524.tar.bz2 volse-hubzilla-e5141dd91bf483b0458b6f9226b994afbee23524.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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[] = [ |