aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-18 23:23:18 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-18 23:23:18 -0700
commit9b0584e59338f0b75c6b8a9a1b5def33da5de5f6 (patch)
treee0d4e2f339f4960ff8b8bc20a3ac9d1badf0a055 /mod/network.php
parent3c0c8a2dc1bdc196c2fb94da52c07c44c9690fd3 (diff)
downloadvolse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.tar.gz
volse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.tar.bz2
volse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.zip
revamp of item structure
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/network.php b/mod/network.php
index aa662c79c..3ccd8be48 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -92,7 +92,7 @@ function network_content(&$a) {
$template = $wallwall;
$commentww = 'ww';
}
- if($item['type'] == 'remote' && ($item['owner-link'] != $item['remote-link'])) {
+ if($item['type'] == 'remote' && ($item['owner-link'] != $item['author-link'])) {
// Could be anybody.
$owner_url = $item['owner-link'];
$owner_photo = $item['owner-avatar'];
@@ -125,18 +125,18 @@ function network_content(&$a) {
// Post was remotely authored.
- $profile_name = ((strlen($item['remote-name'])) ? $item['remote-name'] : $item['name']);
- $profile_avatar = ((strlen($item['remote-avatar'])) ? $item['remote-avatar'] : $thumb);
+ $profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
+ $profile_avatar = ((strlen($item['author-avatar'])) ? $item['author-avatar'] : $thumb);
$profile_link = $profile_url;
// Can we use our special contact URL for this author?
- if(strlen($item['remote-link'])) {
- if($item['remote-link'] == $item['url'])
+ if(strlen($item['author-link'])) {
+ if($item['author-link'] == $item['url'])
$profile_link = $redirect_url;
else
- $profile_link = $item['remote-link'];
+ $profile_link = $item['author-link'];
}
// Build the HTML