From 6996ec06c1aa037eba0fbdb0f08e88266e0214b5 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Mon, 25 Jun 2012 17:19:13 +0200 Subject: ipxe filder --- .../modules/ipxe/controllers/ResourceController.php | 8 ++++++++ .../ipxe/views/scripts/resource/getvesamenu.phtml | 6 +++++- public/ipxe/cmd.c32 | Bin 0 -> 800 bytes public/ipxe/gpxecmd.c32 | Bin 0 -> 2320 bytes public/ipxe/pbs2.png | Bin 0 -> 20132 bytes public/ipxe/pxelinux.0 | Bin 0 -> 26442 bytes public/ipxe/vesamenu.c32 | Bin 0 -> 147996 bytes 7 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 public/ipxe/cmd.c32 create mode 100755 public/ipxe/gpxecmd.c32 create mode 100755 public/ipxe/pbs2.png create mode 100755 public/ipxe/pxelinux.0 create mode 100755 public/ipxe/vesamenu.c32 diff --git a/application/modules/ipxe/controllers/ResourceController.php b/application/modules/ipxe/controllers/ResourceController.php index e4a5d5b..3c1ce3a 100644 --- a/application/modules/ipxe/controllers/ResourceController.php +++ b/application/modules/ipxe/controllers/ResourceController.php @@ -61,6 +61,14 @@ class Ipxe_ResourceController extends Zend_Controller_Action { $vesamenuView->host = $_SERVER['HTTP_HOST']; $vesamenuView->error = $this->_request->getParam('error'); + if(isset($_SERVER['HTTPS'])) + { + if ($_SERVER['HTTPS'] == 'on') + $vesamenuView->ssl = true; + else + $vesamenuView->ssl = false; + } + if (isset($this->session)) { $vesamenuView->alphaID = $this->session->getAlphasessionID(); diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 1098789..75b2a4f 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -79,7 +79,11 @@ PROMPT 0 DEFAULT /ipxe/vesamenu.c32 -MENU BACKGROUND /ipxe/pbs2.png +ssl) + echo "MENU BACKGROUND /ipxe/pbs2ssl.png\n"; + else + echo "MENU BACKGROUND /ipxe/pbs2.png\n";?> + MENU WIDTH 78 MENU MARGIN 9 MENU PASSWORDMARGIN 9 diff --git a/public/ipxe/cmd.c32 b/public/ipxe/cmd.c32 new file mode 100755 index 0000000..36afa3d Binary files /dev/null and b/public/ipxe/cmd.c32 differ diff --git a/public/ipxe/gpxecmd.c32 b/public/ipxe/gpxecmd.c32 new file mode 100755 index 0000000..4265824 Binary files /dev/null and b/public/ipxe/gpxecmd.c32 differ diff --git a/public/ipxe/pbs2.png b/public/ipxe/pbs2.png new file mode 100755 index 0000000..602a983 Binary files /dev/null and b/public/ipxe/pbs2.png differ diff --git a/public/ipxe/pxelinux.0 b/public/ipxe/pxelinux.0 new file mode 100755 index 0000000..3430ff2 Binary files /dev/null and b/public/ipxe/pxelinux.0 differ diff --git a/public/ipxe/vesamenu.c32 b/public/ipxe/vesamenu.c32 new file mode 100755 index 0000000..f348094 Binary files /dev/null and b/public/ipxe/vesamenu.c32 differ -- cgit v1.2.3-55-g7522