diff options
author | redmatrix <git@macgirvin.com> | 2016-06-29 20:59:00 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-29 20:59:00 -0700 |
commit | 9ef710c557fcc4ea01c87e03fd7a477eb037f09c (patch) | |
tree | ca181b89bb548fc4badbf2045c6320593f87e59f /include/nav.php | |
parent | df4ff26845ea2868998c6a05397dc8e3aa07ba98 (diff) | |
download | volse-hubzilla-9ef710c557fcc4ea01c87e03fd7a477eb037f09c.tar.gz volse-hubzilla-9ef710c557fcc4ea01c87e03fd7a477eb037f09c.tar.bz2 volse-hubzilla-9ef710c557fcc4ea01c87e03fd7a477eb037f09c.zip |
provide wiki as a feature (default is on so there aren't any surprises) and add to channel menu and profile tabs
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php index 21e9d2c3a..6a79b6530 100644 --- a/include/nav.php +++ b/include/nav.php @@ -104,6 +104,8 @@ EOT; if(feature_enabled($channel['channel_id'],'webpages') && (! UNO)) $nav['usermenu'][] = Array('webpages/' . $channel['channel_address'],t('Webpages'),"",t('Your webpages'),'webpages_nav_btn'); + if(feature_enabled($channel['channel_id'],'wiki') && (! UNO)) + $nav['usermenu'][] = Array('wiki/' . $channel['channel_address'],t('Wiki'),"",t('Your wiki'),'wiki_nav_btn'); } else { if(! get_account_id()) { |