- changed to use AntvilleLib methods
- some code reformatting
This commit is contained in:
parent
f3d757c996
commit
17151a35c4
1 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
function skin_macro(param) {
|
||||
if (param.as == "editor")
|
||||
renderInputTextarea(this.createInputParam("skin",param));
|
||||
Html.textArea(this.createInputParam("skin", param));
|
||||
else
|
||||
res.write(this.skin);
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ function help_macro(param) {
|
|||
|
||||
// if a url is available render an html link
|
||||
if (url)
|
||||
openLink(helpUrl + url);
|
||||
Html.openLink(helpUrl + url);
|
||||
res.encode("<% ");
|
||||
// show the prototype's name if not global, response or param
|
||||
if (protoName != "global" && protoName != "resOrParam")
|
||||
|
@ -63,9 +63,9 @@ function help_macro(param) {
|
|||
res.write(macroNames[n]);
|
||||
res.encode(" %>");
|
||||
if (url)
|
||||
closeLink();
|
||||
renderMarkupElement("br");
|
||||
Html.closeLink();
|
||||
Html.tag("br");
|
||||
}
|
||||
renderMarkupElement("br");
|
||||
Html.tag("br");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue