mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
We now have a global page for all global entries from the network.
This commit is contained in:
parent
6925299e5a
commit
3ffea2cd2c
16 changed files with 264 additions and 71 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue