aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-31 15:10:36 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-31 15:10:36 -0800
commit1964fa05e1b8874a094922206a1fb5f436194991 (patch)
treecebabfed1fd8e4e56aa25105ff9d8cbbd73dd3de /mod/channel.php
parentcaf3a69d999853bb7cc3b7ff525c331e68f2e0ae (diff)
downloadvolse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.tar.gz
volse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.tar.bz2
volse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.zip
issue #239, provide 'Public' text on ACL selector when appropriate to do so.
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 2b9d0ed89..074017466 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -128,7 +128,7 @@ function channel_content(&$a, $update = 0, $load = false) {
'default_location' => (($is_owner) ? $a->profile['channel_location'] : ''),
'nickname' => $a->profile['channel_address'],
'lockstate' => (((strlen($a->profile['channel_allow_cid'])) || (strlen($a->profile['channel_allow_gid'])) || (strlen($a->profile['channel_deny_cid'])) || (strlen($a->profile['channel_deny_gid']))) ? 'lock' : 'unlock'),
- 'acl' => (($is_owner) ? populate_acl($channel_acl) : ''),
+ 'acl' => (($is_owner) ? populate_acl($channel_acl,true,(($a->profile['channel_r_stream'] & PERMS_PUBLIC) ? t('Public') : '')) : ''),
'showacl' => (($is_owner) ? 'yes' : ''),
'bang' => '',
'visitor' => (($is_owner || $observer) ? true : false),