summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authormichael pereira2011-09-23 20:15:26 +0200
committermichael pereira2011-09-23 20:15:26 +0200
commit2806755f4b409413b44d79f7145e81ba44e1bb0c (patch)
tree629eb6e838490527727de14abdc1002c20877e6d /application
parentpersonid (diff)
downloadpbs2-2806755f4b409413b44d79f7145e81ba44e1bb0c.tar.gz
pbs2-2806755f4b409413b44d79f7145e81ba44e1bb0c.tar.xz
pbs2-2806755f4b409413b44d79f7145e81ba44e1bb0c.zip
nomembership
Diffstat (limited to 'application')
-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();
}
}