diff options
| author | Simon | 2011-03-29 11:22:04 +0200 |
|---|---|---|
| committer | Simon | 2011-03-29 11:22:04 +0200 |
| commit | 0017ec00ed872a1cac818e7194f8e7b626ff604d (patch) | |
| tree | 0bbec1661ccfb6e4634df5d3ec67a38b496a3abe /application/modules/user/controllers/IndexController.php | |
| parent | shortcut für rechte vorbereitet (diff) | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-0017ec00ed872a1cac818e7194f8e7b626ff604d.tar.gz pbs2-0017ec00ed872a1cac818e7194f8e7b626ff604d.tar.xz pbs2-0017ec00ed872a1cac818e7194f8e7b626ff604d.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/controllers/IndexController.php')
| -rw-r--r-- | application/modules/user/controllers/IndexController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php index f795b16..1e15768 100644 --- a/application/modules/user/controllers/IndexController.php +++ b/application/modules/user/controllers/IndexController.php @@ -9,6 +9,7 @@ class User_IndexController extends Zend_Controller_Action public function indexAction() { + if (!Zend_Auth::getInstance()->hasIdentity()) { $this->view->text = 'Your not logged in, please log in first <a href="/user/auth/">here</a>.'; } @@ -20,8 +21,9 @@ class User_IndexController extends Zend_Controller_Action '/user/config' => 'Create your own Configuration', '/user/bootmenu' => 'Create your Bootmenu', ); + $this->view->links = $links; } - $this->view->links = $links; + } |
