diff options
author | wei <> | 2006-01-28 03:38:28 +0000 |
---|---|---|
committer | wei <> | 2006-01-28 03:38:28 +0000 |
commit | 1bf13b75e5f5f3d1f953a94a9be244d734ed3f9d (patch) | |
tree | 0594ae61f33f4cc86fd961980ba1388aeb4f852f /framework | |
parent | df09807727f4c628a5c9d81ed40982b91579d694 (diff) |
Update I18N.page doc.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/I18N/TTranslateParameter.php | 4 | ||||
-rw-r--r-- | framework/Web/Javascripts/extra/getElementsBySelector.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/I18N/TTranslateParameter.php b/framework/I18N/TTranslateParameter.php index f162d642..d00e33bb 100644 --- a/framework/I18N/TTranslateParameter.php +++ b/framework/I18N/TTranslateParameter.php @@ -28,8 +28,8 @@ * <code>
* <com:TTranslate>
* {greeting} {name}!
- * <com:TTranslateParameter Key="name">World</com:TParam>
- * <com:TTranslateParameter Key="greeting">Hello</com:TParam>
+ * <com:TTranslateParameter Key="name">World</com:TTranslateParameter>
+ * <com:TTranslateParameter Key="greeting">Hello</com:TTranslateParameter>
* </com:TTranslate>
* </code>
*
diff --git a/framework/Web/Javascripts/extra/getElementsBySelector.js b/framework/Web/Javascripts/extra/getElementsBySelector.js index d6675cd5..592872fc 100644 --- a/framework/Web/Javascripts/extra/getElementsBySelector.js +++ b/framework/Web/Javascripts/extra/getElementsBySelector.js @@ -30,13 +30,13 @@ function getAllChildren(e) { matching the CSS selector. Selectors can contain element names,
class names and ids and can be nested. For example:
- <pre><tt>elements = document.getElementsBySelect('div#main p a.external')</tt></pre>
+ <pre><tt>elements = $CSS('div#main p a.external')</tt></pre>
Will return an array of all 'a' elements with 'external' in their
class attribute that are contained inside 'p' elements that are
contained inside the 'div' element which has id="main"
*/
-document.getElementsBySelector = function(selector) {
+$CSS = function(selector) {
// Attempt to fail gracefully in lesser browsers
if (!document.getElementsByTagName) {
return new Array();
|