diff --git a/page.tgz b/page.tgz index c684499b..ade28eb2 100644 Binary files a/page.tgz and b/page.tgz differ diff --git a/page/README b/page/README deleted file mode 100755 index 6ec314b7..00000000 --- a/page/README +++ /dev/null @@ -1,3 +0,0 @@ -Pages - -Shows lists of community pages diff --git a/page/page.php b/page/page.php index 3333bb24..584ac556 100755 --- a/page/page.php +++ b/page/page.php @@ -1,7 +1,7 @@ * based on pages plugin by @@ -23,7 +23,7 @@ function page_getpage($uid) { $pagelist = array(); - $contacts = q("SELECT `id`, `url`, `name` FROM `contact` + $contacts = q("SELECT `id`, `url`, `name`, `micro`FROM `contact` WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d", intval($uid) ); @@ -32,7 +32,7 @@ function page_getpage($uid) { // Look if the profile is a community page foreach($contacts as $contact) { - $page[] = array("url"=>$contact["url"], "name"=>$contact["name"], "id"=>$contact["id"]); + $page[] = array("url"=>$contact["url"], "name"=>$contact["name"], "id"=>$contact["id"], "micro"=>$contact['micro']); } return($page); } @@ -50,7 +50,7 @@ function page_page_end($a,&$b) { $contacts = page_getpage($a->user['uid']); foreach($contacts as $contact) { - $page .= '