From 34688be706935b1c0bbcc373849c0a9824ec9d21 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 6 Feb 2007 20:45:10 +0000 Subject: Added a few Chinese tutorial pages. --- .gitattributes | 2 + demos/quickstart/protected/application.xml | 2 - demos/quickstart/protected/controls/Layout.php | 2 +- demos/quickstart/protected/controls/Layout.tpl | 2 +- .../quickstart/protected/controls/zh/TopicList.tpl | 108 +++++++++++++++++++++ .../pages/GettingStarted/fr/Introduction.page | 2 +- .../pages/GettingStarted/zh/Introduction.page | 21 ++++ 7 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 demos/quickstart/protected/controls/zh/TopicList.tpl create mode 100644 demos/quickstart/protected/pages/GettingStarted/zh/Introduction.page diff --git a/.gitattributes b/.gitattributes index 0f8c234b..f6115c21 100644 --- a/.gitattributes +++ b/.gitattributes @@ -860,6 +860,7 @@ demos/quickstart/protected/controls/SearchBox.tpl -text demos/quickstart/protected/controls/TopicList.php -text demos/quickstart/protected/controls/TopicList.tpl -text demos/quickstart/protected/controls/fr/TopicList.tpl -text +demos/quickstart/protected/controls/zh/TopicList.tpl -text demos/quickstart/protected/index/Zend/Exception.php -text demos/quickstart/protected/index/Zend/LICENSE.txt -text demos/quickstart/protected/index/Zend/Search/Exception.php -text @@ -1175,6 +1176,7 @@ demos/quickstart/protected/pages/GettingStarted/directory.gif -text demos/quickstart/protected/pages/GettingStarted/fr/Introduction.page -text demos/quickstart/protected/pages/GettingStarted/sequence.gif -text demos/quickstart/protected/pages/GettingStarted/sequence.vsd -text +demos/quickstart/protected/pages/GettingStarted/zh/Introduction.page -text demos/quickstart/protected/pages/Search.page -text demos/quickstart/protected/pages/Search.php -text demos/quickstart/protected/pages/Services/SoapService.page -text diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml index 777dd86b..b744b2a0 100644 --- a/demos/quickstart/protected/application.xml +++ b/demos/quickstart/protected/application.xml @@ -25,10 +25,8 @@ - \ No newline at end of file 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 @@ - +
Available Languages: