diff options
author | xue <> | 2006-01-18 03:48:38 +0000 |
---|---|---|
committer | xue <> | 2006-01-18 03:48:38 +0000 |
commit | e2219c91b98088289080bfa451d3083851eddf76 (patch) | |
tree | 0244e22fcc3c606bf94ce165f4adc3e25da483a7 /demos/quickstart/protected/pages | |
parent | 610e3417e5252c0c058c655fac9772ec4e7f02d5 (diff) |
Added explanation to localization tags.
Diffstat (limited to 'demos/quickstart/protected/pages')
-rw-r--r-- | demos/quickstart/protected/pages/Configurations/Templates2.page | 11 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Configurations/Templates3.page | 11 |
2 files changed, 20 insertions, 2 deletions
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">
+<%[string]%>
+</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">
+<%[string]>
+</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 |