summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-20 05:04:41 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-20 05:04:41 +0000
commit7f60558cbbe6f7cd862d9e9cf11667f29d8b08d8 (patch)
tree3b88c33aa914fe9190697bb01541a16bbac42918 /actions
parentec1249d3ad05b20e06b94dd4052d299eb8c1c17d (diff)
User subscriptions markup
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index ead8521e6..23013b007 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -382,14 +382,14 @@ class ShowstreamAction extends Action
$subs_count = $subs->find();
- $this->elementStart('div', array('id' => 'subscriptions',
+ $this->elementStart('div', array('id' => 'user_subscriptions',
'class' => 'section'));
$this->element('h2', null, _('Subscriptions'));
if ($subs_count > 0) {
- $this->elementStart('ul', array('id' => 'subscriptions_avatars'));
+ $this->elementStart('ul', 'users');
for ($i = 0; $i < min($subs_count, SUBSCRIPTIONS); $i++) {
@@ -411,15 +411,16 @@ class ShowstreamAction extends Action
$other->nickname,
'href' => $other->profileurl,
'rel' => 'contact',
- 'class' => 'subscription fn url'));
+ 'class' => 'url'));
$avatar = $other->getAvatar(AVATAR_MINI_SIZE);
$this->element('img', array('src' => (($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_MINI_SIZE)),
'width' => AVATAR_MINI_SIZE,
'height' => AVATAR_MINI_SIZE,
- 'class' => 'avatar mini photo',
+ 'class' => 'avatar photo',
'alt' => ($other->fullname) ?
$other->fullname :
$other->nickname));
+ $this->element('span', 'fn nickname', $other->nickname);
$this->elementEnd('a');
$this->elementEnd('li');
}
@@ -428,11 +429,11 @@ class ShowstreamAction extends Action
}
if ($subs_count > SUBSCRIPTIONS) {
- $this->elementStart('p', array('id' => 'subscriptions_viewall'));
+ $this->elementStart('p');
$this->element('a', array('href' => common_local_url('subscriptions',
array('nickname' => $this->profile->nickname)),
- 'class' => 'moresubscriptions'),
+ 'class' => 'mores'),
_('All subscriptions'));
$this->elementEnd('p');
}