diff options
| author | Simon | 2011-04-27 10:34:24 +0200 |
|---|---|---|
| committer | Simon | 2011-04-27 10:34:24 +0200 |
| commit | 0f80803af0947e51a877b683f1fd1ccf5f85a030 (patch) | |
| tree | 5e176e7c2738b0b876de8faa8de1212e295b8d8b /application/modules/fbgui/controllers/IndexController.php | |
| parent | BugFix Person... (diff) | |
| download | pbs2-0f80803af0947e51a877b683f1fd1ccf5f85a030.tar.gz pbs2-0f80803af0947e51a877b683f1fd1ccf5f85a030.tar.xz pbs2-0f80803af0947e51a877b683f1fd1ccf5f85a030.zip | |
Meldung bei 'kein Bootmenu'
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index 1401be3..3f59873 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -143,6 +143,15 @@ class Fbgui_IndexController extends Zend_Controller_Action // 'Your alphasessionID is '.$session->getAlphasessionID(), // 'Your client is '.$session->getClientID(), // 'there is no bootmenu for you'); + if (!Zend_Auth::getInstance()->hasIdentity()) { + $this->view->loginmenu = true; + $pbsNotifier = new Pbs_Notifier(); + $this->view->notification = $pbsNotifier->notify("There is no default BootMenu, please Login to get your BootMenu.",'info'); + } + else{ + $pbsNotifier = new Pbs_Notifier(); + $this->view->notification = $pbsNotifier->notify("You have no BootMenu.",'info'); + } $this->view->nobootmenu = true; } } |
