summaryrefslogtreecommitdiffstats
path: root/application/modules/ipxe/views
diff options
context:
space:
mode:
authormichael pereira2011-07-19 15:45:24 +0200
committermichael pereira2011-07-19 15:45:24 +0200
commit410f14355ac05a9c2f3cdc53bbbfe24dfb15ee82 (patch)
tree04d96e5031748c17ff5a33bec2ac79947348d348 /application/modules/ipxe/views
parentlogin test (diff)
downloadpbs2-410f14355ac05a9c2f3cdc53bbbfe24dfb15ee82.tar.gz
pbs2-410f14355ac05a9c2f3cdc53bbbfe24dfb15ee82.tar.xz
pbs2-410f14355ac05a9c2f3cdc53bbbfe24dfb15ee82.zip
menu structure
Diffstat (limited to 'application/modules/ipxe/views')
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml8
1 files changed, 7 insertions, 1 deletions
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();
}