summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/controllers
diff options
context:
space:
mode:
authormichael pereira2011-07-11 03:02:14 +0200
committermichael pereira2011-07-11 03:02:14 +0200
commit0ae9533ca383336e2adef5b7b61e70a19507bcba (patch)
tree6cf0a9a78747a033545cc30106bbbd1970ce9c92 /application/modules/ipxe/controllers
parentredirect raus (diff)
downloadpbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.tar.gz
pbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.tar.xz
pbs2-0ae9533ca383336e2adef5b7b61e70a19507bcba.zip
redirect raus
Diffstat (limited to 'application/modules/ipxe/controllers')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php23
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{