solve intro/notify naming issue by providing both or either, theme decides what to do
This commit is contained in:
parent
2206d894b3
commit
3ef7dcac4b
2 changed files with 6 additions and 3 deletions
|
@ -114,7 +114,9 @@ function nav(&$a) {
|
|||
/* only show friend requests for normal pages. Other page types have automatic friendship. */
|
||||
|
||||
if($_SESSION['page_flags'] == PAGE_NORMAL) {
|
||||
$nav['notifications'] = array('notifications/network', t('Notifications'), "", t('Notifications'));
|
||||
$nav['introductions'] = array('notifications/intros', t('Introductions'), "", t('Friend Requests'));
|
||||
$nav['notifications'] = array('notifications', t('Notifications'), "", t('Notifications'));
|
||||
|
||||
}
|
||||
|
||||
$nav['messages'] = array('message', t('Messages'), "", t('Private mail'));
|
||||
|
@ -175,6 +177,7 @@ function nav_set_selected($item){
|
|||
'network' => null,
|
||||
'home' => null,
|
||||
'profiles' => null,
|
||||
'introductions' => null,
|
||||
'notifications' => null,
|
||||
'messages' => null,
|
||||
'directory' => null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue