return $object;
}
+ /**
+ * @fixme WARNING WARNING WARNING this opens a 'div' that is apparently closed by MicroAppPlugin
+ * @fixme that's probably wrong?
+ *
+ * @param Notice $notice
+ * @param HTMLOutputter $out
+ */
function showNotice($notice, $out)
{
$nb = Bookmark::getByNotice($notice);
'height' => AVATAR_MINI_SIZE,
'alt' => $profile->getBestName()));
- $out->raw(' ');
+ $out->raw(' '); // avoid for AJAX XML compatibility
+ $out->elementStart('span', 'vcard author'); // hack for belongsOnTimeline; JS needs to be able to find the author
$out->element('a',
- array('href' => $profile->profileurl,
+ array('class' => 'url',
+ 'href' => $profile->profileurl,
'title' => $profile->getBestName()),
$profile->nickname);
+ $out->elementEnd('span');
}
function entryForm($out)