Skip to content
Snippets Groups Projects
Commit 019d4c78 authored by Seth Meranda's avatar Seth Meranda
Browse files

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
parent c4759ebe
No related branches found
No related tags found
No related merge requests found
......@@ -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" />';
}
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