sogo/UI/Templates/UIxAclEditor.wox
Wolfgang Sourdeau 03e0e4b5d4 Monotone-Parent: d0d9760d8db972b55c26962043ce5344b348a982
Monotone-Revision: 2a058e00d9a205e44c2b7f7536cfbe616d115e72

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-19T00:33:59
Monotone-Branch: ca.inverse.sogo
2007-05-19 00:33:59 +00:00

52 lines
1.6 KiB
XML

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE var:component>
<var:component xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:uix="OGo:uix"
xmlns:label="OGo:label"
xmlns:rsrc="OGo:url"
className="UIxPageFrame"
title="title"
var:toolbar="toolbar"
const:popup="YES">
<form id="aclForm" const:href="saveAcls">
<div class="acls">
<div id="userSelectorHeader">
<input type="hidden" name="defaultUserID" id="defaultUserID"
var:value="defaultUserID"/>
<input type="hidden" name="action" value="saveAcls"/>
<input type="hidden" id="userUIDS" name="userUIDS"
var:value="userUIDS"/>
<label><var:string label:value="Owner:"/><br/>
<span class="value"><strong><var:string value="ownerName"/></strong></span></label><br/>
</div>
<var:if condition="clientObject.hasSupportForDefaultRoles"
><input id="defaultRolesBtn" type="button"
class="button" label:value="Default Roles"/></var:if>
<div class="userSelector" id="userRoles">
<var:if condition="currentUserIsOwner">
<span id="userSelectorButtons">
<a href="#"
class="button"><img rsrc:src="add-contact.gif"
label:title="Add..."
/></a>
<a href="#"
class="button"><img rsrc:src="remove-contact.gif"
label:title="Remove"
/></a>
</span>
</var:if>
<ul id="userList" multiselect="yes">
<var:foreach list="usersForObject" item="currentUser"
><li var:id="currentUser">
<img rsrc:src="abcard.gif"/>
<var:string value="currentUserDisplayName"/></li>
</var:foreach>
</ul>
</div>
</div>
</form>
</var:component>