Social links and icons are now editables

This commit is contained in:
Manuel Cillero 2017-08-07 23:17:27 +02:00
parent ab55a69459
commit 7baa51d5a8
8 changed files with 89 additions and 33 deletions

View file

@ -1317,7 +1317,7 @@ function user_login(&$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', 'SuiteDesk')));
$form['pass'] = array('#type' => 'password',
'#title' => t('Password'),
'#description' => t('Enter the password that accompanies your username.'),
@ -2184,7 +2184,7 @@ function user_mail_tokens($account, $language) {
global $base_url;
$tokens = array(
'!username' => $account->name,
'!site' => variable_get('site_name', 'Drupal'),
'!site' => variable_get('site_name', 'SuiteDesk'),
'!login_url' => user_pass_reset_url($account),
'!uri' => $base_url,
'!uri_brief' => preg_replace('!^https?://!', '', $base_url),