.bookmark-tags li { display: inline; }
-.bookmark-mentions li { display: inline; }
-.bookmark-avatar { float: left; }
-.bookmark-notice-count { float: right; }
-.bookmark-info { float: left; }
-.bookmark-title { margin-left: 0px; }
-#content .bookmark .entry-title { margin-left: 0px; }
-#content .bookmark .entry-content { margin-left: 0px; }
class BookmarkListItem extends NoticeListItemAdapter
{
- function showContent()
+ function showNotice()
{
- $this->out->elementStart('p', array('class' => 'entry-content'));
+ $this->nli->out->elementStart('div', 'entry-title');
+ $this->nli->showAuthor();
+ $this->showContent();
+ $this->nli->out->elementEnd('div');
+ }
+ function showContent()
+ {
$notice = $this->nli->notice;
$out = $this->nli->out;
+ $out->elementStart('p', array('class' => 'entry-content'));
+
$nb = Bookmark::getByNotice($notice);
$profile = $notice->getProfile();
$out->elementStart('h3');
$out->element('a',
array('href' => $att->url,
- 'class' => 'bookmark-title entry-title'),
+ 'class' => 'bookmark-title'),
$nb->title);
$out->elementEnd('h3');
- $countUrl = common_local_url('noticebyurl',
- array('id' => $att->id));
-
- $out->element('a', array('class' => 'bookmark-notice-count',
- 'href' => $countUrl),
- $att->noticeCount());
-
// Replies look like "for:" tags
$replies = $notice->getReplies();
$nb->description);
}
- $this->out->elementEnd('p');
+ $out->elementEnd('p');
}
}