From 5227e60e5c3a3a7ecee5c1f5693dd2dfe3667168 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 23 Dec 2005 03:34:36 +0000 Subject: --- demos/controls/index.php | 8 --- demos/controls/protected/application.xml | 33 --------- 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 --- demos/controls/protected/userFile.xml | 5 -- demos/controls/themes/BlueTheme/buttons.skin | 3 - demos/controls/themes/BlueTheme/icon_profile.gif | Bin 771 -> 0 bytes demos/controls/themes/BlueTheme/labels.skin | 2 - demos/controls/themes/BlueTheme/simple.css | 1 - 19 files changed, 280 deletions(-) delete mode 100644 demos/controls/index.php delete mode 100644 demos/controls/protected/application.xml 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 delete mode 100644 demos/controls/protected/userFile.xml delete mode 100644 demos/controls/themes/BlueTheme/buttons.skin delete mode 100644 demos/controls/themes/BlueTheme/icon_profile.gif delete mode 100644 demos/controls/themes/BlueTheme/labels.skin delete mode 100644 demos/controls/themes/BlueTheme/simple.css (limited to 'demos') diff --git a/demos/controls/index.php b/demos/controls/index.php deleted file mode 100644 index 95d06df0..00000000 --- a/demos/controls/index.php +++ /dev/null @@ -1,8 +0,0 @@ -run(); - -?> \ No newline at end of file diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml deleted file mode 100644 index 20c84e3f..00000000 --- a/demos/controls/protected/application.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - foo@foo.com - - \ No newline at end of file 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 diff --git a/demos/controls/protected/userFile.xml b/demos/controls/protected/userFile.xml deleted file mode 100644 index b5d02df0..00000000 --- a/demos/controls/protected/userFile.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/demos/controls/themes/BlueTheme/buttons.skin b/demos/controls/themes/BlueTheme/buttons.skin deleted file mode 100644 index 8db810bc..00000000 --- a/demos/controls/themes/BlueTheme/buttons.skin +++ /dev/null @@ -1,3 +0,0 @@ - - - /> \ No newline at end of file diff --git a/demos/controls/themes/BlueTheme/icon_profile.gif b/demos/controls/themes/BlueTheme/icon_profile.gif deleted file mode 100644 index 7ae1cdb8..00000000 Binary files a/demos/controls/themes/BlueTheme/icon_profile.gif and /dev/null differ diff --git a/demos/controls/themes/BlueTheme/labels.skin b/demos/controls/themes/BlueTheme/labels.skin deleted file mode 100644 index 64a8c469..00000000 --- a/demos/controls/themes/BlueTheme/labels.skin +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/demos/controls/themes/BlueTheme/simple.css b/demos/controls/themes/BlueTheme/simple.css deleted file mode 100644 index 22df4a9e..00000000 --- a/demos/controls/themes/BlueTheme/simple.css +++ /dev/null @@ -1 +0,0 @@ -body {background-color: silver;} \ No newline at end of file -- cgit v1.2.3