TIMEOUT 100 PROMPT 0 DEFAULT host/ipxe/resource/getvesamenu/alpha/$this->alphaID/file/vesamenu.c32\n"; ?> MENU BACKGROUND http://pbs2.mp.openslx.org/media/img/pbs2.png MENU WIDTH 78 MENU MARGIN 9 MENU PASSWORDMARGIN 9 MENU ROWS 10 MENU TABMSGROW 16 MENU CMDLINEROW 16 MENU ENDROW -1 MENU PASSWORDROW 16 MENU TIMEOUTROW 20 MENU HELPMSGROW 16 MENU HELPMSGENDROW -1 MENU HSHIFT 0 MENU VSHIFT 7 #menu color screen 37;40 #80ffffff #00000000 std menu color border 37;40 #00000000 #00000000 std menu color title 1 #ee004a99 #00000000 all menu color unsel 37;40 #ff4f75aa #00000000 all menu color hotkey 1;37;40 #ffff8b00 #ff8093a1 std menu color sel 7;37;40 #ff1c2a33 #667799bb all #menu color hotsel 1;7;37;40 #ffff8b00 #667799bb all #menu color disabled 1;37;40 #ffff8b00 #ff8093a1 std #menu color scrollbar 37;40 #40000000 #ee000000 std #menu color tabmsg 37;40 #ffff8b00 #ff8093a1 std #menu color cmdmark 1;37;40 #ffff8b00 #ff8093a1 std #menu color cmdline 37;40 #fff0f0f0 #ff8093a1 std #menu color pwdborder 37;40 #40000000 #ff8093a1 std #menu color pwdheader 37;40 #ffff8b00 #ff8093a1 std #menu color pwdentry 37;40 #ffff8b00 #ff8093a1 std #menu color timeout_msg 37;40 #fff0f0f0 #ff8093a1 std #menu color timeout 1;37;40 #ffff8b00 #ff8093a1 std #menu color help 37;40 #ff1c2a33 #00000000 none MENU MSGCOLOR #ff1c2a33 #00000000 none error)){ title ( $this->title ); }else{ title($this->error); } if ($this->login && !authenticated($this->username, $this->password)) { retry(); } else { $bootosmapper = new Application_Model_BootOsMapper(); if(isset($this->bmelist)){ foreach($this->bmelist as $bme){ $kcl = $bootosmapper->find($bme->getBootosID())->getDefaultkcl(); if($bme->getKcl() && $kcl != null){ uriboot ( $bme->getTitle(), "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 $kcl alpha=$this->alphaID file=http://$this->host/c/$this->alphaID/default.tgz ".$bme->getKclappend()); }else{ uriboot ( $bme->getTitle(), "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()); } } if($this->login) uriboot ( "Return to Group Bootmenu", "/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/false", "" ); } if(!$this->login){ uriboot ( "Login", "http://$this->host/ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123/login/true", "" ); texthelp("Login to get your own Bootmenu."); } localboot(); } ?>