Monotone-Parent: 870459b5cd89f38f2c5d579fccb19dba58515f8b Monotone-Revision: 4d8fb1ed0734fbcfd6dc4e68194b48101ac46567 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-01-30T19:59:05
64 lines
2.5 KiB
XML
64 lines
2.5 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 id="uid" type="hidden" name="uid" var:value="uid"/>
|
|
<div class="title">
|
|
<var:if condition="userIsDefaultUser">
|
|
<label><span class="value"><var:string label:value="Any Authenticated User"
|
|
/></span></label>
|
|
</var:if><var:if condition="userIsDefaultUser" const:negate="YES"
|
|
><var:if condition="userIsAnonymousUser"
|
|
><label><span class="value"><var:string label:value="Public Access"
|
|
/></span></label
|
|
></var:if
|
|
><var:if condition="userIsAnonymousUser" const:negate="YES"
|
|
><label><var:string label:value="User rights for:"/><br/>
|
|
<span class="value"><var:string value="userDisplayName"
|
|
/></span></label></var:if>
|
|
</var:if>
|
|
</div>
|
|
<div class="calendarUserRights">
|
|
<var:foreach list="rightTypes" item="currentRightType">
|
|
<div><span><var:string value="currentRightTypeLabel"/></span>
|
|
<var:popup list="objectRights" item="currentRight"
|
|
var:name="currentRightTypeName"
|
|
var:value="currentRight"
|
|
string="currentRightLabel"
|
|
selection="currentRightSelection"
|
|
/></div>
|
|
</var:foreach>
|
|
</div>
|
|
<var:if condition="userIsAnonymousUser" const:negate="YES"
|
|
><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></var:if>
|
|
<div class="buttons">
|
|
<a href="#" const:name="updateButton" id="updateButton"
|
|
class="button actionButton">
|
|
<span><var:string label:value="Update" /></span></a>
|
|
<a href="#" const:name="cancelButton" id="cancelButton" class="button">
|
|
<span><var:string label:value="Cancel" /></span></a>
|
|
</div>
|
|
</form>
|
|
</var:component>
|