add avatars to likes/dislikes/etc.
This commit is contained in:
parent
7d5acef20a
commit
fba2603304
@ -1024,8 +1024,8 @@ function builtin_activity_puller($item, &$conv_responses) {
|
|||||||
|
|
||||||
if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
|
if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
|
||||||
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
|
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
|
||||||
$url = (($item['author']['xchan_url'])
|
$url = (($item['author']['xchan_url'] && $item['author']['xchan_photo_s'])
|
||||||
? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . $name . '</a>'
|
? '<a href="' . chanlink_url($item['author']['xchan_url']) . '">' . '<img class="response-photo" src="' . zid($item['author']['xchan_photo_s']) . ' alt="' . urlencode($name) . '" /> ' . $name . '</a>'
|
||||||
: '<a href="#" class="disabled">' . $name . '</a>'
|
: '<a href="#" class="disabled">' . $name . '</a>'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -246,3 +246,9 @@ a.wall-item-name-link {
|
|||||||
color: #FF0000;
|
color: #FF0000;
|
||||||
font-size: 1em !important;
|
font-size: 1em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.response-photo {
|
||||||
|
height: 18px !important;
|
||||||
|
width: 18px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user