sogo/UI/Templates/SchedulerUI/UIxCalUserRightsEditor.wox
Wolfgang Sourdeau 51cf0206d7 Monotone-Parent: 108c385b2d4d62eead27a0717dfe26849f3e4968
Monotone-Revision: 9de11b8398fba6c77d839866803040e019e78660

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-17T23:05:47
Monotone-Branch: ca.inverse.sogo
2007-05-17 23:05:47 +00:00

66 lines
2.4 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">
<table>
<tr class="permissions">
<th class="eventType"><!-- space --></th>
<th><var:string label:value="View All"/></th>
<th><var:string label:value="View the Date &amp; Time"/></th>
<th><var:string label:value="Modify"/></th>
<th><var:string label:value="Respond To"/></th>
<th><var:string label:value="None"/></th>
</tr
><var:foreach list="rightTypes" item="currentRightType">
<tr>
<td class="eventType"><var:string
value="currentRightTypeLabel"/></td
><var:foreach list="objectRights" item="currentRight">
<td><input type="radio"
var:name="currentRightTypeName"
var:value="currentRight"
var:selection="currentRightSelection"/></td
></var:foreach>
</tr></var:foreach>
</table>
</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="updateButton" id="updateButton"
class="button" type="submit" label:value="Update"/>
<input const:name="cancelButton" id="cancelButton"
class="button" type="button" label:value="Cancel"/>
</div>
</form>
</var:component>