diff options
| author | michael pereira | 2011-07-20 00:06:35 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-20 00:06:35 +0200 |
| commit | 5e8a37824feb6f39cba0a08a8a7e3d660799074b (patch) | |
| tree | 07dca7bfbef00400b862e531e9e875516ffc8201 /application | |
| parent | menu structire (diff) | |
| download | pbs2-5e8a37824feb6f39cba0a08a8a7e3d660799074b.tar.gz pbs2-5e8a37824feb6f39cba0a08a8a7e3d660799074b.tar.xz pbs2-5e8a37824feb6f39cba0a08a8a7e3d660799074b.zip | |
menu structire
Diffstat (limited to 'application')
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 2 | ||||
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 36a170b..b7e9a1f 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -70,7 +70,7 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\n"; $result .= "imgfree\n"; - if(isset($login)){ + if($login == 'true'){ $result .= "login\n"; $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true"; }else{ diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 8aedbe4..fed9aa3 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -121,6 +121,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none "http://$this->host/ipxe/resource/getkernel/alpha/$this->alphaID/bme/".$bme->getID()."/file/kernel", "initrd=http://$this->host/ipxe/resource/getinitramfs/alpha/$this->alphaID/bme/".$bme->getID()."/file/initramfs alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend()); } } + uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" ); } if($this->login == 'false'){ |
