function _invite_get_mail_template in Invite 6.2
Same name and namespace in other branches
- 5.2 invite.module \_invite_get_mail_template()
- 5 invite.module \_invite_get_mail_template()
- 7.2 invite.module \_invite_get_mail_template()
Returns the configured or default e-mail template.
Return value
The localized e-mail body.
3 calls to _invite_get_mail_template()
- invite_mail in ./
invite.module - Implementation of hook_mail().
- invite_settings in ./
invite_admin.inc - Menu callback; display invite settings form.
- theme_invite_form in ./
invite.module - Theme function for the invite form.
File
- ./
invite.module, line 1361 - Allows your users to send and track invitations to join your site.
Code
function _invite_get_mail_template() {
$template = t("Your friend, [inviter-raw], has invited you to join [site-name] at [site-url].\n\nTo become a member of [site-name], click the link below or paste it into the address bar of your browser.\n\n[join-link]\n\n----------\n[invite-message-raw]");
return variable_get('invite_default_mail_template', $template);
}