summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls
diff options
context:
space:
mode:
authorxue <>2007-02-06 20:45:10 +0000
committerxue <>2007-02-06 20:45:10 +0000
commit34688be706935b1c0bbcc373849c0a9824ec9d21 (patch)
tree4ade64fe379d1c5e32a7b2fd95907ef86d204d20 /demos/quickstart/protected/controls
parent69fa043ebb880ce8164691d81be7f24e972d8639 (diff)
Added a few Chinese tutorial pages.
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r--demos/quickstart/protected/controls/Layout.php2
-rw-r--r--demos/quickstart/protected/controls/Layout.tpl2
-rw-r--r--demos/quickstart/protected/controls/zh/TopicList.tpl108
3 files changed, 110 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/Layout.php b/demos/quickstart/protected/controls/Layout.php
index e4f2fc1a..3973db8f 100644
--- a/demos/quickstart/protected/controls/Layout.php
+++ b/demos/quickstart/protected/controls/Layout.php
@@ -29,7 +29,7 @@ class Layout extends TTemplateControl
$this->languages->dataBind();
}
- public function language_links($sender, $param)
+ public function languageLinkCreated($sender, $param)
{
$item = $param->Item;
if($item->ItemType == TListItemType::Item || $item->ItemType == TListItemType::AlternatingItem)
diff --git a/demos/quickstart/protected/controls/Layout.tpl b/demos/quickstart/protected/controls/Layout.tpl
index 6c2b717f..ac41d1de 100644
--- a/demos/quickstart/protected/controls/Layout.tpl
+++ b/demos/quickstart/protected/controls/Layout.tpl
@@ -30,7 +30,7 @@
</td>
<td valign="top">
-<com:TRepeater ID="languages" OnItemCreated="language_links">
+<com:TRepeater ID="languages" OnItemCreated="languageLinkCreated">
<prop:HeaderTemplate>
<div class="languages">Available Languages: <ul>
</prop:HeaderTemplate>
diff --git a/demos/quickstart/protected/controls/zh/TopicList.tpl b/demos/quickstart/protected/controls/zh/TopicList.tpl
new file mode 100644
index 00000000..00fa2280
--- /dev/null
+++ b/demos/quickstart/protected/controls/zh/TopicList.tpl
@@ -0,0 +1,108 @@
+<div id="toc">
+
+<div class="topic">
+<div>PRADO初步</div>
+<ul>
+ <li><a href="?page=GettingStarted.Introduction">概况</a></li>
+ <li><a href="?page=GettingStarted.AboutPrado">什么是PRADO?</a></li>
+ <li><a href="?page=GettingStarted.Installation">安装</a></li>
+ <li><a href="?page=GettingStarted.NewFeatures">版本新功能</a></li>
+ <li><a href="?page=GettingStarted.Upgrading">从v2.x和v1.x升级</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>范例教程</div>
+<ul>
+ <li><a href="?page=GettingStarted.HelloWorld">创建第一个PRADO应用</a></li>
+ <li><a href="?page=Fundamentals.Hangman">Hangman游戏</a></li>
+ <li><a href="?page=Tutorial.CurrencyConverter">货币转换程序</a></li>
+ <li><a href="?page=Tutorial.AjaxChat">AJAX聊天程序</a></li>
+ <li><a href="?page=GettingStarted.CommandLine">命令行工具</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>基础概念</div>
+<ul>
+ <li><a href="?page=Fundamentals.Architecture">框架结构</a></li>
+ <li><a href="?page=Fundamentals.Components">部件</a></li>
+ <li><a href="?page=Fundamentals.Controls">控件</a></li>
+ <li><a href="?page=Fundamentals.Pages">页面</a></li>
+ <li><a href="?page=Fundamentals.Modules">模块</a></li>
+ <li><a href="?page=Fundamentals.Services">服务</a></li>
+ <li><a href="?page=Fundamentals.Applications">应用</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>各种配置</div>
+<ul>
+ <li><a href="?page=Configurations.Overview">概况</a></li>
+ <li><a href="?page=Configurations.Templates1">模板(1)</a></li>
+ <li><a href="?page=Configurations.Templates2">模板(2)</a></li>
+ <li><a href="?page=Configurations.Templates3">模板(3)</a></li>
+ <li><a href="?page=Configurations.AppConfig">应用配置</a></li>
+ <li><a href="?page=Configurations.PageConfig">页面配置</a></li>
+ <li><a href="?page=Configurations.UrlMapping">URL映射</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>控件使用参考</div>
+<ul>
+ <li><a href="?page=Controls.Standard">基本控件</a></li>
+ <li><a href="?page=Controls.Validation">验证控件</a></li>
+ <li><a href="?page=Controls.List">列表控件</a></li>
+ <li><a href="?page=Controls.Data">数据控件</a></li>
+ <li><a href="?page=ActiveControls.Home">Active控件(AJAX)</a></li>
+ <li><a href="?page=Controls.NewControl">创建新控件</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>服务使用参考</div>
+<ul>
+ <li><a href="?page=Fundamentals.Services">页面服务</a></li>
+ <li><a href="?page=Services.SoapService">SOAP服务</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>使用数据库</div>
+<ul>
+ <li><a href="?page=Database.DAO">数据存取对象(DAO)</a></li>
+ <li><a href="?page=Database.ActiveRecord">Active Record</a></li>
+ <li><a href="?page=Database.Scaffold">Active Record Scaffold</a></li>
+ <li><a href="?page=Database.SqlMap">SqlMap Data Mapper</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>高级教程</div>
+<ul>
+ <li><a href="?page=Advanced.Collections">Collections</a></li>
+ <li><a href="?page=Advanced.Auth">验证和授权</a></li>
+ <li><a href="?page=Advanced.Security">安全</a></li>
+ <li><a href="?page=Advanced.Assets">资源</a></li>
+ <li><a href="?page=Advanced.MasterContent">Master and Content</a></li>
+ <li><a href="?page=Advanced.Themes">Themes and Skins</a></li>
+ <li><a href="?page=Advanced.State">Persistent State</a></li>
+ <li><a href="?page=Advanced.Logging">日志</a></li>
+ <li><a href="?page=Advanced.Error">错误处理</a></li>
+ <li><a href="?page=Advanced.I18N">多语言支持</a></li>
+ <li><a href="?page=Advanced.Performance">Performance Tuning</a></li>
+</ul>
+</div>
+
+<div class="topic">
+<div>客户端编程</div>
+<ul>
+ <li><a href="?page=Advanced.Scripts">JavaScript介绍</a></li>
+ <li><a href="?page=Advanced.Scripts1">Prototype Library Part I</a></li>
+ <li><a href="?page=Advanced.Scripts2">Prototype Library Part II</a></li>
+ <li><a href="?page=Advanced.Scripts3">Javascript Cookbook</a></li>
+</ul>
+</div>
+
+</div> \ No newline at end of file