## Defined variables #set ($bodybg = "#ffffff") #set ($bodyfg = "#000000") #set ($bodylink = "#525D76") #set ($pagebannerbg = "#ffffff") #set ($pagebannerfg = "#625972") #set ($bannerbg = "#726982") #set ($bannerfg = "#ffffff") #set ($subbannerbg = "#9289A2") #set ($subbannerfg = "#ffffff") #set ($tablethbg = "#039acc") #set ($tabletdbg = "#a0ddf0") #document() ## This is where the macro's live #macro ( table $table)
$escape.getText($value.getText()) |
||
$subsection.getAttributeValue("name") |
#foreach ( $items in $subsection.getChildren() ) #if ($items.getName().equals("img")) #image ($items) #elseif ($items.getName().equals("source")) #source ($items) #elseif ($items.getName().equals("table")) #table ($items) #else $items #end #end |
|
|||||||||
|
|
#foreach ( $item in $menu.getChildren() )
#set ($name = $item.getAttributeValue("name"))
#projectanchor($name $item.getAttributeValue("href")) #end |
#set ($pos = $tab.getAttributeValue("position").concat("px")) #set ($name =$tab.getAttributeValue("name")) #set ($label = $tab.getAttributeValue("label")) #set ($roll = $tab.getAttributeValue("rollover")) #if ($name.equals($root.getChild("properties").getChild("tab").getText())) #set ($label = $roll) #end |
##makeTabs() |
|
|