diff options
| author | michael pereira | 2011-07-11 03:02:14 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-11 03:02:14 +0200 |
| commit | 0ae9533ca383336e2adef5b7b61e70a19507bcba (patch) | |
| tree | 6cf0a9a78747a033545cc30106bbbd1970ce9c92 | |
| parent | redirect raus (diff) | |
| download | pbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.tar.gz pbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.tar.xz pbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.zip | |
redirect raus
| -rw-r--r-- | application/modules/ipxe/controllers/ResourceController.php | 23 |
1 files changed, 12 insertions, 11 deletions
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{ |
