summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 09:46:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 09:46:31 -0400
commitf614bb5bf24ca063ab99994776fab9fc54bea4d9 (patch)
treeced4edf7b3758021dcc2d06ddfbc8076d66b79cb /actions/subscriptions.php
parente70b7d3a6c82358e38a65eade5753b5ba33ab51a (diff)
add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index 669502939..ee073d126 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -59,15 +59,19 @@ class SubscriptionsAction 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