fc->user->isLoggedIn()) {
echo $this->fc->user->html('nickname');
if ($this->fc->getSessionVariable('switch_id') != $this->fc->user->getUid()) {
echo ' as '.varStr::html($this->fc->getSessionVariable('switch_name'));
}
echo '
';
if ($this->fc->user->checkAcl('task_see_all')) {
echo 'switch | ';
}
if ($this->fc->user->checkAcl('admin_user')) {
echo 'admin | ';
} else {
echo 'profile | ';
}
echo 'logout';
echo '';
} else {
echo 'TaskFreak!
Time Tracking';
}
?>