"link" macro updated to new url naming scheme

This commit is contained in:
lars 2006-08-24 08:40:40 +00:00
parent 1362f79df4
commit 550d0fb5e2

View file

@ -50,7 +50,7 @@ def:parseTree(root) ?><?cs #
--><?cs
/def ?><?cs
def:link(attr1, value1, attr2, value2, attr3, value3)
def:link(path, attr1, value1, attr2, value2)
?><?cs each:attrs = Temp
?><?cs set:attrs = ""
?><?cs /each
@ -59,8 +59,8 @@ def:link(attr1, value1, attr2, value2, attr3, value3)
?><?cs /each
?><?cs if:attr1 != "" ?><?cs set:Temp[attr1] = value1 ?><?cs /if
?><?cs if:attr2 != "" ?><?cs set:Temp[attr2] = value2 ?><?cs /if
?><?cs if:attr3 != "" ?><?cs set:Temp[attr3] = value3 ?><?cs /if
?><?cs var:ScriptName
?>/<?cs:var:path
?><?cs set:first_each = 1
?><?cs if:subcount(Temp) > 0
?><?cs each:attrs = Temp