- if(in_array($_SESSION['page_flags'], array(PAGE_NORMAL, PAGE_SOAPBOX, PAGE_FREELOVE))) {
- $nav['notifications'] = array('notifications', t('Notifications'), "", t('Notifications'));
- $nav['notifications']['all']=array('notifications/system', t('See all notifications'), "", "");
- $nav['notifications']['mark'] = array('', t('Mark all system notifications seen'), '','');
+ if (in_array($_SESSION['page_flags'], array(PAGE_NORMAL, PAGE_SOAPBOX, PAGE_FREELOVE, PAGE_PRVGROUP))) {
+ // only show friend requests for normal pages. Other page types have automatic friendship.
+ if (in_array($_SESSION['page_flags'], array(PAGE_NORMAL, PAGE_SOAPBOX, PAGE_PRVGROUP))) {
+ $nav['introductions'] = array('notifications/intros', t('Introductions'), '', t('Friend Requests'));
+ }
+ if (in_array($_SESSION['page_flags'], array(PAGE_NORMAL, PAGE_SOAPBOX, PAGE_FREELOVE))) {
+ $nav['notifications'] = array('notifications', t('Notifications'), '', t('Notifications'));
+ $nav['notifications']['all'] = array('notifications/system', t('See all notifications'), '', '');
+ $nav['notifications']['mark'] = array('', t('Mark as seen'), '', t('Mark all system notifications seen'));