From 1b0ddc928d2dbeeeab80d6beec1abc0e7a29bdb5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 5 Jan 2011 01:53:34 -0800 Subject: make home tab work from remote profile, fix link in comment notify emails --- include/nav.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/nav.php b/include/nav.php index 74b4defc3..1bde702be 100644 --- a/include/nav.php +++ b/include/nav.php @@ -15,8 +15,12 @@ $a->page['nav'] .= "\r\n"; + // This should take you home from a remote profile connection + + $homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : ''); + if(($a->module != 'home') && (! (local_user()))) - $a->page['nav'] .= '' . t('Home') . "\r\n"; + $a->page['nav'] .= '' . t('Home') . "\r\n"; if(($a->config['register_policy'] == REGISTER_OPEN) && (! local_user()) && (! remote_user())) $a->page['nav'] .= '' . t('Register') . "\r\n"; -- cgit v1.2.3