summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/LoginPage.php
diff options
context:
space:
mode:
authorxue <>2005-12-23 03:34:36 +0000
committerxue <>2005-12-23 03:34:36 +0000
commit5227e60e5c3a3a7ecee5c1f5693dd2dfe3667168 (patch)
tree69e7b5dce4444956d850c61c6072996b42d622d4 /demos/controls/protected/pages/LoginPage.php
parent925c51d0b63b61340ef89462e32e5fb784165428 (diff)
Diffstat (limited to 'demos/controls/protected/pages/LoginPage.php')
-rw-r--r--demos/controls/protected/pages/LoginPage.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/demos/controls/protected/pages/LoginPage.php b/demos/controls/protected/pages/LoginPage.php
deleted file mode 100644
index f29ed540..00000000
--- a/demos/controls/protected/pages/LoginPage.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-class LoginPage extends TPage
-{
- public function login($sender,$param)
- {
- $manager=$this->Application->getModule('auth');
- if($manager->login($this->username->Text,$this->password->Text))
- $this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']);
- else
- $this->error->Text='login failed';
- }
-
- public function defaultClicked($sender,$param)
- {
- $sender->Text="Clicked";
- }
-}
-
-?> \ No newline at end of file