From 5227e60e5c3a3a7ecee5c1f5693dd2dfe3667168 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 23 Dec 2005 03:34:36 +0000
Subject:
---
demos/controls/protected/pages/HomePage.php | 41 -----------
demos/controls/protected/pages/HomePage.tpl | 76 ---------------------
demos/controls/protected/pages/LoginPage.php | 20 ------
demos/controls/protected/pages/LoginPage.tpl | 16 -----
demos/controls/protected/pages/PlainPage.tpl | 6 --
demos/controls/protected/pages/config.xml | 9 ---
demos/controls/protected/pages/fungii_logo.gif | Bin 5473 -> 0 bytes
.../controls/protected/pages/master/MasterPage.php | 7 --
.../controls/protected/pages/master/MasterPage.tpl | 18 -----
.../protected/pages/private/MemberPage.php | 12 ----
.../protected/pages/private/MemberPage.tpl | 13 ----
demos/controls/protected/pages/private/config.xml | 10 ---
12 files changed, 228 deletions(-)
delete mode 100644 demos/controls/protected/pages/HomePage.php
delete mode 100644 demos/controls/protected/pages/HomePage.tpl
delete mode 100644 demos/controls/protected/pages/LoginPage.php
delete mode 100644 demos/controls/protected/pages/LoginPage.tpl
delete mode 100644 demos/controls/protected/pages/PlainPage.tpl
delete mode 100644 demos/controls/protected/pages/config.xml
delete mode 100644 demos/controls/protected/pages/fungii_logo.gif
delete mode 100644 demos/controls/protected/pages/master/MasterPage.php
delete mode 100644 demos/controls/protected/pages/master/MasterPage.tpl
delete mode 100644 demos/controls/protected/pages/private/MemberPage.php
delete mode 100644 demos/controls/protected/pages/private/MemberPage.tpl
delete mode 100644 demos/controls/protected/pages/private/config.xml
(limited to 'demos/controls/protected/pages')
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php
deleted file mode 100644
index 1b513aba..00000000
--- a/demos/controls/protected/pages/HomePage.php
+++ /dev/null
@@ -1,41 +0,0 @@
-User->IsGuest)
- $this->Theme='';
- }
-
- public function onLoad($param)
- {
- parent::onLoad($param);
- if(!$this->IsPostBack)
- {
- //$this->dataBind();
- }
- }
-
- public function testClick($sender,$param)
- {
- if($sender->BackColor==='')
- $sender->BackColor='blue';
- else
- $sender->BackColor='';
- $this->TextBox->focus();
- }
-
- public function clickImage($sender,$param)
- {
- $this->TextBox->Text="You Clicked (".$param->X.", ".$param->Y.")";
- }
-
- public function linkClicked($sender,$param)
- {
- $sender->Text="Hello World";
- }
-}
-
-?>
\ No newline at end of file
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
deleted file mode 100644
index 5d016682..00000000
--- a/demos/controls/protected/pages/HomePage.tpl
+++ /dev/null
@@ -1,76 +0,0 @@
-<%@ MasterClass="Pages.master.MasterPage" Title="Main Page" %>
-
-
-
-
-
Welcome! <%=$this->User->Name %>
-
-
-
-
-
-
-
-
-
- (requires membership)
-
-
-
-
-
- />
-
-
- Click="clickImage"/>
-
- |
-
-
-
-
-
-
-
-
- />
-
-
-
-
-
-
-
-
-
-
-
-<%# $this->Page->TextBox->Text %>
-
-
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/LoginPage.php b/demos/controls/protected/pages/LoginPage.php
deleted file mode 100644
index f29ed540..00000000
--- a/demos/controls/protected/pages/LoginPage.php
+++ /dev/null
@@ -1,20 +0,0 @@
-Application->getModule('auth');
- if($manager->login($this->username->Text,$this->password->Text))
- $this->Application->Response->redirect($this->Application->Request->Items['ReturnUrl']);
- else
- $this->error->Text='login failed';
- }
-
- public function defaultClicked($sender,$param)
- {
- $sender->Text="Clicked";
- }
-}
-
-?>
\ No newline at end of file
diff --git a/demos/controls/protected/pages/LoginPage.tpl b/demos/controls/protected/pages/LoginPage.tpl
deleted file mode 100644
index 0030dfb2..00000000
--- a/demos/controls/protected/pages/LoginPage.tpl
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ MasterClass="Pages.master.MasterPage" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/PlainPage.tpl b/demos/controls/protected/pages/PlainPage.tpl
deleted file mode 100644
index 1238a5fb..00000000
--- a/demos/controls/protected/pages/PlainPage.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-<%@ MasterClass="Pages.master.MasterPage" %>
-
-
-This is a page without explicitly defined page class.
-
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/config.xml b/demos/controls/protected/pages/config.xml
deleted file mode 100644
index ce3ced8a..00000000
--- a/demos/controls/protected/pages/config.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/fungii_logo.gif b/demos/controls/protected/pages/fungii_logo.gif
deleted file mode 100644
index b667c73e..00000000
Binary files a/demos/controls/protected/pages/fungii_logo.gif and /dev/null differ
diff --git a/demos/controls/protected/pages/master/MasterPage.php b/demos/controls/protected/pages/master/MasterPage.php
deleted file mode 100644
index d919e710..00000000
--- a/demos/controls/protected/pages/master/MasterPage.php
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/master/MasterPage.tpl b/demos/controls/protected/pages/master/MasterPage.tpl
deleted file mode 100644
index c2ce8436..00000000
--- a/demos/controls/protected/pages/master/MasterPage.tpl
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demos/controls/protected/pages/private/MemberPage.php b/demos/controls/protected/pages/private/MemberPage.php
deleted file mode 100644
index ecec9e4d..00000000
--- a/demos/controls/protected/pages/private/MemberPage.php
+++ /dev/null
@@ -1,12 +0,0 @@
-Application->getModule('auth')->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
deleted file mode 100644
index 6582aec6..00000000
--- a/demos/controls/protected/pages/private/MemberPage.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<%@ MasterClass="Pages.master.MasterPage" %>
-
-
-
-Congratulations, 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
deleted file mode 100644
index 775590cd..00000000
--- a/demos/controls/protected/pages/private/config.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
--
cgit v1.2.3