summaryrefslogtreecommitdiff
path: root/demos/quickstart
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart')
-rw-r--r--demos/quickstart/protected/application.xml4
-rw-r--r--demos/quickstart/protected/pages/Configurations/Templates2.page11
-rw-r--r--demos/quickstart/protected/pages/Configurations/Templates3.page11
3 files changed, 21 insertions, 5 deletions
diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml
index e99121fa..e25c4c14 100644
--- a/demos/quickstart/protected/application.xml
+++ b/demos/quickstart/protected/application.xml
@@ -7,9 +7,7 @@
</module>
</modules>
<paths>
- <alias id="Controls" path="controls" />
- <alias id="QuickStart" path="." />
- <using namespace="Controls.*" />
+ <using namespace="Application.controls.*" />
</paths>
<services>
<service id="page" class="TPageService" DefaultPage="GettingStarted.Introduction" />
diff --git a/demos/quickstart/protected/pages/Configurations/Templates2.page b/demos/quickstart/protected/pages/Configurations/Templates2.page
index 66d9d0d1..cace46b3 100644
--- a/demos/quickstart/protected/pages/Configurations/Templates2.page
+++ b/demos/quickstart/protected/pages/Configurations/Templates2.page
@@ -4,7 +4,7 @@
<a name="dct" />
<h2>Dynamic Content Tags</h2>
<p>
-Dynamic content tags are introduced as shortcuts to some commonly used <a href="?page=Configurations.Templates1#ct">component tags</a>. These tags are mainly used to render contents resulted from evaluating some PHP expressions or statements. They include <a href="#et">expression tags</a>, <a href="#st">statement tags</a>, <a href="#dt">databind tags</a>, <a href="#pt">parameter tags</a> and <a href="#at">asset tags</a>.
+Dynamic content tags are introduced as shortcuts to some commonly used <a href="?page=Configurations.Templates1#ct">component tags</a>. These tags are mainly used to render contents resulted from evaluating some PHP expressions or statements. They include <a href="#et">expression tags</a>, <a href="#st">statement tags</a>, <a href="#dt">databind tags</a>, <a href="#pt">parameter tags</a>, <a href="#at">asset tags</a> and <a href="#lot">localization tags</a>.
</p>
<a name="et" />
@@ -75,4 +75,13 @@ where <tt>LocalFileName</tt> refers to a file path that is relative to the direc
BE VERY CAUTIOUS when you are using asset tags as it may expose to end-users files that you probably do not want them to see.
</p>
+<a name="lot" />
+<h3>Localization Tags</h3>
+<p>
+Localization tags represent localized texts. They are in the following format,
+<com:TTextHighlighter Language="prado" CssClass="source">
+&lt;%[string]%&gt;
+</com:TTextHighlighter>
+where <tt>string</tt> will be translated to different languages according to the end-user's language preference.
+
</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Configurations/Templates3.page b/demos/quickstart/protected/pages/Configurations/Templates3.page
index e5abc347..bec25d13 100644
--- a/demos/quickstart/protected/pages/Configurations/Templates3.page
+++ b/demos/quickstart/protected/pages/Configurations/Templates3.page
@@ -13,7 +13,7 @@ body content
where you may enclose <tt>DynamicPropertyTag</tt> within single or double quotes for better readability.
</p>
<p>
-We now introduce the available types of dynamic property tags that may be used in the above. Like dynamic content tags, we have <a href="#et">expression tags</a>, <a href="#dt">databind tags</a>, <a href="#pt">parameter tags</a> and <a href="#at">asset tags</a>. (Note, there is no statement tag here.)
+Like dynamic content tags, we have <a href="#et">expression tags</a>, <a href="#dt">databind tags</a>, <a href="#pt">parameter tags</a>, <a href="#at">asset tags</a> and <a href="#lot">localization tags</a>. (Note, there is no statement tag here.)
</p>
<a name="et" />
@@ -70,4 +70,13 @@ where <tt>LocalFileName</tt> refers to a file path that is relative to the direc
BE VERY CAUTIOUS when you are using asset tags as it may expose to end-users files that you probably do not want them to see.
</p>
+<a name="lot" />
+<h3>Localization Tags</h3>
+<p>
+Localization tags represent localized texts. They are in the following format,
+<com:TTextHighlighter Language="prado" CssClass="source">
+&lt;%[string]&gt;
+</com:TTextHighlighter>
+where <tt>string</tt> will be translated to different languages according to the end-user's language preference.
+
</com:TContent> \ No newline at end of file