From a3261bbef2411d3779dee1c186c88a17987163cb Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 18 Jul 2011 16:12:15 +0200 Subject: login test --- .../ipxe/views/scripts/resource/getvesamenu.phtml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'application/modules/ipxe/views/scripts/resource') diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 95da8a0..9e900ae 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -3,8 +3,6 @@ $index = 0; $username = $this->username; $password = $this->password; - echo $username; - echo $password; function title ( $title ) { global $username; @@ -53,13 +51,18 @@ global $username; global $password; - switch ( "$username:$password" ) { - case "test:test": - case "guest:guest": - return 1; - default: - return 0; - } + if($username == "test" && $password == "test") + return 1; + else + return 0; + +// switch ( "$username:$password" ) { +// case "test:test": +// case "guest:guest": +// return 1; +// default: +// return 0; +// } } ?> -- cgit v1.2.3-55-g7522