aboutsummaryrefslogtreecommitdiffstats
path: root/mod/acl.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/acl.php')
-rw-r--r--mod/acl.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/mod/acl.php b/mod/acl.php
index ed9e935e9..3b737d36e 100644
--- a/mod/acl.php
+++ b/mod/acl.php
@@ -206,6 +206,20 @@ function acl_init(&$a){
if(count($r)) {
foreach($r as $g){
+ if($g['abook_their_perms'] & PERMS_W_TAGWALL) {
+ $contacts[] = array(
+ "type" => "c",
+ "photo" => "images/twopeople.png",
+ "name" => $g['name'] . '+',
+ "id" => $g['id'] . '+',
+ "xid" => $g['hash'],
+ "link" => $g['nick'],
+ "nick" => substr($g['nick'],0,strpos($g['nick'],'@')),
+ "self" => (($g['abook_flags'] & ABOOK_FLAG_SELF) ? 'abook-self' : ''),
+ "taggable" => 'taggable',
+ "label" => t('network')
+ );
+ }
$contacts[] = array(
"type" => "c",
"photo" => $g['micro'],
@@ -215,7 +229,8 @@ function acl_init(&$a){
"link" => $g['nick'],
"nick" => substr($g['nick'],0,strpos($g['nick'],'@')),
"self" => (($g['abook_flags'] & ABOOK_FLAG_SELF) ? 'abook-self' : ''),
- "taggable" => (($g['abook_their_perms'] & PERMS_W_TAGWALL) ? 'taggable' : '')
+ "taggable" => '',
+ "label" => '',
);
}
}