Skip to content
Snippets Groups Projects
Commit 793784a8 authored by Tim Steiner's avatar Tim Steiner
Browse files

Put something meaningful into the img alt attribute for a user's photo.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@133 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 640149d1
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,6 @@ function unl_cas_preprocess_user_picture(&$variables)
{
//Default image: http://planetred.unl.edu/mod/profile/graphics/defaulttopbar.gif
$username = $variables['account']->name;
$variables['user_picture'] = '<img src="http://planetred.unl.edu/pg/icon/unl_' . $username . '/large" alt="alt" />';
$variables['user_picture'] = '<img src="http://planetred.unl.edu/pg/icon/unl_' . $username . '/large" alt="' . $username . '\'s photo" />';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment