summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Common
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /demos/personal/protected/Common
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'demos/personal/protected/Common')
-rw-r--r--demos/personal/protected/Common/LoginPortlet.php36
-rw-r--r--demos/personal/protected/Common/MainMenu.php22
2 files changed, 29 insertions, 29 deletions
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 @@
-<?php
-
-class LoginPortlet extends TTemplateControl
-{
- public function validateUser($sender,$param)
- {
- $authManager=$this->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());
- }
-}
-
+<?php
+
+class LoginPortlet extends TTemplateControl
+{
+ public function validateUser($sender,$param)
+ {
+ $authManager=$this->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 @@
-<?php
-
-class MainMenu extends TTemplateControl
-{
- public function logout($sender,$param)
- {
- $this->Application->getModule('auth')->logout();
- $this->Response->redirect($this->Service->constructUrl('Home'));
- }
-}
-
+<?php
+
+class MainMenu extends TTemplateControl
+{
+ public function logout($sender,$param)
+ {
+ $this->Application->getModule('auth')->logout();
+ $this->Response->redirect($this->Service->constructUrl('Home'));
+ }
+}
+
?> \ No newline at end of file