diff options
author | Michael Neves | 2012-06-26 15:19:40 +0200 |
---|---|---|
committer | Michael Neves | 2012-06-26 15:19:40 +0200 |
commit | 56491fae7a03f5e3e6d1b50fbf00b31f89e9355a (patch) | |
tree | e108fca6a73deb97a5f835fb7d03b0cd8b7ad28a | |
parent | http for vesamenu (diff) | |
download | pbs2-56491fae7a03f5e3e6d1b50fbf00b31f89e9355a.tar.gz pbs2-56491fae7a03f5e3e6d1b50fbf00b31f89e9355a.tar.xz pbs2-56491fae7a03f5e3e6d1b50fbf00b31f89e9355a.zip |
relative urls removed from vesamenu
-rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 8c3c530..88be86f 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -48,23 +48,23 @@ function nomembership ($alphaID) { title ("You have no memberships"); - uriboot ( "Return to Group Bootmenu", "/ipxe/auth/logout/alpha/$alphaID", "" ); + uriboot ( "Return to Group Bootmenu", "$this->httpmode://$this->host/ipxe/auth/logout/alpha/$alphaID", "" ); } function retry ($alphaID) { title ("Authentication Failed"); - uriboot ( "Try again", "/ipxe/auth/login/alpha/$alphaID/login/true", "" ); - uriboot ( "Return to Group Bootmenu", "/ipxe/auth/logout/alpha/$alphaID", "" ); + uriboot ( "Try again", "$this->httpmode://$this->host/ipxe/auth/login/alpha/$alphaID/login/true", "" ); + uriboot ( "Return to Group Bootmenu", "$this->httpmode://$this->host/ipxe/auth/logout/alpha/$alphaID", "" ); } function sessionerror ($serialnumber,$mac) { title ("A Session Error occured"); - uriboot ( "Reconnect", "/ipxe/auth/serial/serialnumber/$serialnumber/mac/$mac", "" ); + uriboot ( "Reconnect", "$this->httpmode://$this->host/ipxe/auth/serial/serialnumber/$serialnumber/mac/$mac", "" ); } function serialerror ($serialnumber,$mac) { 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", "" ); + uriboot ( "Reconnect", "$this->httpmode://$this->host/ipxe/auth/serial/serialnumber/$serialnumber/mac/$mac", "" ); } function nobootmenu () { @@ -138,11 +138,11 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none title ( "Select Membership:" ); if(isset($this->memberships)){ foreach($this->memberships as $membership){ - uriboot ($membership['group']." as ".$membership['role'], "/ipxe/auth/setgroup/membershipid/".$membership['membershipID']."/alpha/$this->alphaID", ""); + uriboot ($membership['group']." as ".$membership['role'], "$this->httpmode://$this->host/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/auth/logout/alpha/$this->alphaID", ""); + uriboot ( "Logout (Return to Group Bootmenu)", "$this->httpmode://$this->host/ipxe/auth/logout/alpha/$this->alphaID", ""); }else{ nomembership($this->alphaID); } @@ -177,8 +177,8 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none 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/auth/switchgroup/alpha/$this->alphaID", "" ); - uriboot ( "Logout (Return to Group Bootmenu)", "/ipxe/auth/logout/alpha/$this->alphaID", "" ); + uriboot ( "Switch Group From $this->group", "$this->httpmode://$this->host/ipxe/auth/switchgroup/alpha/$this->alphaID", "" ); + uriboot ( "Logout (Return to Group Bootmenu)", "$this->httpmode://$this->host/ipxe/auth/logout/alpha/$this->alphaID", "" ); } localboot(); |