See ChangeLog.

Monotone-Parent: d880f3f750251d35b56db7d720ccacbdeead7540
Monotone-Revision: 05f8b72feb6a6c81f20462457e2dbc6c47ae9edc

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-01T21:11:28
This commit is contained in:
Francis Lachapelle
2012-02-01 21:11:28 +00:00
parent 16edbd7024
commit 0f87c1e648
18 changed files with 129 additions and 125 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
var cachedContacts = {};
var usersRightsWindowHeight = 179;
var usersRightsWindowHeight = 194;
var usersRightsWindowWidth = 450;
var Contact = {
+1 -1
View File
@@ -24,7 +24,7 @@ var Mailer = {
sortByThread: false
};
var usersRightsWindowHeight = 320;
var usersRightsWindowHeight = 335;
var usersRightsWindowWidth = 400;
var pageContent = $("pageContent");
@@ -3,17 +3,29 @@ DIV.title
vertical-align: bottom;
padding-top: 8px;
padding-left: 1em;
height: 33px;
padding: 5px;
background-color: #fff;
border-bottom: 1px solid #555; }
DIV.title SPAN
{ float: left;
line-height: 14px;
text-align: right;
width: 120px; }
DIV.title SPAN.value
{ margin-left: 1em;
{ float: none;
margin-left: 1em;
font-size: 14px;
font-weight: bold; }
DIV.calendarUserRights
{ margin: 1em; }
DIV.title LABEL
{ display: block;
clear: both; }
DIV.calendarUserRights,
DIV.basicUserRights
{ margin: 1em;}
DIV.calendarUserRights SPAN
{ float: left;
@@ -33,4 +45,4 @@ DIV.dialog.none
top: 0px;
left: 0px;
right: 0px;
margin: 50px auto; }
margin: 25px auto; }
@@ -21,9 +21,16 @@ function onUpdateACL(event) {
}
}
if (enabled) {
showConfirmDialog(_("Confirmation"), _("Are you sure you want to give rights to " + ((uid == "<default>")?"all authenticated users":"everybody") + "?"),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
if (uid == '<default>')
showConfirmDialog(_("Warning"),
_("Any user with an account on this system will be able to access your calendar \"%{0}\". Are you certain you trust them all?").formatted($("folderName").allTextContent()),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
else
showConfirmDialog(_("Warning"),
_("Potentially anyone on the Internet will be able to access your calendar \"%{0}\", even if they do not have an account on this system. Is this information suitable for the public Internet?").formatted($("folderName").allTextContent()),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
return false;
}
}
@@ -3,46 +3,29 @@ DIV.title
vertical-align: bottom;
padding-top: 8px;
padding-left: 1em;
height: 33px;
padding: 5px;
background-color: #fff;
border-bottom: 1px solid #555; }
DIV.calendarUserRights,
DIV.basicUserRights
{ margin: 1em;}
DIV.title SPAN
{ float: left;
line-height: 14px;
text-align: right;
width: 120px; }
DIV.title SPAN.value
{ margin-left: 1em;
{ float: none;
margin-left: 1em;
font-size: 14px;
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: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 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.title LABEL
{ display: block;
clear: both; }
DIV.buttons
{ text-align: right;
@@ -12,9 +12,16 @@ function onUpdateACL(event) {
}
}
if (enabled) {
showConfirmDialog(_("Confirmation"), _("Are you sure you want to give rights to " + ((uid == "<default>")?"all authenticated users":"everybody") + "?"),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
if (uid == '<default>')
showConfirmDialog(_("Warning"),
_("Any user with an account on this system will be able to access your address book \"%{0}\". Are you certain you trust them all?").formatted($("folderName").allTextContent()),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
else
showConfirmDialog(_("Warning"),
_("Potentially anyone on the Internet will be able to access your address book \"%{0}\", even if they do not have an account on this system. Is this information suitable for the public Internet?").formatted($("folderName").allTextContent()),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
return false;
}
}
@@ -3,47 +3,22 @@ DIV.title
vertical-align: bottom;
padding-top: 8px;
padding-left: 1em;
height: 33px;
padding: 5px;
background-color: #fff;
border-bottom: 1px solid #555; }
DIV.title SPAN.value
{ margin-left: 1em;
{ margin-left: 2em;
font-size: 14px;
font-weight: bold; }
DIV.calendarUserRights
DIV.title LABEL
{ display: block; }
DIV.calendarUserRights,
DIV.basicUserRights
{ 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: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 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; }
@@ -11,7 +11,7 @@ function onUpdateACL(event) {
}
}
if (enabled) {
showConfirmDialog(_("Confirmation"), _("Are you sure you want to give rights to all authenticated users?"),
showConfirmDialog(_("Warning"), _("Any user with an account on this system will be able to access your mailbox \"%{0}\". Are you certain you trust them all?").formatted($("folderName").allTextContent()),
onUpdateACLConfirm, onUpdateACLCancel,
"Give Access", "Keep Private");
return false;