aboutsummaryrefslogtreecommitdiffstats
path: root/include/PermissionDescription.php
diff options
context:
space:
mode:
authorTreer <treer.git@the-bordello.com>2016-05-19 22:37:21 +1000
committerTreer <treer.git@the-bordello.com>2016-05-19 22:37:21 +1000
commit6b69184554d2e24f539d9841a9cb2d851f9aa5a7 (patch)
treea4c1e9df186071b9cf3148feec8eddf30b9fcafe /include/PermissionDescription.php
parent50d1d06b0324737ca6dc7dab43e42217ee9381b4 (diff)
downloadvolse-hubzilla-6b69184554d2e24f539d9841a9cb2d851f9aa5a7.tar.gz
volse-hubzilla-6b69184554d2e24f539d9841a9cb2d851f9aa5a7.tar.bz2
volse-hubzilla-6b69184554d2e24f539d9841a9cb2d851f9aa5a7.zip
fix permission string
Diffstat (limited to 'include/PermissionDescription.php')
-rw-r--r--include/PermissionDescription.php12
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 '';