We now have a global page for all global entries from the network.

This commit is contained in:
Michael 2018-01-03 13:27:43 +00:00
parent 6925299e5a
commit 3ffea2cd2c
16 changed files with 264 additions and 71 deletions

View file

@ -322,6 +322,12 @@ class Post extends BaseObject
unset($buttons["like"]);
}
// If a contact isn't writable, we cannot send a like or dislike to it
if (!$item['writable']) {
unset($buttons["like"]);
unset($buttons["dislike"]);
}
$tmp_item = array(
'template' => $this->getTemplate(),
'type' => implode("", array_slice(explode("/", $item['verb']), -1)),