* check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense

* cleaned up a little bit (code, comments)
This commit is contained in:
Tobi Schäfer 2004-07-30 13:34:13 +00:00
parent c42c959be7
commit 94cb4c0a22
7 changed files with 53 additions and 19 deletions

View file

@ -3,7 +3,7 @@
*/
function name_macro(param) {
if (param.as == "url" && this.url)
if (param.as == "link" && this.url)
Html.link({href: this.url}, this.name);
else
res.write(this.name);