summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/controllers
diff options
context:
space:
mode:
authorSimon2011-04-12 16:16:46 +0200
committerSimon2011-04-12 16:16:46 +0200
commit037330f11b7e0917cd45cb969ea6aedb85605902 (patch)
treee23d90b747c360a09c30db2eafcb3d13fd164120 /application/modules/fbgui/controllers
parentSessionfehler korrigiert (diff)
downloadpbs2-037330f11b7e0917cd45cb969ea6aedb85605902.tar.gz
pbs2-037330f11b7e0917cd45cb969ea6aedb85605902.tar.xz
pbs2-037330f11b7e0917cd45cb969ea6aedb85605902.zip
fbgui logik umgepackt
Diffstat (limited to 'application/modules/fbgui/controllers')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index c874d97..23471a2 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -103,16 +103,8 @@ class Fbgui_IndexController extends Zend_Controller_Action
$session->setBootmenuentryID($bootmenuntryID);
$session->setBootosID($bootmenuentry->getBootosID());
$sessionMapper->save($session);
- echo "<h1>Downloading</h1>";
- echo "<script>\n";
- echo "fbgui.setCallbackOnFinished('foo();');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getkernel/alpha/".$_SESSION['alphasessionID']."/file/kernel');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getinitramfs/alpha/".$_SESSION['alphasessionID']."/file/initramfs');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getkcl/alpha/".$_SESSION['alphasessionID']."/file/kcl');\n";
- echo "function foo(){
- fbgui.quit();
- }";
- echo "</script>";
+
+ $this->view->alphaid = $_SESSION['alphasessionID'];
}