summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml10
1 files changed, 8 insertions, 2 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index c9c835f..776a810 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -36,6 +36,13 @@
echo "ENDTEXT\n";
}
+ function nomembership () {
+ echo "label failed\n";
+ echo " menu label You have no memberships\n";
+ echo " menu disable\n";
+ uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" );
+ }
+
function retry () {
echo "label failed\n";
echo " menu label Authentication Failed\n";
@@ -109,8 +116,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none
}
}else{
- label ("You have no memberships.");
- uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" );
+ nomembership();
}
}