aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.php23
-rw-r--r--include/nav.php4
2 files changed, 15 insertions, 12 deletions
diff --git a/include/features.php b/include/features.php
index 5ed412698..5711c22b6 100644
--- a/include/features.php
+++ b/include/features.php
@@ -16,17 +16,18 @@ function get_features() {
$arr = array(
-array('multi_delete', t('Multiple Deletion'), t('Select and delete multiple posts/comments at once')),
-array('expire', t('Content Expiration'), t('Remove old posts/comments after a period of time')),
-array('commtag', t('Community Tagging'), t('Tag existing posts and share the links')),
-array('categories', t('Post Categories'), t('Add categories to your channel postings')),
-array('filing', t('Saved Folders'), t('Ability to file posts under easily remembered names')),
-array('archives', t('Search by Date'), t('Select posts by date ranges')),
-array('dislike', t('Dislike Posts'), t('Ability to dislike posts/comments')),
-array('savedsearch', t('Saved Searches'), t('Save search terms for re-use')),
-array('preview', t('Post Preview'), t('Preview posts and comments before publishing them')),
-array('edit_posts', t('Edit Sent Posts'), t('Edit and correct posts and comments after sending')),
-array('richtext', t('Richtext Editor'), t('Use richtext/visual editor where applicable')),
+array('multi_delete', t('Multiple Deletion'), t('Select and delete multiple posts/comments at once')),
+array('expire', t('Content Expiration'), t('Remove old posts/comments after a period of time')),
+array('commtag', t('Community Tagging'), t('Tag existing posts and share the links')),
+array('categories', t('Post Categories'), t('Add categories to your channel postings')),
+array('filing', t('Saved Folders'), t('Ability to file posts under easily remembered names')),
+array('archives', t('Search by Date'), t('Select posts by date ranges')),
+array('dislike', t('Dislike Posts'), t('Ability to dislike posts/comments')),
+array('savedsearch', t('Saved Searches'), t('Save search terms for re-use')),
+array('preview', t('Post Preview'), t('Preview posts and comments before publishing them')),
+array('edit_posts', t('Edit Sent Posts'), t('Edit and correct posts and comments after sending')),
+array('richtext', t('Richtext Editor'), t('Use richtext/visual editor where applicable')),
+array('multi_profiles', t('Multiple Profiles'), t('Show different profiles to different connections/collections')),
);
call_hooks('get_features',$arr);
diff --git a/include/nav.php b/include/nav.php
index 5b86a0691..c714502a1 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -152,7 +152,9 @@ EOT;
$nav['manage'] = array('manage', t('Channel Select'), "", t('Manage Your Channels'));
$nav['settings'] = array('settings', t('Settings'),"", t('Account/Channel Settings'));
- $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/Edit Profiles'));
+ if(feature_enabled(local_user(),'multi_profiles'))
+ $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/Edit Profiles'));
+
$nav['contacts'] = array('connections', t('Connections'),"", t('Manage/Edit Friends and Connections'));
}