]> git.mxchange.org Git - friendica.git/commitdiff
more indicators of public visibility
authorFriendika <info@friendika.com>
Fri, 20 May 2011 02:55:34 +0000 (19:55 -0700)
committerFriendika <info@friendika.com>
Fri, 20 May 2011 02:55:34 +0000 (19:55 -0700)
include/acl_selectors.php
view/jot-header.tpl
view/jot.tpl
view/theme/dispy/jot-header.tpl
view/theme/dispy/style.css
view/theme/duepuntozero/style.css
view/theme/loozah/style.css

index f2763a56969ed75eacfd67090ba40a6efd2efbab..b1bcf510864d2907b8d42d74d6b5ed0224d15ee6 100644 (file)
@@ -130,7 +130,7 @@ function populate_acl($user = null,$celeb = false) {
        $o = '';
        $o .= '<div id="acl-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-wrapper">';
        $o .= '<div id="group_allow_wrapper">';
index eae6cb0f44f56f4cc3fd8c123b3e3c43553a28ec..0fcd1e42fec1e74b6c1a6e5531abc71eab87206d 100644 (file)
@@ -83,12 +83,12 @@ tinyMCE.init({
                        $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
                                selstr = $(this).text();
                                $('#jot-perms-icon').removeClass('unlock').addClass('lock');
-                               $('#jot-public').attr('checked', false);
+                               $('#jot-public').hide();
                                $('.profile-jot-net input').attr('disabled', 'disabled');
                        });
                        if(selstr == null) { 
                                $('#jot-perms-icon').removeClass('lock').addClass('unlock');
-                               $('#jot-public').attr('checked', 'checked');
+                               $('#jot-public').show();
                                $('.profile-jot-net input').attr('disabled', false);
                        }
 
index ab7d97733f63dc43492686d719c47d6265e11ffc..31abafe501fafc1a22fe4892d8a3c3e677c6330d 100644 (file)
@@ -58,7 +58,6 @@
        <div id="profile-jot-perms-end"></div>
        <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-publabel">$public</div><input type="checkbox" name="public" id="jot-public" /  --> 
                <div id="profile-jot-email-end"></div>
        </div>
        
index 4661161b31661d7f73752051ef3a695b0936beec..40584878ae9452ff92163d3fd55bdf6fb3aedd6f 100644 (file)
@@ -77,10 +77,12 @@ tinyMCE.init({
                        $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
                                selstr = $(this).text();
                                $('#jot-perms-icon').removeClass('unlock').addClass('lock');
+                               $('#jot-public').hide();
                                $('.profile-jot-net input').attr('disabled', 'disabled');
                        });
                        if(selstr == null) { 
                                $('#jot-perms-icon').removeClass('lock').addClass('unlock');
+                               $('#jot-public').show();
                                $('.profile-jot-net input').attr('disabled', false);
                        }
 
index a0f860494d2e090af7503e675a5beb48df0349fd..a212c19358bdfde3bbe9073fa8a7fb57833faf91 100644 (file)
@@ -296,8 +296,15 @@ aside #viewcontacts { text-align: right;}
 #contact_deny_wrapper,
 #acl-deny-outer-wrapper { width: 47%; float: right; }
 
-#acl-permit-text,
-#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px;}
+#acl-permit-text {background-color: #555753; color: #ccccce; padding: 5px; float: left;}
+#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-deny-wrapper { padding: 5px; }
index de5c7729920ab551902b1c5b2845f91bd638a930..8a397c10ccde001834657c60fd96df29cb8e5f10 100644 (file)
@@ -1584,11 +1584,26 @@ input#dfrn-url {
        display: block;
 }
 
-#acl-permit-text,
+#acl-permit-text {
+       margin-top: 10px;
+       float: left;
+}
+
 #acl-deny-text {
        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-contact-label,
 #acl-deny-group-label,
index 9404a632ccdbf2c0144884a87210c31ebcca5397..0ae2ab4cd88b3e27241fb4f68b79b7b05470ebbe 100644 (file)
@@ -1644,9 +1644,24 @@ padding: 5px 10px 0px;
        display: block;
 }
 
-#acl-permit-text,
+#acl-permit-text {
+    margin-top: 10px;
+    float: left;
+}
+
 #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,