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 +++++++-------- 2 files changed, 29 insertions(+), 29 deletions(-) (limited to 'demos/personal/protected/Common') 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 -- cgit v1.2.3