summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r--actions/subscribed.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/actions/subscribed.php b/actions/subscribed.php
index 61cb8dac6..eed2b6c2c 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -62,15 +62,19 @@ class SubscribedAction extends Action {
common_element_start('div', 'row');
}
- common_element_start('a', array('title' => $subs->fullname ||
- $subs->nickname,
+ common_element_start('a', array('title' => ($subs->fullname) ?
+ $subs->fullname :
+ $subs->nickname,
'href' => $subs->profileurl,
'class' => 'subscription'));
$avatar = $subs->getAvatar(AVATAR_STREAM_SIZE);
common_element('img', array('src' => (($avatar) ? $avatar->url : DEFAULT_STREAM_AVATAR),
'width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE,
- 'class' => 'avatar stream'));
+ 'class' => 'avatar stream',
+ 'alt' => ($subs->fullname) ?
+ $subs->fullname :
+ $subs->nickname));
common_element_end('a');
# XXX: subscribe form here