#set($entriesSize = $entries.size()) #foreach ($entry in $entries) #if ($entry.getType() == 1) #if ($velocityCount > 1)
#end ## wrapper div
## head
$entry.getHeaderText()
## body
## default is o_tb_body #elseif ($entry.getType() == 2) #if ($entry.isEnabled()) #if($offerdrag) $entry.getLinkText()
## FIXME: leaner code, collect scripts
#else $entry.getLinkText()
#end #else $entry.getLinkText()
#end #elseif ($entry.getType() == 3) #if ($entry.isEnabled()) $entry.getLinkText()
#else $entry.getLinkText()
#end #elseif ($entry.getType() == 4) $r.render("$entry.getComponentName()") #if($velocityCount != $entriesSize)
#end #end #end