diff options
| author | michael pereira | 2011-07-11 02:48:12 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-11 02:48:12 +0200 |
| commit | 843953c6e9b07bdf23cdee3fa7cff830de5bc7c2 (patch) | |
| tree | 9742cdcf6690af0822e778e9a43d93a21f77f295 | |
| parent | redirect raus (diff) | |
| download | pbs2-843953c6e9b07bdf23cdee3fa7cff830de5bc7c2.tar.gz pbs2-843953c6e9b07bdf23cdee3fa7cff830de5bc7c2.tar.xz pbs2-843953c6e9b07bdf23cdee3fa7cff830de5bc7c2.zip | |
redirect raus
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index 54a6c89..91b9400 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -68,28 +68,28 @@ class Ipxe_ResourceController extends Zend_Controller_Action $vesamenuView->addScriptPath(APPLICATION_PATH.'/modules/ipxe/views/scripts/resource/'); $vesamenuView->host = $_SERVER['HTTP_HOST']; - // Request Bootmenu - $pbsFilter = new Pbs_Filter(); - $bootmenuID = $pbsFilter->evaluate(); - - if($bootmenuID != null){ - $vesamenuView->alphaID = $this->thisSession->getAlphasessionID(); - - $bootmenuMapper = new Application_Model_BootMenuMapper(); - $bm = $bootmenuMapper->find($bootmenuID); - $vesamenuView->title = $bm->getTitle(); -// $this->view->startcounter = $bm->getStartcounter(); - - $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); - $res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false); - $vesamenuView->bmelist = $res; - - } - else{ - - $vesamenuView->error = "You have no BootMenu."; - } - +// // Request Bootmenu +// $pbsFilter = new Pbs_Filter(); +// $bootmenuID = $pbsFilter->evaluate(); +// +// if($bootmenuID != null){ +// $vesamenuView->alphaID = $this->thisSession->getAlphasessionID(); +// +// $bootmenuMapper = new Application_Model_BootMenuMapper(); +// $bm = $bootmenuMapper->find($bootmenuID); +// $vesamenuView->title = $bm->getTitle(); +//// $this->view->startcounter = $bm->getStartcounter(); +// +// $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); +// $res = $bootmenuentriesMapper->findBy(array('bootmenuID' => $bootmenuID),false); +// $vesamenuView->bmelist = $res; +// +// } +// else{ +// +// $vesamenuView->error = "You have no BootMenu."; +// } +// $vesamenu = $vesamenuView->render('getvesamenu.phtml'); header("Content-Length: ".(strlen($vesamenu))); |
