From 28f69400fcb8ee74a2ea4bbf81afa00c1e6d5263 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Wed, 16 Nov 2005 18:42:57 +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 | 29 ++++++++++++++++++++++++++++
demos/personal/protected/Pages/LoginPage.php | 15 ++++++++++++++
demos/personal/protected/Pages/LoginPage.tpl | 7 +++++++
demos/personal/protected/Pages/config.xml | 8 ++++++++
7 files changed, 90 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 @@
+