From 410f14355ac05a9c2f3cdc53bbbfe24dfb15ee82 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 19 Jul 2011 15:45:24 +0200 Subject: menu structure --- application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'application/modules/ipxe/views/scripts') diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 7dcb3b8..597c0c2 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -40,7 +40,8 @@ echo "label failed\n"; echo " menu label Authentication Failed\n"; echo " menu disable\n"; - uriboot ( "Try again", "ipxe.php", "" ); + uriboot ( "Try again", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/true", "" ); + uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123", "" ); } function authenticated ($username, $password) { @@ -122,6 +123,11 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none } } + if($this->login == false){ + uriboot ( "Login", "http://$this->host/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/true", "" ); + texthelp("Login to get your own Bootmenu."); + } + localboot(); } -- cgit v1.2.3-55-g7522