aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-03 21:16:57 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-03 21:16:57 +0200
commitc50bfa07ca3a456d69d73988f42e58e3282879e9 (patch)
tree62f67ca42fa8cd19df88afa337837dc52db8986c /include/conversation.php
parentd858bd9265a4a0fa3589cdb2126031998310c7c3 (diff)
downloadvolse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.tar.gz
volse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.tar.bz2
volse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.zip
multiple acl work
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 1efca37f3..f68d538dc 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1213,6 +1213,8 @@ function status_editor($a, $x, $popup = false) {
call_hooks('jot_tool', $jotplugins);
+ //print_r(acl2json($x['permissions']['allow_gid'])); killme();
+
$o .= replace_macros($tpl, array(
'$return_path' => ((x($x, 'return_path')) ? $x['return_path'] : App::$query_string),
'$action' => z_root() . '/item',
@@ -1253,6 +1255,10 @@ function status_editor($a, $x, $popup = false) {
'$visitor' => $x['visitor'],
'$lockstate' => $x['lockstate'],
'$acl' => $x['acl'],
+ '$allow_cid' => acl2json($x['permissions']['allow_cid']),
+ '$allow_gid' => acl2json($x['permissions']['allow_gid']),
+ '$deny_cid' => acl2json($x['permissions']['deny_cid']),
+ '$deny_gid' => acl2json($x['permissions']['deny_gid']),
'$mimeselect' => $mimeselect,
'$layoutselect' => $layoutselect,
'$showacl' => ((array_key_exists('showacl', $x)) ? $x['showacl'] : true),