summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls
diff options
context:
space:
mode:
authorxue <>2005-12-28 16:03:34 +0000
committerxue <>2005-12-28 16:03:34 +0000
commit4ed0f6e7c0f2efa7525b1d9ad95e29fe2ce6dcdb (patch)
tree5912f9ba2cc977d0f4b6213e0c62fadd360c703e /demos/quickstart/protected/controls
parentd109f8356d1dd2c66f66d316ee46a51043731206 (diff)
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r--demos/quickstart/protected/controls/Layout.php15
-rw-r--r--demos/quickstart/protected/controls/Layout.tpl39
-rw-r--r--demos/quickstart/protected/controls/TopicList.php8
-rw-r--r--demos/quickstart/protected/controls/TopicList.tpl79
4 files changed, 141 insertions, 0 deletions
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 @@
+<?php
+
+class Layout extends TTemplateControl
+{
+ public function toggleTopicPanel($sender,$param)
+ {
+ $this->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 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
+
+<com:THead Title="PRADO QuickStart Tutorial">
+<meta http-equiv="content-language" content="en"/>
+</com:THead>
+
+<body>
+<com:TForm>
+<div id="header">
+Prado QuickStart Tutorial
+</div>
+
+<div id="menu">
+<a href="?">Home</a> |
+<a href="http://www.pradosoft.com">PradoSoft.com</a> |
+<com:TLinkButton Text="Hide TOC" Click="toggleTopicPanel" />
+</div>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr>
+<td valign="top">
+<div id="content" width="100%">
+<com:TContentPlaceHolder ID="body" />
+</div>
+</td>
+<td valign="top" width="1">
+<com:TopicList ID="TopicPanel" />
+</td>
+</tr>
+</table>
+
+<div id="footer">
+Copyright &copy; 2005 <a href="http://www.pradosoft.com">PradoSoft</a>.
+</div>
+
+</com:TForm>
+</body>
+</html> \ 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 @@
+<?php
+
+class TopicList extends TTemplateControl
+{
+
+}
+
+?> \ 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 @@
+<div id="toc">
+
+<div class="topic">
+<span>Getting Started</span><br/>
+<a href="?page=GettingStarted.Introduction">Introduction</a><br/>
+<a href="?page=GettingStarted.AboutPrado">What is PRADO?</a><br/>
+<a href="?page=GettingStarted.Installation">Installation</a><br/>
+</div>
+
+<div class="topic">
+<span>Fundamentals</span><br/>
+<a href="?page=Fundamentals.Architecture">Architecture</a><br/>
+<a href="?page=Fundamentals.Components">Components</a><br/>
+<a href="?page=Fundamentals.Controls">Controls</a><br/>
+<a href="?page=Fundamentals.Pages">Pages</a><br/>
+<a href="?page=Fundamentals.Modules">Modules</a><br/>
+<a href="?page=Fundamentals.Services">Services</a><br/>
+<a href="?page=Fundamentals.Applications">Applications</a><br/>
+</div>
+
+<div class="topic">
+<span>Configurations</span><br/>
+<a href="?page=Configurations.Overview">Overview</a><br/>
+<a href="?page=Configurations.Templates1">Templates: Part I</a><br/>
+<a href="?page=Configurations.Templates2">Templates: Part II</a><br/>
+<a href="?page=Configurations.Templates3">Templates: Part III</a><br/>
+<a href="?page=Configurations.AppConfig">Application Configurations</a><br/>
+<a href="?page=Configurations.PageConfig">Page Configurations</a><br/>
+</div>
+
+<div class="topic">
+<span>Samples</span><br/>
+<a href="?page=Samples.HelloWorld">Hello World</a><br/>
+<a href="?page=Samples.Hangman">Hangman Game</a><br/>
+</div>
+
+<div class="topic">
+<span>Controls</span><br/>
+<a href="?page=Controls.Overview">Overview</a><br/>
+<a href="?page=Controls.Simple">Simple HTML Controls</a><br/>
+<a href="?page=Construction">Validation Controls</a><br/>
+<a href="?page=Construction">List Controls</a><br/>
+<a href="?page=Construction">TRepeater</a><br/>
+<a href="?page=Construction">TDataList</a><br/>
+<a href="?page=Construction">TDataGrid</a><br/>
+<a href="?page=Construction">Active Controls</a><br/>
+<a href="?page=Construction">Authoring New Controls</a><br/>
+</div>
+
+<div class="topic">
+<span>Data Access</span><br/>
+<a href="?page=Construction">DataBinding</a><br/>
+<a href="?page=Construction">Data Bound Controls</a><br/>
+<a href="?page=Construction">Data Source Controls</a><br/>
+</div>
+
+<div class="topic">
+<span>Avanced Features</span><br/>
+<a href="?page=Construction">Overview</a><br/>
+<a href="?page=Construction">Assets</a><br/>
+<a href="?page=Construction">Themes and Skins</a><br/>
+<a href="?page=Construction">Internationalization</a><br/>
+</div>
+
+<div class="topic">
+<span>Security</span><br/>
+<a href="?page=Construction">Overview</a><br/>
+<a href="?page=Construction">Authentication</a><br/>
+<a href="?page=Construction">Authorization</a><br/>
+<a href="?page=Construction">ViewState Protection</a><br/>
+</div>
+
+<div class="topic">
+<span>Performance</span><br/>
+<a href="?page=Construction">Caching</a><br/>
+<a href="?page=Construction">Performance Tuning</a><br/>
+</div>
+
+</div> \ No newline at end of file