summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/fbgui')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php16
-rw-r--r--application/modules/fbgui/views/scripts/index/index.phtml2
2 files changed, 10 insertions, 8 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index bfd2bec..3567f70 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -55,23 +55,27 @@ class Fbgui_IndexController extends Zend_Controller_Action
$pbsFilter = new Pbs_Filter();
$bootmenuID = $pbsFilter->evaluate();
if($bootmenuID != null){
- print_a('Debug Output',
- 'Session is now set',
- 'Your sessionID is '.$session->getID(),
- 'Your alphasessionID is '.$session->getAlphasessionID(),
- 'Your client is '.$session->getClientID(),
- 'goto bootmenu '.$bootmenuID);
+ /*
+ print_a('Debug Output',
+ 'Session is now set',
+ 'Your sessionID is '.$session->getID(),
+ 'Your alphasessionID is '.$session->getAlphasessionID(),
+ 'Your client is '.$session->getClientID(),
+ 'goto bootmenu '.$bootmenuID);
+ */
$bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper();
$res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false);
$this->view->entries = $res;
}
else{
+ /*
print_a('Debug Output',
'Session is now set',
'Your sessionID is '.$session->getID(),
'Your alphasessionID is '.$session->getAlphasessionID(),
'Your client is '.$session->getClientID(),
'there is no bootmenu for you');
+ */
echo "<a href='/fbgui/auth/login/'>Goto Login to get a Bootmenu</a>";
}
}
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml
index 1fe02d4..6917643 100644
--- a/application/modules/fbgui/views/scripts/index/index.phtml
+++ b/application/modules/fbgui/views/scripts/index/index.phtml
@@ -33,9 +33,7 @@
<input type="hidden" class="id" value="<?php echo $entry->getID();?>"/>
</div>
<?php endforeach; ?>
-
<input style="display:none;" type='text' id="selectedBootOs" />
-
<button style='cursor:pointer;float:right;margin-top:10px;' onClick="start();"><img id='startball' src='/media/img/button-red.png'> <span style='font-size:14px;'>Start System</span></button>
<div class='clear'></div>
<?php endif;?>