provide wiki as a feature (default is on so there aren't any surprises) and add to channel menu and profile tabs

This commit is contained in:
redmatrix
2016-06-29 20:59:00 -07:00
parent df4ff26845
commit 9ef710c557
4 changed files with 29 additions and 5 deletions

View File

@@ -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()) {