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. --- demos/quickstart/protected/controls/Layout.php | 2 +- demos/quickstart/protected/controls/Layout.tpl | 2 +- .../quickstart/protected/controls/zh/TopicList.tpl | 108 +++++++++++++++++++++ 3 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 demos/quickstart/protected/controls/zh/TopicList.tpl (limited to 'demos/quickstart/protected/controls') 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: