summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages/UserLogin.php
diff options
context:
space:
mode:
authorxue <>2007-02-09 19:04:17 +0000
committerxue <>2007-02-09 19:04:17 +0000
commit919e35523088caaa10084b828b40882562bb4607 (patch)
tree44282ca11a9e90ef78bab58d3cf9fdc3d6fae06c /demos/personal/protected/Pages/UserLogin.php
parent8d156610be187427d43f4d033b258f060f8968ad (diff)
reorganize personal demo.
Diffstat (limited to 'demos/personal/protected/Pages/UserLogin.php')
-rw-r--r--demos/personal/protected/Pages/UserLogin.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/demos/personal/protected/Pages/UserLogin.php b/demos/personal/protected/Pages/UserLogin.php
deleted file mode 100644
index ce653179..00000000
--- a/demos/personal/protected/Pages/UserLogin.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-class UserLogin extends TPage
-{
- public function login($sender,$param)
- {
- $manager=$this->Application->getModule('auth');
- if(!$manager->login($this->Username->Text,$this->Password->Text))
- $param->IsValid=false;
- }
-
- public function onLoadComplete($param)
- {
- parent::onLoadComplete($param);
- if($this->IsPostBack && $this->IsValid)
- $this->Response->redirect($this->Application->getModule('auth')->getReturnUrl());
- }
-}
-
-?> \ No newline at end of file