mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-24 14:40:37 +00:00
Monotone-Parent: aac9836bd4e13254359c01d70b0151a7f9045aff
Monotone-Revision: 055c6c35ac3904cb01f393842e5fef9041d23588 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-20T16:28:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -59,14 +59,15 @@ UL#userList
|
||||
UL#userList LI
|
||||
{ clear: both;
|
||||
cursor: pointer;
|
||||
height: 2em;
|
||||
text-align: right;
|
||||
padding-left: 3px; }
|
||||
|
||||
SPAN.userFullName
|
||||
{ float: left; }
|
||||
|
||||
DIV#userSelectorButtons A.smallToolbarButton
|
||||
{ float: left; }
|
||||
|
||||
SPAN.userFullName
|
||||
{ float: left; }
|
||||
|
||||
LABEL.subscriptionArea
|
||||
{ padding-right: 5px; }
|
||||
|
||||
@@ -68,30 +68,21 @@ function nodeForUser(userName, userId) {
|
||||
span.appendChild(document.createTextNode(" " + userName));
|
||||
node.appendChild(span);
|
||||
|
||||
var label = $(document.createElement("label"));
|
||||
label.addClassName("class", "subscriptionArea");
|
||||
var cb = document.createElement("input");
|
||||
cb.type = "checkbox";
|
||||
label.appendChild(cb);
|
||||
label.appendChild(document.createTextNode(getLabel("Subscribe User")));
|
||||
node.appendChild(label);
|
||||
if (canSubscribeUsers) {
|
||||
var label = $(document.createElement("label"));
|
||||
label.addClassName("subscriptionArea");
|
||||
var cb = document.createElement("input");
|
||||
cb.type = "checkbox";
|
||||
label.appendChild(cb);
|
||||
label.appendChild(document.createTextNode(getLabel("Subscribe User")));
|
||||
node.appendChild(label);
|
||||
}
|
||||
|
||||
setEventsOnUserNode(node);
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
function saveAcls() {
|
||||
var uidList = new Array();
|
||||
var users = $("userList").childNodesWithTag("li");
|
||||
for (var i = 0; i < users.length; i++)
|
||||
uidList.push(users[i].getAttribute("id"));
|
||||
$("userUIDS").value = uidList.join(",");
|
||||
$("aclForm").submit();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function onUserAdd(event) {
|
||||
openUserFolderSelector(null, "user");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user