mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:10:11 +00:00
Show "Redmatrix" as network name.
This commit is contained in:
parent
74a2f58efb
commit
fca8aecc9b
10 changed files with 36 additions and 30 deletions
|
@ -4,6 +4,7 @@ if(class_exists('Item'))
|
|||
|
||||
require_once('object/BaseObject.php');
|
||||
require_once('include/text.php');
|
||||
require_once('include/diaspora.php');
|
||||
require_once('boot.php');
|
||||
|
||||
/**
|
||||
|
@ -82,7 +83,6 @@ class Item extends BaseObject {
|
|||
*/
|
||||
public function get_template_data($alike, $dlike, $thread_level=1) {
|
||||
require_once("mod/proxy.php");
|
||||
require_once("include/diaspora.php");
|
||||
|
||||
$result = array();
|
||||
|
||||
|
@ -368,7 +368,7 @@ class Item extends BaseObject {
|
|||
'postopts' => $langstr,
|
||||
'edited' => $edited,
|
||||
'network' => $item["item_network"],
|
||||
'network_name' => network_to_name($item['item_network']),
|
||||
'network_name' => network_to_name($item['item_network'], $profile_link),
|
||||
);
|
||||
|
||||
$arr = array('item' => $item, 'output' => $tmp_item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue