summaryrefslogtreecommitdiff
path: root/demos/personal/protected/Pages
diff options
context:
space:
mode:
Diffstat (limited to 'demos/personal/protected/Pages')
-rw-r--r--demos/personal/protected/Pages/Layout.php12
-rw-r--r--demos/personal/protected/Pages/Register.php36
2 files changed, 24 insertions, 24 deletions
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 @@
-<?php
-
-class Layout extends TTemplateControl
-{
-}
-
+<?php
+
+class Layout extends TTemplateControl
+{
+}
+
?> \ 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 @@
-<?php
-
-class Register extends TPage
-{
- public function checkUsername($sender,$param)
- {
- // set $param->IsValid to false if the username is already taken
- }
-
- public function createUser($sender,$param)
- {
- if($this->IsValid)
- {
- // create new user account
- }
- }
-}
-
+<?php
+
+class Register extends TPage
+{
+ public function checkUsername($sender,$param)
+ {
+ // set $param->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