sogo/UI/Templates/SchedulerUI/UIxCalUserRightsEditor.wox
Francis Lachapelle 46ae8aa3d6 Improved ACLs editor window
Monotone-Parent: da6b5b0b22738692fb0aafb95b28a58d2a16855e
Monotone-Revision: 18e33d0c1964c0a62a8a43c69d2300477fb492b5

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-12-23T15:51:12
Monotone-Branch: ca.inverse.sogo
2008-12-23 15:51:12 +00:00

54 lines
2 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"
const:toolbar="none"
const:popup="YES">
<form id="userRightsForm" const:href="saveUserRights">
<input type="hidden" name="uid" var:value="uid"/>
<div class="title">
<var:if condition="userIsDefaultUser">
<label><span class="value"><var:string label:value="Default Roles"
/></span></label>
</var:if><var:if condition="userIsDefaultUser" const:negate="YES">
<label><var:string label:value="User rights for:"/><br/>
<span class="value"><var:string value="userDisplayName"
/></span></label></var:if>
</div>
<div class="calendarUserRights">
<var:foreach list="rightTypes" item="currentRightType">
<span><var:string value="currentRightTypeLabel"/></span>
<var:popup list="objectRights" item="currentRight"
var:name="currentRightTypeName"
var:value="currentRight"
string="currentRightLabel"
selection="currentRightSelection"
/>
</var:foreach>
</div>
<div class="basicUserRights">
<label><input type="checkbox" class="checkBox"
const:name="ObjectCreator"
var:checked="userCanCreateObjects"/><var:string
label:value="This person can create objects in my calendar."/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="ObjectEraser"
var:checked="userCanEraseObjects"/><var:string
label:value="This person can erase objects from my calendar."/></label>
</div>
<div class="buttons">
<input const:name="cancelButton" id="cancelButton"
class="button" type="button" label:value="Cancel"/>
<input const:name="updateButton" id="updateButton"
class="button" type="submit" label:value="Update"/>
</div>
</form>
</var:component>