summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Phillips2007-07-12 00:32:59 (GMT)
committer Chad Phillips2007-07-12 00:32:59 (GMT)
commita240003a1634b3d702165cd5ccc506c52ec6629b (patch)
tree17a587b3b66cffa3e09b850125b21f275281c38c
parent99a2a36c87a9cb9f22d8c1a69adfdcb47a110458 (diff)
#118517 -- Fix text substitution variables in revalidation e-mail. patch by Benjamin Melancon and myself.
-rwxr-xr-xlogintoboggan.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/logintoboggan.module b/logintoboggan.module
index 1198cce..da6280e 100755
--- a/logintoboggan.module
+++ b/logintoboggan.module
@@ -881,7 +881,7 @@ function logintoboggan_resend_validation($uid) {
// Variables to replace in e-mail
$pass = t('If required, you may reset your password from: !url', array('!url' => url('user/password', NULL, NULL, TRUE)));
- $variables = array('%username' => $account->name, '%site' => variable_get('site_name', 'drupal'), '%password' => $pass, '%uri' => $base_url, '%uri_brief' => substr($base_url, strlen(_logintoboggan_protocol() .'://')), '%mailto' => $account->mail, '%date' => format_date(time()), '%login_uri' => url('user', NULL, NULL, TRUE), '%edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE), '%login_url' => logintoboggan_eml_validate_url($account));
+ $variables = array('!username' => $account->name, '!site' => variable_get('site_name', 'drupal'), '!password' => $pass, '!uri' => $base_url, '!uri_brief' => substr($base_url, strlen(_logintoboggan_protocol() .'://')), '!mailto' => $account->mail, '!date' => format_date(time()), '!login_uri' => url('user', NULL, NULL, TRUE), '!edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE), '!login_url' => logintoboggan_eml_validate_url($account));
// Prepare and send e-mail.
$from = variable_get('site_mail', ini_get('sendmail_from'));