diff options
| author | michael pereira | 2011-07-18 16:12:15 +0200 |
|---|---|---|
| committer | michael pereira | 2011-07-18 16:12:15 +0200 |
| commit | a3261bbef2411d3779dee1c186c88a17987163cb (patch) | |
| tree | bdf4a353aa03707c239e4640a4ab8c582f70cdc3 /application/modules/ipxe/views/scripts | |
| parent | login test (diff) | |
| download | pbs2-a3261bbef2411d3779dee1c186c88a17987163cb.tar.gz pbs2-a3261bbef2411d3779dee1c186c88a17987163cb.tar.xz pbs2-a3261bbef2411d3779dee1c186c88a17987163cb.zip | |
login test
Diffstat (limited to 'application/modules/ipxe/views/scripts')
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 21 |
1 files changed, 12 insertions, 9 deletions
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; +// } } ?> |
