From f481e13ebf72336ed2dc90c8ec9f5d4db5b62664 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 28 Dec 2005 20:59:09 +0000 Subject: --- .gitattributes | 4 +++ .../quickstart/protected/controls/SampleLayout.php | 15 +++++++++++ .../quickstart/protected/controls/SampleLayout.tpl | 29 ++++++++++++++++++++++ .../protected/pages/Controls/Samples/Label.page | 3 +++ .../protected/pages/Controls/Samples/config.xml | 5 ++++ .../protected/pages/Controls/Simple.page | 3 ++- demos/quickstart/themes/Simple/style.css | 10 ++++++++ 7 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 demos/quickstart/protected/controls/SampleLayout.php create mode 100644 demos/quickstart/protected/controls/SampleLayout.tpl create mode 100644 demos/quickstart/protected/pages/Controls/Samples/Label.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/config.xml diff --git a/.gitattributes b/.gitattributes index 69801520..a41f6bc1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,6 +18,8 @@ demos/quickstart/protected/controls/Layout.php -text demos/quickstart/protected/controls/Layout.tpl -text demos/quickstart/protected/controls/RunBar.php -text demos/quickstart/protected/controls/RunBar.tpl -text +demos/quickstart/protected/controls/SampleLayout.php -text +demos/quickstart/protected/controls/SampleLayout.tpl -text demos/quickstart/protected/controls/TopicList.php -text demos/quickstart/protected/controls/TopicList.tpl -text demos/quickstart/protected/pages/Configurations/AppConfig.page -text @@ -28,6 +30,8 @@ demos/quickstart/protected/pages/Configurations/Templates2.page -text demos/quickstart/protected/pages/Configurations/Templates3.page -text demos/quickstart/protected/pages/Construction.page -text demos/quickstart/protected/pages/Controls/Overview.page -text +demos/quickstart/protected/pages/Controls/Samples/Label.page -text +demos/quickstart/protected/pages/Controls/Samples/config.xml -text demos/quickstart/protected/pages/Controls/Simple.page -text demos/quickstart/protected/pages/Controls/Simple1.page -text demos/quickstart/protected/pages/Fundamentals/Applications.page -text diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php new file mode 100644 index 00000000..ee7f41ff --- /dev/null +++ b/demos/quickstart/protected/controls/SampleLayout.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/SampleLayout.tpl b/demos/quickstart/protected/controls/SampleLayout.tpl new file mode 100644 index 00000000..f1237010 --- /dev/null +++ b/demos/quickstart/protected/controls/SampleLayout.tpl @@ -0,0 +1,29 @@ + + + + + + + + + + +
+
+PRADO QuickStart Tutorial Sample +
+
+Copyright © 2005 PradoSoft +
+
+ +
+
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/Label.page b/demos/quickstart/protected/pages/Controls/Samples/Label.page new file mode 100644 index 00000000..2fe542a9 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/Label.page @@ -0,0 +1,3 @@ + +test + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/config.xml b/demos/quickstart/protected/pages/Controls/Samples/config.xml new file mode 100644 index 00000000..ecd29bd4 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/config.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page index 7242cded..94061711 100644 --- a/demos/quickstart/protected/pages/Controls/Simple.page +++ b/demos/quickstart/protected/pages/Controls/Simple.page @@ -4,7 +4,8 @@

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. +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 as a form label associated with some control on the form. Since 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/themes/Simple/style.css b/demos/quickstart/themes/Simple/style.css index 9b22b7bd..4fc38e07 100644 --- a/demos/quickstart/themes/Simple/style.css +++ b/demos/quickstart/themes/Simple/style.css @@ -143,4 +143,14 @@ code { tt { font-family: "Courier New", Courier, mono; border-bottom: 1px dotted silver; +} + +.samplebar { + background:#00487D; + color:white; + padding:3px; +} + +.samplebar a { + color:white; } \ No newline at end of file -- cgit v1.2.3