Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save junaidpv/fb371ed195a9ffcf711486644a2c5bc1 to your computer and use it in GitHub Desktop.

Select an option

Save junaidpv/fb371ed195a9ffcf711486644a2c5bc1 to your computer and use it in GitHub Desktop.
Show special characters in site's name in user login form.
diff --git a/modules/user/user.module b/modules/user/user.module
index 2309aa9296..cb505bae69 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2116,7 +2116,7 @@ function user_login($form, &$form_state) {
'#required' => TRUE,
);
- $form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', 'Drupal')));
+ $form['name']['#description'] = t('Enter your !s username.', array('!s' => variable_get('site_name', 'Drupal')));
$form['pass'] = array('#type' => 'password',
'#title' => t('Password'),
'#description' => t('Enter the password that accompanies your username.'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment