## ---- START sites tabs --- #foreach ($site in $sites) #set ($navel = $site.getNavElement()) #if($tabhelper.isSiteActive($site)) #if($velocityCount==1) $navel.getTitle() #else $navel.getTitle() #end #else | #if($velocityCount==1) $navel.getTitle() #else $navel.getTitle() #end #end #end ## ---- END sites tabs --- ## ---- START dynamic tabs --- #foreach ($dtab in $dtabs) | #set ($navel = $dtab.getNavElement()) #if($tabhelper.isDTabActive($dtab)) | $navel.getTitle() #else | $navel.getTitle() #end #end ## ---- END dynamic tabs --- ## ---- START cpacer cell ---- ## calculate correct width of spacer cell ## site cells are 5% each (dynamic), tool cells are 1% each (fix 6 cells) #if ($instantMessagingEnabled) #set ($imwidth = 2) #else #set ($imwidth = 0) #end #set ($tabwidth = ( ($sites.size() + $dtabs.size() )*5) ) #set ($width = (100 - $tabwidth - $imwidth - 3) ) #if ($width < 0) #set ($width = 10) #end | ## ---- END spacer cell ---- ## ---- START upper right most controller place --- #if ($hasUpperRightCorner) | $r.render("upperRightCorner") #end ## ---- END upper right most controller place ---