page['nav'] .= '' . t('Logout') . "\r\n";
}
$a->page['nav'] .= "\r\n";
if(($a->module != 'home') && (! (local_user())))
$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";
$a->page['nav'] .= '' . t('Directory') . "\r\n";
if(x($_SESSION,'uid')) {
$a->page['nav'] .= '' . t('Network')
. '' . "\r\n";
$a->page['nav'] .= ''
. t('Home') . '' . "\r\n";
$a->page['nav'] .= '' . t('Notifications')
. '' . "\r\n";
$a->page['nav'] .= '' . t('Messages')
. '' . "\r\n";
$a->page['nav'] .= '' . t('Settings') . "\r\n";
$a->page['nav'] .= '' . t('Profiles') . "\r\n";
$a->page['nav'] .= '' . t('Contacts') . "\r\n";
}
$a->page['nav'] .= "\r\n\r\n";