You are here

function protected_node_email_body in Protected Node 6

Same name and namespace in other branches
  1. 7 protected_node.settings.inc \protected_node_email_body()
  2. 1.0.x protected_node.settings.inc \protected_node_email_body()

The default email body sent to users to whom you give access to a protected node.

3 calls to protected_node_email_body()
protected_node_admin_settings in ./protected_node.settings.inc
Define the settings form
protected_node_mail in ./protected_node.mail.inc
Implementation of hook_mail().
protected_node_send_mail in ./protected_node.mail.inc
Protected node sends email to specified users.
3 string references to 'protected_node_email_body'
protected_node_admin_settings in ./protected_node.settings.inc
Define the settings form
protected_node_mail in ./protected_node.mail.inc
Implementation of hook_mail().
protected_node_send_mail in ./protected_node.mail.inc
Protected node sends email to specified users.

File

./protected_node.settings.inc, line 38
Configuration file for the protected_node module.

Code

function protected_node_email_body() {
  return t("Dear friend,\n\nI just created a new page on my website and wanted to invite you to\nvisit. The page is protected by the following password:\n\n[node-password]\n\nThank you.\n[site-name]");
}