From 749dec2fcae7b8cdd86ecc923b1af3abfadbcde2 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Wed, 16 Nov 2005 13:33:17 +0000
Subject:
---
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 | 27 +++++++++++++++++++++++++++
demos/personal/protected/pages/LoginPage.php | 15 +++++++++++++++
demos/personal/protected/pages/LoginPage.tpl | 7 +++++++
demos/personal/protected/pages/config.xml | 8 ++++++++
7 files changed, 88 insertions(+)
create mode 100644 demos/personal/protected/pages/HomePage.php
create mode 100644 demos/personal/protected/pages/HomePage.tpl
create mode 100644 demos/personal/protected/pages/Layout.php
create mode 100644 demos/personal/protected/pages/Layout.tpl
create mode 100644 demos/personal/protected/pages/LoginPage.php
create mode 100644 demos/personal/protected/pages/LoginPage.tpl
create mode 100644 demos/personal/protected/pages/config.xml
(limited to 'demos/personal/protected/pages')
diff --git a/demos/personal/protected/pages/HomePage.php b/demos/personal/protected/pages/HomePage.php
new file mode 100644
index 00000000..6c69e44b
--- /dev/null
+++ b/demos/personal/protected/pages/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/pages/HomePage.tpl b/demos/personal/protected/pages/HomePage.tpl
new file mode 100644
index 00000000..9471a9b9
--- /dev/null
+++ b/demos/personal/protected/pages/HomePage.tpl
@@ -0,0 +1,3 @@
+