Skip to content
Snippets Groups Projects
Commit d5aae21f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #73087 by beginner and Rol: fixed alt-attribute in user profile pages.

parent 4ffdd6df
No related branches found
No related tags found
No related merge requests found
......@@ -605,7 +605,7 @@ function theme_user_picture($account) {
}
if (isset($picture)) {
$alt = t('%user\'s picture', array('%user' => $account->name ? $account->name : variable_get('anonymous', 'Anonymous')));
$alt = t('@user\'s picture', array('@user' => $account->name ? $account->name : variable_get('anonymous', 'Anonymous')));
$picture = theme('image', $picture, $alt, $alt, '', FALSE);
if (!empty($account->uid) && user_access('access user profiles')) {
$picture = l($picture, "user/$account->uid", array('title' => t('View user profile.')), NULL, NULL, FALSE, TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment