From 019d4c78fa21e3a9f04c6a3b94c70ac92e4f6ab8 Mon Sep 17 00:00:00 2001
From: Seth Meranda <seth@unl.edu>
Date: Fri, 10 Sep 2010 16:35:58 +0000
Subject: [PATCH] Change spelling to Planet Red, use medium icon and add
 standardized css UI to the image.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@161 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 sites/all/modules/unl/unl_cas.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sites/all/modules/unl/unl_cas.module b/sites/all/modules/unl/unl_cas.module
index 86236c19..5875f802 100644
--- a/sites/all/modules/unl/unl_cas.module
+++ b/sites/all/modules/unl/unl_cas.module
@@ -99,7 +99,7 @@ function unl_cas_form_alter(&$form, $form_state, $form_id)
         $form['account']['current_pass_required_values']['#type'] = 'hidden';
         $form['account']['current_pass']['#type'] = 'hidden';
         
-        $form['picture']['#description'] = 'To change your picture, visit <a href="http://planetred.unl.edu">planetred</a>.';
+        $form['picture']['#description'] = 'To change your picture, visit <a href="http://planetred.unl.edu/pg/profile/unl_' . $username .">Planet Red</a>.';
         $form['picture']['picture_delete']['#type'] = 'hidden';
         $form['picture']['picture_upload']['#type'] = 'hidden';
     }
@@ -140,6 +140,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="' . $username . '\'s photo" />';
+	$variables['user_picture'] = '<img class="profile_pic medium" src="http://planetred.unl.edu/pg/icon/unl_' . $username . '/medium" alt="' . $username . '\'s photo" />';
 }
 
-- 
GitLab