From 55c4ac1bfe565f1ca7f537fdd8b7a201be28e581 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Thu, 10 Nov 2005 12:47:19 +0000
Subject: Initial import of prado framework
---
demos/controls/protected/pages/private/MemberPage.php | 12 ++++++++++++
demos/controls/protected/pages/private/MemberPage.tpl | 8 ++++++++
demos/controls/protected/pages/private/config.xml | 10 ++++++++++
3 files changed, 30 insertions(+)
create mode 100644 demos/controls/protected/pages/private/MemberPage.php
create mode 100644 demos/controls/protected/pages/private/MemberPage.tpl
create mode 100644 demos/controls/protected/pages/private/config.xml
(limited to 'demos/controls/protected/pages/private')
diff --git a/demos/controls/protected/pages/private/MemberPage.php b/demos/controls/protected/pages/private/MemberPage.php
new file mode 100644
index 00000000..61fd113d
--- /dev/null
+++ b/demos/controls/protected/pages/private/MemberPage.php
@@ -0,0 +1,12 @@
+Application->AuthManager->logout();
+ $this->Application->Response->redirect($this->Application->Service->constructUrl('home'));
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/demos/controls/protected/pages/private/MemberPage.tpl b/demos/controls/protected/pages/private/MemberPage.tpl
new file mode 100644
index 00000000..cf92f22c
--- /dev/null
+++ b/demos/controls/protected/pages/private/MemberPage.tpl
@@ -0,0 +1,8 @@
+
+Congratulations, Application->User->Name%> />!
+<%=
+ $this->Application->User->Name;
+%>
+You have reached this member-only area.
+
+
\ No newline at end of file
diff --git a/demos/controls/protected/pages/private/config.xml b/demos/controls/protected/pages/private/config.xml
new file mode 100644
index 00000000..ecfb6b00
--- /dev/null
+++ b/demos/controls/protected/pages/private/config.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3