From 793784a84ddce91e13b9ea887614c20928bdef75 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Fri, 2 Jul 2010 22:08:50 +0000 Subject: [PATCH] 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 --- sites/all/modules/unl/unl_cas.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/all/modules/unl/unl_cas.module b/sites/all/modules/unl/unl_cas.module index 62cc8ea6..a0ddc0c8 100644 --- a/sites/all/modules/unl/unl_cas.module +++ b/sites/all/modules/unl/unl_cas.module @@ -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" />'; } -- GitLab