diff --git a/sites/all/modules/unl/unl_cas.module b/sites/all/modules/unl/unl_cas.module index 86236c190f7ef01b40527d4544a33efe13b7e6ad..5875f8024be8c72ed9425e9d10b5eca8e9ac892c 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" />'; }