diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
commit | e2b4d33627d5f4cf5f68eb087059d86c78eec41e (patch) | |
tree | 328313432c53b1a6c146595b91f4883ef5c33131 /mod/channel.php | |
parent | 7690dca67b6574cd5b6ffcc59b1c8c6b2df5d54e (diff) | |
download | volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.gz volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.bz2 volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.zip |
some work on comanche autocomplete
Diffstat (limited to 'mod/channel.php')
-rw-r--r-- | mod/channel.php | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mod/channel.php b/mod/channel.php index 88c420366..87ced9246 100644 --- a/mod/channel.php +++ b/mod/channel.php @@ -124,15 +124,17 @@ function channel_content(&$a, $update = 0, $load = false) { $x = array( 'is_owner' => $is_owner, - 'allow_location' => ((($is_owner || $observer) && (intval(get_pconfig(App::$profile['profile_uid'],'system','use_browser_location')))) ? true : false), - 'default_location' => (($is_owner) ? App::$profile['channel_location'] : ''), - 'nickname' => App::$profile['channel_address'], - 'lockstate' => (((strlen(App::$profile['channel_allow_cid'])) || (strlen(App::$profile['channel_allow_gid'])) || (strlen(App::$profile['channel_deny_cid'])) || (strlen(App::$profile['channel_deny_gid']))) ? 'lock' : 'unlock'), - 'acl' => (($is_owner) ? populate_acl($channel_acl,true,((App::$profile['channel_r_stream'] & PERMS_PUBLIC) ? t('Public') : '')) : ''), + 'allow_location' => ((($is_owner || $observer) && (intval(get_pconfig(App::$profile['profile_uid'],'system','use_browser_location')))) ? true : false), + 'default_location' => (($is_owner) ? App::$profile['channel_location'] : ''), + 'nickname' => App::$profile['channel_address'], + 'lockstate' => (((strlen(App::$profile['channel_allow_cid'])) || (strlen(App::$profile['channel_allow_gid'])) || (strlen(App::$profile['channel_deny_cid'])) || (strlen(App::$profile['channel_deny_gid']))) ? 'lock' : 'unlock'), + 'acl' => (($is_owner) ? populate_acl($channel_acl,true,((App::$profile['channel_r_stream'] & PERMS_PUBLIC) ? t('Public') : '')) : ''), 'showacl' => (($is_owner) ? 'yes' : ''), - 'bang' => '', + 'bang' => '', 'visitor' => (($is_owner || $observer) ? true : false), - 'profile_uid' => App::$profile['profile_uid'] + 'profile_uid' => App::$profile['profile_uid'], + 'bbco_autocomplete' => 'bbcode', + 'bbcode' => true ); $o .= status_editor($a,$x); |