From fdd0a3ad7b2f9f942b94fde84277529ecae2a3b3 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Wed, 16 Nov 2005 18:41:59 +0000
Subject:
---
.gitattributes | 14 +++++++-------
demos/personal/protected/a/HomePage.php | 21 ++++++++++++++++++++
demos/personal/protected/a/HomePage.tpl | 3 +++
demos/personal/protected/a/Layout.php | 7 +++++++
demos/personal/protected/a/Layout.tpl | 29 ++++++++++++++++++++++++++++
demos/personal/protected/a/LoginPage.php | 15 ++++++++++++++
demos/personal/protected/a/LoginPage.tpl | 7 +++++++
demos/personal/protected/a/config.xml | 8 ++++++++
demos/personal/protected/pages/HomePage.php | 21 --------------------
demos/personal/protected/pages/HomePage.tpl | 3 ---
demos/personal/protected/pages/Layout.php | 7 -------
demos/personal/protected/pages/Layout.tpl | 29 ----------------------------
demos/personal/protected/pages/LoginPage.php | 15 --------------
demos/personal/protected/pages/LoginPage.tpl | 7 -------
demos/personal/protected/pages/config.xml | 8 --------
15 files changed, 97 insertions(+), 97 deletions(-)
create mode 100644 demos/personal/protected/a/HomePage.php
create mode 100644 demos/personal/protected/a/HomePage.tpl
create mode 100644 demos/personal/protected/a/Layout.php
create mode 100644 demos/personal/protected/a/Layout.tpl
create mode 100644 demos/personal/protected/a/LoginPage.php
create mode 100644 demos/personal/protected/a/LoginPage.tpl
create mode 100644 demos/personal/protected/a/config.xml
delete mode 100644 demos/personal/protected/pages/HomePage.php
delete mode 100644 demos/personal/protected/pages/HomePage.tpl
delete mode 100644 demos/personal/protected/pages/Layout.php
delete mode 100644 demos/personal/protected/pages/Layout.tpl
delete mode 100644 demos/personal/protected/pages/LoginPage.php
delete mode 100644 demos/personal/protected/pages/LoginPage.tpl
delete mode 100644 demos/personal/protected/pages/config.xml
diff --git a/.gitattributes b/.gitattributes
index 1e89aa16..1b47e45d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -17,15 +17,15 @@ demos/controls/themes/BlueTheme/buttons.skin -text
demos/controls/themes/BlueTheme/icon_profile.gif -text
demos/controls/themes/BlueTheme/labels.skin -text
demos/personal/index.php -text
+demos/personal/protected/a/HomePage.php -text
+demos/personal/protected/a/HomePage.tpl -text
+demos/personal/protected/a/Layout.php -text
+demos/personal/protected/a/Layout.tpl -text
+demos/personal/protected/a/LoginPage.php -text
+demos/personal/protected/a/LoginPage.tpl -text
+demos/personal/protected/a/config.xml -text
demos/personal/protected/application.xml -text
demos/personal/protected/data/DataModule.php -text
-demos/personal/protected/pages/HomePage.php -text
-demos/personal/protected/pages/HomePage.tpl -text
-demos/personal/protected/pages/Layout.php -text
-demos/personal/protected/pages/Layout.tpl -text
-demos/personal/protected/pages/LoginPage.php -text
-demos/personal/protected/pages/LoginPage.tpl -text
-demos/personal/protected/pages/config.xml -text
demos/personal/themes/BlueTheme/buttons.skin -text
demos/personal/themes/BlueTheme/icon_profile.gif -text
demos/personal/themes/BlueTheme/labels.skin -text
diff --git a/demos/personal/protected/a/HomePage.php b/demos/personal/protected/a/HomePage.php
new file mode 100644
index 00000000..6c69e44b
--- /dev/null
+++ b/demos/personal/protected/a/HomePage.php
@@ -0,0 +1,21 @@
+getUser()->getIsGuest())
+ $this->setTheme('');
+ }
+
+ public function testClick($sender,$param)
+ {
+ if($sender->BackColor==='')
+ $sender->BackColor='blue';
+ else
+ $sender->BackColor='';
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/demos/personal/protected/a/HomePage.tpl b/demos/personal/protected/a/HomePage.tpl
new file mode 100644
index 00000000..9471a9b9
--- /dev/null
+++ b/demos/personal/protected/a/HomePage.tpl
@@ -0,0 +1,3 @@
+