From 4ed0f6e7c0f2efa7525b1d9ad95e29fe2ce6dcdb Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 28 Dec 2005 16:03:34 +0000 Subject: --- demos/quickstart/protected/application.xml | 4 ++ demos/quickstart/protected/controls/Layout.php | 15 ++++ demos/quickstart/protected/controls/Layout.tpl | 39 ++++++++++ demos/quickstart/protected/controls/TopicList.php | 8 +++ demos/quickstart/protected/controls/TopicList.tpl | 79 +++++++++++++++++++++ .../protected/pages/Controls/Overview.page | 8 +-- .../protected/pages/Controls/Simple.page | 14 ++++ .../protected/pages/Fundamentals/objectdiagram.gif | Bin 6139 -> 8129 bytes .../protected/pages/Fundamentals/objectdiagram.vsd | Bin 148992 -> 156672 bytes demos/quickstart/protected/pages/TopicList.tpl | 5 +- demos/quickstart/protected/pages/config.xml | 2 +- 11 files changed, 163 insertions(+), 11 deletions(-) create mode 100644 demos/quickstart/protected/controls/Layout.php create mode 100644 demos/quickstart/protected/controls/Layout.tpl create mode 100644 demos/quickstart/protected/controls/TopicList.php create mode 100644 demos/quickstart/protected/controls/TopicList.tpl create mode 100644 demos/quickstart/protected/pages/Controls/Simple.page (limited to 'demos') diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml index f028b9b7..0091ec5f 100644 --- a/demos/quickstart/protected/application.xml +++ b/demos/quickstart/protected/application.xml @@ -1,6 +1,10 @@ + + + + diff --git a/demos/quickstart/protected/controls/Layout.php b/demos/quickstart/protected/controls/Layout.php new file mode 100644 index 00000000..a82d2fff --- /dev/null +++ b/demos/quickstart/protected/controls/Layout.php @@ -0,0 +1,15 @@ +TopicPanel->Visible=!$this->TopicPanel->Visible; + if($this->TopicPanel->Visible) + $sender->Text="Hide TOC"; + else + $sender->Text="Show TOC"; + } +} + +?> \ No newline at end of file diff --git a/demos/quickstart/protected/controls/Layout.tpl b/demos/quickstart/protected/controls/Layout.tpl new file mode 100644 index 00000000..4382c787 --- /dev/null +++ b/demos/quickstart/protected/controls/Layout.tpl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+ + + +
+ + \ No newline at end of file diff --git a/demos/quickstart/protected/controls/TopicList.php b/demos/quickstart/protected/controls/TopicList.php new file mode 100644 index 00000000..ce827cc0 --- /dev/null +++ b/demos/quickstart/protected/controls/TopicList.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/demos/quickstart/protected/controls/TopicList.tpl b/demos/quickstart/protected/controls/TopicList.tpl new file mode 100644 index 00000000..35c062d2 --- /dev/null +++ b/demos/quickstart/protected/controls/TopicList.tpl @@ -0,0 +1,79 @@ +
+ + + + + + + + + + + + + + + + + +
+Performance
+Caching
+Performance Tuning
+
+ +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Overview.page b/demos/quickstart/protected/pages/Controls/Overview.page index da16d170..03b4a2a2 100644 --- a/demos/quickstart/protected/pages/Controls/Overview.page +++ b/demos/quickstart/protected/pages/Controls/Overview.page @@ -1,13 +1,7 @@

Controls Overview

-A control is an instance of class TControl or its subclass. A control is a component defined in addition with user interface. The base class TControl defines the parent-child relationship among controls which reflects the containment relationship among user interface elements. -

-

-Control classes constitute one of the major part of PRADO framework. Nearly every generic HTML element can find its representation in terms of a PRADO control. Mastering these controls becomes extremely important to effectively and efficiently compose applications using PRADO. -

-

-In this section, we will first introduce the ...., then.... +Control are components defined in addition with user interface. Control classes constitute a major part of the PRADO framework. Nearly every generic HTML element can find its representation in terms of a PRADO control. Mastering these controls becomes extremely important for developers to compose effectively and efficiently applications using PRADO.

To be continued... diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page new file mode 100644 index 00000000..dc2e768d --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Simple.page @@ -0,0 +1,14 @@ + + +

Simple HTML Controls

+ +

TLabel

+

+TLabel displays a piece of text on a Web page. The text to be displayed is set via its Text property. If Text is empty, content enclosed within the TLabel component tag will be displayed. TLabel may also be used a form label associated with some control on the form. Text is not HTML-encoded when being rendered. Make sure it does not contain dangerous characters that you want to avoid. +

+ + +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Fundamentals/objectdiagram.gif b/demos/quickstart/protected/pages/Fundamentals/objectdiagram.gif index 2a6e25c1..ac99faca 100644 Binary files a/demos/quickstart/protected/pages/Fundamentals/objectdiagram.gif and b/demos/quickstart/protected/pages/Fundamentals/objectdiagram.gif differ diff --git a/demos/quickstart/protected/pages/Fundamentals/objectdiagram.vsd b/demos/quickstart/protected/pages/Fundamentals/objectdiagram.vsd index 2d5e8205..e536ec31 100644 Binary files a/demos/quickstart/protected/pages/Fundamentals/objectdiagram.vsd and b/demos/quickstart/protected/pages/Fundamentals/objectdiagram.vsd differ diff --git a/demos/quickstart/protected/pages/TopicList.tpl b/demos/quickstart/protected/pages/TopicList.tpl index ac34b034..35c062d2 100644 --- a/demos/quickstart/protected/pages/TopicList.tpl +++ b/demos/quickstart/protected/pages/TopicList.tpl @@ -37,8 +37,7 @@
Controls
Overview
-Simple Controls: Part I
-Simple Controls: Part II
+Simple HTML Controls
Validation Controls
List Controls
TRepeater
@@ -58,8 +57,8 @@ diff --git a/demos/quickstart/protected/pages/config.xml b/demos/quickstart/protected/pages/config.xml index 929b26e7..92aec985 100644 --- a/demos/quickstart/protected/pages/config.xml +++ b/demos/quickstart/protected/pages/config.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file -- cgit v1.2.3