diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:46:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:46:31 -0400 |
commit | f614bb5bf24ca063ab99994776fab9fc54bea4d9 (patch) | |
tree | ced4edf7b3758021dcc2d06ddfbc8076d66b79cb /actions/subscribed.php | |
parent | e70b7d3a6c82358e38a65eade5753b5ba33ab51a (diff) |
add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r-- | actions/subscribed.php | 10 |
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 |