more indicators of public visibility
This commit is contained in:
parent
e51e772abc
commit
a27b7fb28d
|
@ -130,7 +130,7 @@ function populate_acl($user = null,$celeb = false) {
|
||||||
$o = '';
|
$o = '';
|
||||||
$o .= '<div id="acl-wrapper">';
|
$o .= '<div id="acl-wrapper">';
|
||||||
$o .= '<div id="acl-permit-outer-wrapper">';
|
$o .= '<div id="acl-permit-outer-wrapper">';
|
||||||
$o .= '<div id="acl-permit-text">' . t('Visible To:') . '</div>';
|
$o .= '<div id="acl-permit-text">' . t('Visible To:') . '</div><div id="jot-public">' . t('everybody') . '</div>';
|
||||||
$o .= '<div id="acl-permit-text-end"></div>';
|
$o .= '<div id="acl-permit-text-end"></div>';
|
||||||
$o .= '<div id="acl-permit-wrapper">';
|
$o .= '<div id="acl-permit-wrapper">';
|
||||||
$o .= '<div id="group_allow_wrapper">';
|
$o .= '<div id="group_allow_wrapper">';
|
||||||
|
|
|
@ -83,12 +83,12 @@ tinyMCE.init({
|
||||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||||
selstr = $(this).text();
|
selstr = $(this).text();
|
||||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||||
$('#jot-public').attr('checked', false);
|
$('#jot-public').hide();
|
||||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||||
});
|
});
|
||||||
if(selstr == null) {
|
if(selstr == null) {
|
||||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||||
$('#jot-public').attr('checked', 'checked');
|
$('#jot-public').show();
|
||||||
$('.profile-jot-net input').attr('disabled', false);
|
$('.profile-jot-net input').attr('disabled', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
<div id="profile-jot-perms-end"></div>
|
<div id="profile-jot-perms-end"></div>
|
||||||
<div id="profile-jot-email-wrapper" style="display: none;" >
|
<div id="profile-jot-email-wrapper" style="display: none;" >
|
||||||
<div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
|
<div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
|
||||||
<!-- div id="profile-jot-publabel">$public</div><input type="checkbox" name="public" id="jot-public" / -->
|
|
||||||
<div id="profile-jot-email-end"></div>
|
<div id="profile-jot-email-end"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -77,10 +77,12 @@ tinyMCE.init({
|
||||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||||
selstr = $(this).text();
|
selstr = $(this).text();
|
||||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||||
|
$('#jot-public').hide();
|
||||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||||
});
|
});
|
||||||
if(selstr == null) {
|
if(selstr == null) {
|
||||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||||
|
$('#jot-public').show();
|
||||||
$('.profile-jot-net input').attr('disabled', false);
|
$('.profile-jot-net input').attr('disabled', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -296,8 +296,15 @@ aside #viewcontacts { text-align: right;}
|
||||||
#contact_deny_wrapper,
|
#contact_deny_wrapper,
|
||||||
#acl-deny-outer-wrapper { width: 47%; float: right; }
|
#acl-deny-outer-wrapper { width: 47%; float: right; }
|
||||||
|
|
||||||
#acl-permit-text,
|
#acl-permit-text {background-color: #555753; color: #ccccce; padding: 5px; float: left;}
|
||||||
#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px;}
|
#jot-public {background-color: #555753; color: #ff0000; padding: 5px; float: left;}
|
||||||
|
#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px; float: left;}
|
||||||
|
|
||||||
|
#acl-permit-text-end,
|
||||||
|
#acl-deny-text-end { clear: both; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#acl-permit-wrapper,
|
#acl-permit-wrapper,
|
||||||
#acl-deny-wrapper { padding: 5px; }
|
#acl-deny-wrapper { padding: 5px; }
|
||||||
|
|
|
@ -1584,11 +1584,26 @@ input#dfrn-url {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#acl-permit-text,
|
#acl-permit-text {
|
||||||
|
margin-top: 10px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
#acl-deny-text {
|
#acl-deny-text {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#jot-public {
|
||||||
|
float: left;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#acl-permit-text-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
#acl-allow-group-label,
|
#acl-allow-group-label,
|
||||||
#acl-allow-contact-label,
|
#acl-allow-contact-label,
|
||||||
#acl-deny-group-label,
|
#acl-deny-group-label,
|
||||||
|
|
|
@ -1644,11 +1644,26 @@ padding: 5px 10px 0px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#acl-permit-text,
|
#acl-permit-text {
|
||||||
|
margin-top: 10px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
#acl-deny-text {
|
#acl-deny-text {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#jot-public {
|
||||||
|
float: left;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#acl-permit-text-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
#acl-allow-group-label,
|
#acl-allow-group-label,
|
||||||
#acl-allow-contact-label,
|
#acl-allow-contact-label,
|
||||||
#acl-deny-group-label,
|
#acl-deny-group-label,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user