From 0ae9533ca383336e2adef5b7b61e70a19507bcba Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 11 Jul 2011 03:02:14 +0200 Subject: redirect raus --- .../ipxe/controllers/ResourceController.php | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'application/modules') diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index 83e3245..1b00b65 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -71,18 +71,19 @@ class Ipxe_ResourceController extends Zend_Controller_Action // Request Bootmenu // $pbsFilter = new Pbs_Filter(); // $bootmenuID = $pbsFilter->evaluate(); - + + $bootmenuID = 2; 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; + $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{ -- cgit v1.2.3-55-g7522