summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael pereira2011-10-28 13:09:27 +0200
committermichael pereira2011-10-28 13:09:27 +0200
commitd9c207add93fd870460c7247dbf3aac37c5e78ba (patch)
treed9d2e92d232ab37ebf36ea2afb0a6f82a1189d4b
parentlogin (diff)
downloadpbs2-d9c207add93fd870460c7247dbf3aac37c5e78ba.tar.gz
pbs2-d9c207add93fd870460c7247dbf3aac37c5e78ba.tar.xz
pbs2-d9c207add93fd870460c7247dbf3aac37c5e78ba.zip
login
-rw-r--r--application/modules/ipxe/controllers/AuthController.php3
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml12
2 files changed, 7 insertions, 8 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index abbd21a..ce6de85 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -123,8 +123,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
}
if(!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])){
- header('WWW-Authenticate: Basic realm=""');
- header('HTTP/1.0 401 Unauthorized');
+ header('Content-Type: text/plain');
$result .= "imgfree\n";
$result .= "module http://".$_SERVER['HTTP_HOST']."/ipxe/auth/login/alpha/".$alpha."/error/login\n";
header("Content-Length: ".(strlen($result)));
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index d7f9193..f07fb6a 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -69,7 +69,7 @@
?>
-TIMEOUT 1000
+TIMEOUT 100
PROMPT 0
DEFAULT /ipxe/vesamenu.c32
@@ -91,11 +91,11 @@ MENU VSHIFT 7
#menu color screen 37;40 #80ffffff #00000000 std
menu color border 37;40 #00000000 #00000000 std
menu color title 1 #ee004a99 #00000000 all
-menu color unsel 37;40 #ff004a99 #00000000 all
-menu color hotkey 1;37;40 #ff004a99 #00000000 std
-menu color sel 7;37;40 #00000000 #ff004a99 all
-menu color hotsel 1;7;37;40 #00000000 #ff004a99 all
-menu color disabled 1;37;40 #00000000 #ff004a99 std
+menu color unsel 37;40 #ff4f75aa #00000000 all
+menu color hotkey 1;37;40 #ffff8b00 #00000000 std
+menu color sel 7;37;40 #ff1c2a33 #667799bb all
+#menu color hotsel 1;7;37;40 #ffff8b00 #667799bb all
+#menu color disabled 1;37;40 #ffff8b00 #ff8093a1 std
#menu color scrollbar 37;40 #40000000 #ee000000 std
#menu color tabmsg 37;40 #ffff8b00 #ff8093a1 std
#menu color cmdmark 1;37;40 #ffff8b00 #ff8093a1 std