- 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) { function skin_macro(param) {
if (param.as == "editor") if (param.as == "editor")
renderInputTextarea(this.createInputParam("skin",param)); Html.textArea(this.createInputParam("skin", param));
else else
res.write(this.skin); res.write(this.skin);
} }
@ -55,7 +55,7 @@ function help_macro(param) {
// if a url is available render an html link // if a url is available render an html link
if (url) if (url)
openLink(helpUrl + url); Html.openLink(helpUrl + url);
res.encode("<% "); res.encode("<% ");
// show the prototype's name if not global, response or param // show the prototype's name if not global, response or param
if (protoName != "global" && protoName != "resOrParam") if (protoName != "global" && protoName != "resOrParam")
@ -63,9 +63,9 @@ function help_macro(param) {
res.write(macroNames[n]); res.write(macroNames[n]);
res.encode(" %>"); res.encode(" %>");
if (url) if (url)
closeLink(); Html.closeLink();
renderMarkupElement("br"); Html.tag("br");
} }
renderMarkupElement("br"); Html.tag("br");
} }
} }