sogo/UI/Templates/UIxToolbar.wox
Wolfgang Sourdeau 39228fb130 Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd
Monotone-Revision: 2ad8b0c019808014c990f51cc69c4457fdb537c6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-07-28T22:59:11
Monotone-Branch: ca.inverse.sogo
2006-07-28 22:59:11 +00:00

52 lines
1.8 KiB
XML

<?xml version="1.0" standalone="yes"?>
<var:if condition="hasButtons"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
xmlns:so="http://www.skyrix.com/od/so-lookup">
<div id="toolbar" class="toolbar">
<var:foreach list="toolbarConfig" item="toolbarGroup"
><var:foreach list="toolbarGroup" item="buttonInfo"
><var:if condition="isButtonEnabled"
><a class="toolbarButton"
var:href="buttonInfo.link"
var:target="buttonInfo.target"
var:onclick="buttonInfo.onclick"
var:title="buttonInfo.tooltip"
><span class="toolbarButton"
><img class="buttonImage"
var:src="buttonImage"
var:alt="buttonInfo.image"
/><br
/><span class="buttonLabel"
><var:string
value="buttonLabel"
/></span
></span
></a>
</var:if>
<var:if condition="isButtonEnabled"
const:negate="YES"
><span class="disabledToolbarButton"
><img class="buttonImage"
var:src="buttonImage"
var:alt="buttonInfo.image"
/><br
/><span class="buttonLabel"
><var:string
value="buttonLabel"
/></span
></span>
</var:if>
</var:foreach>
<var:if condition="isLastGroup" const:negate="YES"
><span class="toolbarSeparator"
><var:entity const:name="nbsp"
/></span
></var:if>
</var:foreach>
</div>
</var:if>