X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=f838830a8873b109537acec32edc15de36907c96;hb=07bc8ca166d8ef0618c353d110e0c15916f268d7;hp=d1d184650baddd83e70cb2e109956e2beb012468;hpb=ccb465eccd8d87d2ea13b619b665d68e6d2d1181;p=friendica.git diff --git a/include/nav.php b/include/nav.php index d1d184650b..f838830a88 100644 --- a/include/nav.php +++ b/include/nav.php @@ -76,8 +76,9 @@ function nav_info(&$a) { $nav['usermenu'][] = Array('profile/' . $a->user['nickname'], t('Status'), "", t('Your posts and conversations')); $nav['usermenu'][] = Array('profile/' . $a->user['nickname']. '?tab=profile', t('Profile'), "", t('Your profile page')); $nav['usermenu'][] = Array('photos/' . $a->user['nickname'], t('Photos'), "", t('Your photos')); + $nav['usermenu'][] = Array('videos/' . $a->user['nickname'], t('Videos'), "", t('Your videos')); $nav['usermenu'][] = Array('events/', t('Events'), "", t('Your events')); - $nav['usermenu'][] = Array('notes/', t('Personal notes'), "", t('Your personal photos')); + $nav['usermenu'][] = Array('notes/', t('Personal notes'), "", t('Your personal notes')); // user info $r = q("SELECT micro FROM contact WHERE uid=%d AND self=1", intval($a->user['uid'])); @@ -127,7 +128,9 @@ function nav_info(&$a) { elseif(! get_config('system','no_community_page')) $nav['community'] = array('community', t('Community'), "", t('Conversations on this site')); - $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory')); + $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory')); + + $nav['about'] = Array('friendica', t('Information'), "", t('Information about this friendica instance')); /** * @@ -145,7 +148,7 @@ function nav_info(&$a) { /* only show friend requests for normal pages. Other page types have automatic friendship. */ - if($_SESSION['page_flags'] == PAGE_NORMAL || $_SESSION['page_flags'] == PAGE_PRVGROUP) { + if($_SESSION['page_flags'] == PAGE_NORMAL || $_SESSION['page_flags'] == PAGE_SOAPBOX || $_SESSION['page_flags'] == PAGE_PRVGROUP) { $nav['introductions'] = array('notifications/intros', t('Introductions'), "", t('Friend Requests')); $nav['notifications'] = array('notifications', t('Notifications'), "", t('Notifications')); $nav['notifications']['all']=array('notifications/system', t('See all notifications'), "", ""); @@ -165,6 +168,7 @@ function nav_info(&$a) { $nav['delegations'] = Array('delegate', t('Delegations'), "", t('Delegate Page Management')); $nav['settings'] = array('settings', t('Settings'),"", t('Account settings')); + if(feature_enabled(local_user(),'multi_profiles')) $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/Edit Profiles'));