From c5463578cd0cd46f1fdc8621cf0aa75658e81c8d Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Mon, 13 Jun 2011 06:20:10 -0400 Subject: [PATCH] Issue 734536 by rfay, pillarsdotnet: Change "Request new password" text to "Request login by email". --- modules/user/user.module | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/user/user.module b/modules/user/user.module index ffd170c458159285dd8256c0ebd0f6e083aa441f..43d6743f0435594ff0b0f6ae3e65876b65ccf8ec 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1033,7 +1033,7 @@ function user_account_form(&$form, &$form_state) { if (!$pass_reset) { $protected_values['mail'] = $form['account']['mail']['#title']; $protected_values['pass'] = t('Password'); - $request_new = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.')))); + $request_new = l(t('Request login by email'), 'user/password', array('attributes' => array('title' => t('Request new login link via e-mail.')))); $current_pass_description = t('Enter your current password to change the %mail or %pass. !request_new.', array('%mail' => $protected_values['mail'], '%pass' => $protected_values['pass'], '!request_new' => $request_new)); } // The user must enter their current password to change to a new one. @@ -1288,7 +1288,7 @@ function user_login_block($form) { if (variable_get('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL)) { $items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.')))); } - $items[] = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.')))); + $items[] = l(t('Request login by email'), 'user/password', array('attributes' => array('title' => t('Request new login link via e-mail.')))); $form['links'] = array('#markup' => theme('item_list', array('items' => $items))); return $form; } @@ -1578,7 +1578,7 @@ function user_menu() { ); $items['user/password'] = array( - 'title' => 'Request new password', + 'title' => 'Request login by email', 'page callback' => 'drupal_get_form', 'page arguments' => array('user_pass'), 'access callback' => TRUE, -- 1.7.4.1