diff options
| author | Simon | 2011-04-15 16:02:33 +0200 |
|---|---|---|
| committer | Simon | 2011-04-15 16:02:33 +0200 |
| commit | 8f49843b2b1390761372047027aaaf9423f7155e (patch) | |
| tree | 05ca47fdca32534e4703b232fc8dbe79cb0afa6b /application/modules | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-8f49843b2b1390761372047027aaaf9423f7155e.tar.gz pbs2-8f49843b2b1390761372047027aaaf9423f7155e.tar.xz pbs2-8f49843b2b1390761372047027aaaf9423f7155e.zip | |
AlphaID aus der URL entfernt
Diffstat (limited to 'application/modules')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 9 | ||||
| -rw-r--r-- | application/modules/fbgui/views/scripts/index/index.phtml | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index 119c810..28855f3 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -104,8 +104,8 @@ class Fbgui_IndexController extends Zend_Controller_Action $this->view->entries = $res; #print_a(Zend_Auth::getInstance()->hasIdentity(),$bm->MembershipID ,$this->membership->getID()); if (!Zend_Auth::getInstance()->hasIdentity()) { - #$pbsNotifier = new Pbs_Notifier(); - #$this->view->notification = $pbsNotifier->notify("This is not your Bootmenu. You have to login to get your own Bootmenu.<br />Click here to <a href='/fbgui/auth/login/'>login</a>",'info'); + # $pbsNotifier = new Pbs_Notifier(); + # $this->view->notification = $pbsNotifier->notify("This is not your Bootmenu. You have to login to get your own Bootmenu.<br />Click here to <a href='/fbgui/auth/login/'>login</a>",'info'); $this->view->loginmenu = true; } if(Zend_Auth::getInstance()->hasIdentity()){ @@ -137,10 +137,7 @@ class Fbgui_IndexController extends Zend_Controller_Action } public function startAction(){ $bootmenuntryID = $this->_request->getParam('bme'); - $a = $this->_request->getParam('a'); - if($a == ''){ - $a = $_SESSION['alphasessionID']; - } + $a = $_SESSION['alphasessionID']; $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); $bootmenuentry = new Application_Model_BootMenuEntries(); $bootmenuentriesMapper->find($bootmenuntryID,$bootmenuentry); diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml index 38967fa..02bd7d0 100644 --- a/application/modules/fbgui/views/scripts/index/index.phtml +++ b/application/modules/fbgui/views/scripts/index/index.phtml @@ -48,9 +48,9 @@ function start(){ if($('#selectedBootOs').val() != ''){ if($('#selectedBootOs').val() == 'login'){ - window.location='/fbgui/auth/login/a/<?php echo $this->alphasessionID;?>' + window.location='/fbgui/auth/login/' } else{ - window.location='/fbgui/index/start/bme/'+$('#selectedBootOs').val()+'/a/<?php echo $this->alphasessionID;?>'; + window.location='/fbgui/index/start/bme/'+$('#selectedBootOs').val(); } } else{ |
