sogo/UI/Templates/MailerUI/UIxMailUserRightsEditor.wox
Wolfgang Sourdeau faff3ed110 Monotone-Parent: f397fa9ac7a8d89b8f2af67b84d7530d6979b3e9
Monotone-Revision: 773965cc12e1e34ce72a11b7b25f3ff6e0dc7887

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-03-24T19:57:13
Monotone-Branch: ca.inverse.sogo
2008-03-24 19:57:13 +00:00

84 lines
3.1 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">
<label><input type="checkbox" class="checkBox"
const:name="ObjectViewer"
var:checked="userCanReadMails"/><var:string
label:value="Read mails from this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="MailSeenKeeper"
var:checked="userCanMarkMailsRead"/><var:string
label:value="Mark mails read and unread"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="MailWriter"
var:checked="userCanWriteMails"/><var:string
label:value="Modify the flags of the mails in this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="ObjectCreator"
var:checked="userCanInsertMails"/><var:string
label:value="Insert, copy and move mails into this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="MailPoster"
var:checked="userCanPostMails"/><var:string
label:value="Post mails"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="FolderCreator"
var:checked="userCanCreateSubfolders"/><var:string
label:value="Add subfolders to this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="FolderEraser"
var:checked="userCanRemoveFolder"/><var:string
label:value="Remove this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="ObjectEraser"
var:checked="userCanEraseMails"/><var:string
label:value="Erase mails from this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="MailExpunger"
var:checked="userCanExpungeFolder"/><var:string
label:value="Expunge this folder"/></label>
<br/>
<label><input type="checkbox" class="checkBox"
const:name="MailAdministrator"
var:checked="userIsAdministrator"/><var:string
label:value="Modify the acl of this folder"/></label>
<br/>
</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>