summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authormichael pereira2011-07-11 02:41:00 +0200
committermichael pereira2011-07-11 02:41:00 +0200
commite0b58fb561994734671738c5efa7ebfa32f03938 (patch)
tree8b0a95e9a5f20cf08aa1cdaa044164a0863374ce /application/modules
parentredirect raus (diff)
downloadpbs2-e0b58fb561994734671738c5efa7ebfa32f03938.tar.gz
pbs2-e0b58fb561994734671738c5efa7ebfa32f03938.tar.xz
pbs2-e0b58fb561994734671738c5efa7ebfa32f03938.zip
redirect raus
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/ipxe/controllers/ResourceController.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php
index 54a6c89..fef2f10 100644
--- a/application/modules/ipxe/controllers/ResourceController.php
+++ b/application/modules/ipxe/controllers/ResourceController.php
@@ -68,27 +68,27 @@ 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');