From c968872380db2d7641c0cd9d07edd845b10f43a4 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 24 Dec 2005 23:11:04 +0000 Subject: --- demos/personal/protected/Pages/HomePage.php | 21 --------------------- demos/personal/protected/Pages/HomePage.tpl | 3 --- demos/personal/protected/Pages/LoginPage.php | 15 --------------- demos/personal/protected/Pages/LoginPage.tpl | 7 ------- 4 files changed, 46 deletions(-) delete mode 100644 demos/personal/protected/Pages/HomePage.php delete mode 100644 demos/personal/protected/Pages/HomePage.tpl delete mode 100644 demos/personal/protected/Pages/LoginPage.php delete mode 100644 demos/personal/protected/Pages/LoginPage.tpl (limited to 'demos') diff --git a/demos/personal/protected/Pages/HomePage.php b/demos/personal/protected/Pages/HomePage.php deleted file mode 100644 index 6c69e44b..00000000 --- a/demos/personal/protected/Pages/HomePage.php +++ /dev/null @@ -1,21 +0,0 @@ -getUser()->getIsGuest()) - $this->setTheme(''); - } - - public function testClick($sender,$param) - { - if($sender->BackColor==='') - $sender->BackColor='blue'; - else - $sender->BackColor=''; - } -} - -?> \ No newline at end of file diff --git a/demos/personal/protected/Pages/HomePage.tpl b/demos/personal/protected/Pages/HomePage.tpl deleted file mode 100644 index 9471a9b9..00000000 --- a/demos/personal/protected/Pages/HomePage.tpl +++ /dev/null @@ -1,3 +0,0 @@ - -main content - \ No newline at end of file diff --git a/demos/personal/protected/Pages/LoginPage.php b/demos/personal/protected/Pages/LoginPage.php deleted file mode 100644 index 3b5cc3f9..00000000 --- a/demos/personal/protected/Pages/LoginPage.php +++ /dev/null @@ -1,15 +0,0 @@ -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'; - } -} - -?> \ No newline at end of file diff --git a/demos/personal/protected/Pages/LoginPage.tpl b/demos/personal/protected/Pages/LoginPage.tpl deleted file mode 100644 index 588b8f6a..00000000 --- a/demos/personal/protected/Pages/LoginPage.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -Username:
-Password:
- - -
- -- cgit v1.2.3