- changed to use AntvilleLib methods

- some code reformatting
This commit is contained in:
Robert Gaggl 2003-08-02 11:01:02 +00:00
parent f3d757c996
commit 17151a35c4

View file

@ -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");
}
}