From 56491fae7a03f5e3e6d1b50fbf00b31f89e9355a Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Tue, 26 Jun 2012 15:19:40 +0200 Subject: relative urls removed from vesamenu --- .../ipxe/views/scripts/resource/getvesamenu.phtml | 18 +++++++++--------- 1 file 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(); -- cgit v1.2.3-55-g7522