summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/controllers
diff options
context:
space:
mode:
authormichael pereira2011-04-12 16:39:18 +0200
committermichael pereira2011-04-12 16:39:18 +0200
commitef0d7eaca3b82c5abf2e06fd94ffcf3a9c749e2b (patch)
treed802c27bbd572dab75cb49fe2307abfba24d70b2 /application/modules/fbgui/controllers
parentResource controller fix (diff)
parentRechte können nun wieder bei Rollen hinzugefügt und gelöscht werden, alle ... (diff)
downloadpbs2-ef0d7eaca3b82c5abf2e06fd94ffcf3a9c749e2b.tar.gz
pbs2-ef0d7eaca3b82c5abf2e06fd94ffcf3a9c749e2b.tar.xz
pbs2-ef0d7eaca3b82c5abf2e06fd94ffcf3a9c749e2b.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/fbgui/controllers')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index c874d97..450dd14 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -103,16 +103,9 @@ 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->host = '132.230.4.27';
+ $this->view->alphaid = $_SESSION['alphasessionID'];
}