diff options
author | hubzilla <git@macgirvin.com> | 2016-05-20 06:08:51 +1000 |
---|---|---|
committer | hubzilla <git@macgirvin.com> | 2016-05-20 06:08:51 +1000 |
commit | 3fe7bd8bcc579f0dfcde8bb1f49b72adde01b155 (patch) | |
tree | a4c1e9df186071b9cf3148feec8eddf30b9fcafe | |
parent | 50d1d06b0324737ca6dc7dab43e42217ee9381b4 (diff) | |
parent | 6b69184554d2e24f539d9841a9cb2d851f9aa5a7 (diff) | |
download | volse-hubzilla-3fe7bd8bcc579f0dfcde8bb1f49b72adde01b155.tar.gz volse-hubzilla-3fe7bd8bcc579f0dfcde8bb1f49b72adde01b155.tar.bz2 volse-hubzilla-3fe7bd8bcc579f0dfcde8bb1f49b72adde01b155.zip |
Merge pull request #396 from Treer/permissions
fix permission string
-rw-r--r-- | include/PermissionDescription.php | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/PermissionDescription.php b/include/PermissionDescription.php index 75dd9ecf7..1f7799406 100644 --- a/include/PermissionDescription.php +++ b/include/PermissionDescription.php @@ -117,11 +117,7 @@ class PermissionDescription { case PERMS_NETWORK: return t('Anybody in the $Projectname network'); case PERMS_SITE: return sprintf(t('Any account on %s'), \App::get_hostname()); case PERMS_CONTACTS: return t('Any of my connections'); - case PERMS_SPECIFIC: - // Because we're describing the permissions of an item with an empty ACL, - // the owner will be the only person able to see it if the permissions are - // set to "only specified connections". - return t('Only me (only specified contacts and me)'); + case PERMS_SPECIFIC: return t('Only connections I specifically allow'); case PERMS_AUTHED: return t('Anybody authenticated (could include visitors from other networks)'); case PERMS_PENDING: return t('Any connections including those who haven\'t yet been approved'); default: return $this->fallback_description; @@ -143,11 +139,7 @@ class PermissionDescription { case PERMS_NETWORK: return 'fa-share-alt-square'; // fa-share-alt-square is very similiar to the hubzilla logo, but we should create our own logo class to use case PERMS_SITE: return 'fa-sitemap'; case PERMS_CONTACTS: return 'fa-group'; - case PERMS_SPECIFIC: - // Because we're describing the permissions of an item with an empty ACL, - // the owner will be the only person able to see it if the permissions are - // set to "only specified connections". - return 'fa-eye-slash'; + case PERMS_SPECIFIC: return 'fa-list'; case PERMS_AUTHED: return ''; case PERMS_PENDING: return ''; default: return ''; |