page['nav'] .= "Logout\r\n";
}
$a->page['nav'] .= "\r\n";
if(($a->module != 'home') && (! (x($_SESSION['uid']))))
$a->page['nav'] .= "Home\r\n";
$a->page['nav'] .= "Site Directory\r\n";
if(x($_SESSION,'uid')) {
$a->page['nav'] .= "Network\r\n";
$a->page['nav'] .= "user['nickname']}\">Home\r\n";
$a->page['nav'] .= "Notifications\r\n";
$a->page['nav'] .= "Messages\r\n";
$a->page['nav'] .= "Settings\r\n";
$a->page['nav'] .= "Profiles\r\n";
$a->page['nav'] .= "Contacts\r\n";
}
$a->page['nav'] .= "\r\n\r\n";