Index: invite.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/invite/Attic/invite.install,v
retrieving revision 1.3.2.9
diff -u -r1.3.2.9 invite.install
--- invite.install	23 May 2007 19:43:36 -0000	1.3.2.9
+++ invite.install	12 Jul 2007 13:52:54 -0000
@@ -160,3 +160,18 @@
   }
   return $ret;
 }
+
+/**
+ * Update message tokens.
+ */
+function invite_update_6() {
+  $template = variable_get('invite_default_mail_template', NULL);
+  if (!is_null($template)) {
+    $s = array('@site', '@join_link', '@homepage', '@message', '@inviter');
+    $r = array('!site', '!join_link', '!homepage', '!message', '!inviter');
+    $template = str_replace($s, $r, $template);
+    variable_set('invite_default_mail_template', $template);
+  }
+  return array();
+}
+
Index: invite.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/invite/Attic/invite.module,v
retrieving revision 1.10.2.42
diff -u -r1.10.2.42 invite.module
--- invite.module	23 May 2007 19:43:36 -0000	1.10.2.42
+++ invite.module	12 Jul 2007 13:54:04 -0000
@@ -151,7 +151,7 @@
     '#title' => t('Mail template'),
     '#default_value' => _invite_get_mail_template(),
     '#required' => TRUE,
-    '#description' => t('Use the following placeholders: @site, @homepage, @join_link, @message, @inviter.'),
+    '#description' => t('Use the following placeholders: !site, !homepage, !join_link, !message, !inviter.'),
   );
 
   $form['email_settings']['invite_use_users_email'] = array(
@@ -866,7 +866,7 @@
   $homepage = $base_url;
   $inviter = $user_name;
 
-  $body = t($template, array('@site' => $site, '@join_link' => $join_link, '@homepage' => $homepage, '@message' => $message, '@inviter' => $inviter));
+  $body = t($template, array('!site' => $site, '!join_link' => $join_link, '!homepage' => $homepage, '!message' => $message, '!inviter' => $inviter));
 
   switch ($op){
     case "mail":
@@ -888,15 +888,15 @@
  * @return The localized email body.
  */
 function _invite_get_mail_template() {
-  $template = t("Your friend, @inviter has invited you to join @site [@homepage].
+  $template = t("Your friend, !inviter has invited you to join !site [!homepage].
 
-To become a member of @site, click the link below or paste it into the address bar of your browser. 
+To become a member of !site, click the link below or paste it into the address bar of your browser. 
 
-@join_link
+!join_link
 
 ----------
 
-@message");
+!message");
 
   return variable_get('invite_default_mail_template', $template);
 }

