Slightly modify reshares so they can be themed as a whole.

This commit is contained in:
Thomas Willingham 2013-10-02 05:03:09 +01:00
parent bde20f81e6
commit b25d2e0d12

View File

@ -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);
} }