From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- demos/personal/protected/Common/LoginPortlet.php | 36 ++++++++++++------------ demos/personal/protected/Common/MainMenu.php | 22 +++++++-------- demos/personal/protected/Pages/Layout.php | 12 ++++---- demos/personal/protected/Pages/Register.php | 36 ++++++++++++------------ 4 files changed, 53 insertions(+), 53 deletions(-) (limited to 'demos/personal/protected') diff --git a/demos/personal/protected/Common/LoginPortlet.php b/demos/personal/protected/Common/LoginPortlet.php index 1f5cd4f5..1b93912b 100644 --- a/demos/personal/protected/Common/LoginPortlet.php +++ b/demos/personal/protected/Common/LoginPortlet.php @@ -1,19 +1,19 @@ -Application->getModule('auth'); - if(!$authManager->login($this->Username->Text,$this->Password->Text)) - $param->IsValid=false; - } - - public function loginButtonClicked($sender,$param) - { - if($this->Page->IsValid) - $this->Response->redirect($this->Application->getModule('auth')->getReturnUrl()); - } -} - +Application->getModule('auth'); + if(!$authManager->login($this->Username->Text,$this->Password->Text)) + $param->IsValid=false; + } + + public function loginButtonClicked($sender,$param) + { + if($this->Page->IsValid) + $this->Response->redirect($this->Application->getModule('auth')->getReturnUrl()); + } +} + ?> \ No newline at end of file diff --git a/demos/personal/protected/Common/MainMenu.php b/demos/personal/protected/Common/MainMenu.php index a2334c03..5e1e95c0 100644 --- a/demos/personal/protected/Common/MainMenu.php +++ b/demos/personal/protected/Common/MainMenu.php @@ -1,12 +1,12 @@ -Application->getModule('auth')->logout(); - $this->Response->redirect($this->Service->constructUrl('Home')); - } -} - +Application->getModule('auth')->logout(); + $this->Response->redirect($this->Service->constructUrl('Home')); + } +} + ?> \ No newline at end of file diff --git a/demos/personal/protected/Pages/Layout.php b/demos/personal/protected/Pages/Layout.php index ba96038b..7f5e5802 100644 --- a/demos/personal/protected/Pages/Layout.php +++ b/demos/personal/protected/Pages/Layout.php @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/demos/personal/protected/Pages/Register.php b/demos/personal/protected/Pages/Register.php index b699d859..26f9aa50 100644 --- a/demos/personal/protected/Pages/Register.php +++ b/demos/personal/protected/Pages/Register.php @@ -1,19 +1,19 @@ -IsValid to false if the username is already taken - } - - public function createUser($sender,$param) - { - if($this->IsValid) - { - // create new user account - } - } -} - +IsValid to false if the username is already taken + } + + public function createUser($sender,$param) + { + if($this->IsValid) + { + // create new user account + } + } +} + ?> \ No newline at end of file -- cgit v1.2.3