function _invite_get_mail_template in Invite 7.2
Same name and namespace in other branches
- 5.2 invite.module \_invite_get_mail_template()
- 5 invite.module \_invite_get_mail_template()
- 6.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_form_submit in ./
invite.module - Forms API callback; process submitted form data.
- invite_page_form in ./
invite.module - Generate the invite page form.
- invite_settings in ./
invite.admin.inc - Menu callback; display invite settings form.
File
- ./
invite.module, line 1573 - Allows your users to send and track invitations to join your site.
Code
function _invite_get_mail_template() {
$template = t("[invite: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[invite:join-link]\n\nThe inviter's message to you:\n\n[invite:invite-message]\n");
return variable_get('invite_default_mail_template', $template);
}