Slightly modify reshares so they can be themed as a whole.
This commit is contained in:
parent
bde20f81e6
commit
b25d2e0d12
@ -131,7 +131,7 @@ function bb_ShareAttributes($match) {
|
|||||||
// FIXME - this should really be a wall-item-ago so it will get updated on the client
|
// FIXME - this should really be a wall-item-ago so it will get updated on the client
|
||||||
$reldate = (($posted) ? relative_date($posted) : '');
|
$reldate = (($posted) ? relative_date($posted) : '');
|
||||||
|
|
||||||
$headline = '<div class="shared_header">';
|
$headline = '<div class="shared_container"> <div class="shared_header">';
|
||||||
|
|
||||||
if ($avatar != "")
|
if ($avatar != "")
|
||||||
$headline .= '<img src="' . $avatar . '" alt="' . $author . '" height="32" width="32" />';
|
$headline .= '<img src="' . $avatar . '" alt="' . $author . '" height="32" width="32" />';
|
||||||
@ -146,7 +146,7 @@ function bb_ShareAttributes($match) {
|
|||||||
|
|
||||||
$headline .= '<span>' . $fmt . '</span></div>';
|
$headline .= '<span>' . $fmt . '</span></div>';
|
||||||
|
|
||||||
$text = $headline . '<div class="reshared-content">' . trim($match[2]) . '</div>';
|
$text = $headline . '<div class="reshared-content">' . trim($match[2]) . '</div></div>';
|
||||||
|
|
||||||
return($text);
|
return($text);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user