diff options
author | xue <> | 2005-12-23 03:34:36 +0000 |
---|---|---|
committer | xue <> | 2005-12-23 03:34:36 +0000 |
commit | 5227e60e5c3a3a7ecee5c1f5693dd2dfe3667168 (patch) | |
tree | 69e7b5dce4444956d850c61c6072996b42d622d4 /demos/controls/protected/pages/LoginPage.php | |
parent | 925c51d0b63b61340ef89462e32e5fb784165428 (diff) |
Diffstat (limited to 'demos/controls/protected/pages/LoginPage.php')
-rw-r--r-- | demos/controls/protected/pages/LoginPage.php | 20 |
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 |