summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/controllers/IndexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 3567f70..c874d97 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -66,6 +66,9 @@ class Fbgui_IndexController extends Zend_Controller_Action
$bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper();
$res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false);
$this->view->entries = $res;
+ if (!Zend_Auth::getInstance()->hasIdentity()) {
+ echo "<a href='/fbgui/auth/login/'>Goto Login to get your Bootmenu</a>";
+ }
}
else{
/*
@@ -76,7 +79,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
'Your client is '.$session->getClientID(),
'there is no bootmenu for you');
*/
- echo "<a href='/fbgui/auth/login/'>Goto Login to get a Bootmenu</a>";
+ echo "<a href='/fbgui/auth/login/'>Goto Login to get your Bootmenu</a>";
}
}
else{