Monotone-Parent: 2d4d28c2707f8354d18f72b73ca8f02e475d3cfb

Monotone-Revision: a4c9cd2589743e62f753935bba32b3bcc889f831

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-24T22:34:04
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-04-24 22:34:04 +00:00
1 parent 6440d30f41
commit 82859a5a66
6 files changed
+156 -6

No files matched your search

+15 -1
View File
@@ -62,7 +62,6 @@
"this year" = "this year";
/* Menu */
"Calendars" = "Calendars";
@@ -82,6 +81,20 @@
"OpenGroupware.org" = "OpenGroupware.org";
"Forbidden" = "Forbidden";
/* acls */
"User rights for:" = "User rights for:";
"label_Public" = "Public";
"label_Private" = "Private";
"label_Confidential" = "Confidential";
"View All" = "View All";
"View the Date & Time" = "View the Date & Time";
"Modify" = "Modify";
"Respond To" = "Respond To";
"None" = "None";
"This person can create objects in my calendar."
= "This person can create objects in my calendar.";
"This person can erase objects from my calendar."
= "This person can erase objects from my calendar."
/* Button Titles */
@@ -97,6 +110,7 @@
"Close" = "Close";
"Invite Attendees" = "Invite Attendees";
"Documents" = "Documents";
"Update" = "Update";
"Cancel" = "Cancel";
"show_rejected_apts" = "Show rejected appointments";
"hide_rejected_apts" = "Hide rejected appointments";
+15 -2
View File
@@ -82,6 +82,20 @@
"OpenGroupware.org" = "OpenGroupware.org";
"Forbidden" = "Accès non autorisée";
/* acls */
"User rights for:" = "Autorisations pour :";
"label_Public" = "Public";
"label_Private" = "Privé";
"label_Confidential" = "Confidentiel";
"View All" = "Voir tout";
"View the Date & Time" = "Voir la date & l'heure";
"Modify" = "Modifier";
"Respond To" = "Répondre";
"None" = "Aucun";
"This person can create objects in my calendar."
= "Cette personne peut ajouter des objets à mon agenda.";
"This person can erase objects from my calendar."
= "Cette personne peut effacer des objets de mon agenda.";
/* Button Titles */
@@ -97,12 +111,12 @@
"Close" = "Fermer";
"Invite Attendees" = "Participants";
"Documents" = "Documents";
"Update" = "Mettre à jour";
"Cancel" = "Annuler";
"show_rejected_apts" = "Afficher les rendez-vous refusés";
"hide_rejected_apts" = "Cacher les rendez-vous refusés";
/* Schedule */
"Schedule" = "Suivi de rendez-vous";
"No appointments found" = "Aucun rendez-vous";
"Meetings proposed by you" = "Rendez-vous que vous proposez";
@@ -115,7 +129,6 @@
"Hide already accepted and rejected appointments" = "Cacher les invitations refusées";
"Show already accepted and rejected appointments" = "Montrer aussi les invitations refusées";
/* Appointments */
"Appointment viewer" = "Visualisation de rendez-vous";
@@ -0,0 +1,60 @@
<?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">
<label><var:string label:value="User rights for:"/><br/>
<span class="value"><var:string value="userDisplayName"/></span></label>
</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>
+8 -3
View File
@@ -70,15 +70,20 @@ function openRightsForUser(button) {
var elements = url.split("/");
elements[elements.length-1] = ("userRights?uid="
+ nodes[0].getAttribute("id"));
window.open(elements.join("/"));
window.open(elements.join("/"), "",
"width=502,height=250,resizable=0,scrollbars=0,toolbar=0,"
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
}
return false;
}
function onOpenUserRights(event) {
window.alert("user: " + this.getAttribute("id"));
event.preventDefault();
openRightsForUser();
event.preventDefault();
}
function onAclLoadHandler() {
@@ -0,0 +1,49 @@
DIV.title
{ color: #000;
vertical-align: bottom;
padding-top: 15px;
padding-left: 1em;
height: 33px;
background-color: #fff;
border-bottom: 1px solid #555; }
DIV.title SPAN.value
{ margin-left: 1em;
font-size: 18px;
font-weight: bold; }
DIV.calendarUserRights
{ margin: 1em;}
DIV.calendarUserRights > TABLE
{ background-color: #fff;
width: 45em;
color: #999;
border-collapse: collapse;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow transparent;
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow transparent; }
DIV.calendarUserRights > TABLE TR.permissions TH
{ color: #00f;
/* background-color: #ddd;
*/ border-bottom: 1px solid #999; }
DIV.calendarUserRights > TABLE TH
{ width: 15em; }
DIV.calendarUserRights > TABLE TD.eventType
{ width: 5em;
text-align: right;
border-right: 1px solid #999; }
DIV.calendarUserRights > TABLE TD
{ text-align: center;
border-top: 1px solid #cecbff; }
DIV.buttons
{ text-align: right;
margin: 1em; }
@@ -0,0 +1,9 @@
function onCancelClick(event) {
window.close();
}
function initACLButtons() {
$("cancelButton").addEventListener("click", onCancelClick, false);
}
window.addEventListener("load", initACLButtons, false);