15 lines
328 B
PHP
15 lines
328 B
PHP
<?php
|
|
|
|
$authenticated = false;
|
|
$user = null;
|
|
|
|
$auth = StatusBoard_Main::instance()->auth();
|
|
if ($auth->isAuthenticated()) {
|
|
$authenticated = true;
|
|
$user = $auth->authenticatedUser();
|
|
}
|
|
|
|
$this->smarty->assign('authenticated', $authenticated);
|
|
$this->smarty->assign('auth', $auth);
|
|
$this->smarty->assign('user', $user);
|
|
?>
|