diff options
author | michael pereira | 2011-11-01 22:18:35 +0100 |
---|---|---|
committer | michael pereira | 2011-11-01 22:18:35 +0100 |
commit | ad6a541ed6e4f907570e2fe0dbddffe2d6bd93d5 (patch) | |
tree | 824eabc96601f86af4dbed7ce5fc444d89535611 /application/modules | |
parent | login (diff) | |
download | pbs2-ad6a541ed6e4f907570e2fe0dbddffe2d6bd93d5.tar.gz pbs2-ad6a541ed6e4f907570e2fe0dbddffe2d6bd93d5.tar.xz pbs2-ad6a541ed6e4f907570e2fe0dbddffe2d6bd93d5.zip |
vesamenu
Diffstat (limited to 'application/modules')
-rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 8719b83..f8096b2 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -47,28 +47,28 @@ } function nomembership ($alphaID) { - comment ("failed", "You have no memberships"); + title ("You have no memberships"); uriboot ( "Return to Group Bootmenu", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$alphaID" ); } function retry ($alphaID) { - comment ("failed", "Authentication Failed"); + title ("Authentication Failed"); uriboot ( "Try again", "/ipxe/auth/login/alpha/$alphaID/login/true", "" ); uriboot ( "Return to Group Bootmenu", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$alphaID" ); } function sessionerror ($serialnumber,$mac) { - comment ("failed", "A Session Error occured"); + title ("A Session Error occured"); uriboot ( "Reconnect", "/ipxe/auth/serial/serialnumber/$serialnumber/mac/$mac", "" ); } function serialerror ($serialnumber,$mac) { - comment ("failed", "The Serial was not found. Press Tab to change the Serial or contact an Admin"); + title ("The Serial was not found. Press Tab to change the Serial or contact an Admin"); uriboot ( "Reconnect", "/ipxe/auth/serial/serialnumber/$serialnumber/mac/$mac", "" ); } function nobootmenu () { - comment ("failed", "There are no Bootmenu Entries"); + title ("There are no Bootmenu Entries"); } ?> @@ -117,7 +117,6 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none <?php if(isset($this->error)){ - title ( "An Error occured:" ); switch($this->error){ case "serial": serialerror($this->serialnumber, $this->mac); @@ -138,6 +137,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none uriboot ($membership['group']." as ".$membership['role'], "/ipxe/vesamenu.c32", "/ipxe/auth/setgroup/membershipid/".$membership['membershipID']."/alpha/$this->alphaID"); } comment ("", ""); + comment ("login", "Logged-In as $this->firstname $this->name"); uriboot ( "Logout (Return to Group Bootmenu)", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$this->alphaID" ); }else{ nomembership($this->alphaID); @@ -172,6 +172,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none uriboot ( "Login", "/ipxe/auth/login/alpha/$this->alphaID/login/true", "" ); texthelp("Login to get your own Bootmenu."); }else{ + comment ("login", "Logged-In as $this->firstname $this->name in Group $this->group"); uriboot ( "Switch Group From $this->group", "/ipxe/vesamenu.c32", "/ipxe/auth/switchgroup/alpha/$this->alphaID" ); uriboot ( "Logout (Return to Group Bootmenu)", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$this->alphaID" ); } |