} else {
$out->elementStart('h3');
$out->element('a',
- array('href' => $att->url),
+ array('href' => $att->url,
+ 'class' => 'bookmark-title entry-title'),
$nb->title);
$out->elementEnd('h3');
$countUrl = common_local_url('noticebyurl',
array('id' => $att->id));
- $out->element('a', array('class' => 'bookmark_notice_count',
+ $out->element('a', array('class' => 'bookmark-notice-count',
'href' => $countUrl),
$att->noticeCount());
}
if (!empty($replies) || !empty($tags)) {
- $out->elementStart('ul', array('class' => 'bookmark_tags'));
+ $out->elementStart('ul', array('class' => 'bookmark-tags'));
foreach ($replies as $reply) {
$other = Profile::staticGet('id', $reply);
if (!empty($nb->description)) {
$out->element('p',
- array('class' => 'bookmark_description'),
+ array('class' => 'bookmark-description'),
$nb->description);
}
}
}
- $out->elementStart('p', array('class' => 'bookmark_info'));
+ $out->elementStart('p', array('class' => 'bookmark-info'));
$avatar = $profile->getAvatar(AVATAR_MINI_SIZE);
array('src' => ($avatar) ?
$avatar->displayUrl() :
Avatar::defaultImage(AVATAR_MINI_SIZE),
- 'class' => 'avatar photo bookmark_avatar',
+ 'class' => 'avatar photo bookmark-avatar',
'width' => AVATAR_MINI_SIZE,
'height' => AVATAR_MINI_SIZE,
'alt' => $profile->getBestName()));
-.bookmark_tags li { display: inline; }
-.bookmark_mentions li { display: inline; }
-.bookmark_avatar { float: left }
-.bookmark_notice_count { float: right }
-.bookmark_info { float: left }
+.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 }