From 0f47ac282c30c61dbc13e42c4f53b2fc14d65593 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 17 Oct 2010 20:04:17 -0700 Subject: celebrity/group/community pages about 75% implemented --- include/nav.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index cb0882280..2c9d76bb3 100644 --- a/include/nav.php +++ b/include/nav.php @@ -27,8 +27,12 @@ else { $a->page['nav'] .= '' . t('Home') . '' . "\r\n"; - $a->page['nav'] .= '' . t('Notifications') - . '' . "\r\n"; + // only show friend requests for normal pages. Other page types have automatic friendship. + + if($_SESSION['page_flags'] == PAGE_NORMAL) { + $a->page['nav'] .= '' . t('Notifications') + . '' . "\r\n"; + } $a->page['nav'] .= '' . t('Messages') . '' . "\r\n"; -- cgit v1.2.3