summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes2
-rw-r--r--demos/personal/protected/Pages/Home.php7
-rw-r--r--demos/personal/protected/Pages/UserLogin.php20
3 files changed, 0 insertions, 29 deletions
diff --git a/.gitattributes b/.gitattributes
index 84300509..148ed720 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -784,7 +784,6 @@ demos/personal/protected/Common/MainMenu.php -text
demos/personal/protected/Common/MainMenu.tpl -text
demos/personal/protected/Pages/Albums.page -text
demos/personal/protected/Pages/Home.page -text
-demos/personal/protected/Pages/Home.php -text
demos/personal/protected/Pages/Layout.php -text
demos/personal/protected/Pages/Layout.tpl -text
demos/personal/protected/Pages/Links.page -text
@@ -793,7 +792,6 @@ demos/personal/protected/Pages/Register.php -text
demos/personal/protected/Pages/Resume.page -text
demos/personal/protected/Pages/Settings.page -text
demos/personal/protected/Pages/UserLogin.page -text
-demos/personal/protected/Pages/UserLogin.php -text
demos/personal/protected/Pages/config.xml -text
demos/personal/protected/application.xml -text
demos/personal/themes/BlueTheme/buttons.skin -text
diff --git a/demos/personal/protected/Pages/Home.php b/demos/personal/protected/Pages/Home.php
deleted file mode 100644
index badbca73..00000000
--- a/demos/personal/protected/Pages/Home.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-class Home extends TPage
-{
-}
-
-?> \ No newline at end of file
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