You are here

function protected_pages_email_body in Protected Pages 7.2

Same name and namespace in other branches
  1. 7 protected_pages.module \protected_pages_email_body()

The default email body.

2 calls to protected_pages_email_body()
protected_pages_send_email in ./protected_pages.admin.inc
Callback function for send protected pages details email form.
protected_pages_settings in ./protected_pages.admin.inc
Callback function for protected pages settings.
3 string references to 'protected_pages_email_body'
protected_pages_send_email in ./protected_pages.admin.inc
Callback function for send protected pages details email form.
protected_pages_settings in ./protected_pages.admin.inc
Callback function for protected pages settings.
protected_pages_uninstall in ./protected_pages.install
Implements hook_uninstall().

File

./protected_pages.module, line 195
This module allows you to protect any page of your website by secure password. You can enter urls of pages to protect and set password per page. Admin (uid = 1) or user with bypass protection permission can view page.

Code

function protected_pages_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 password. Please find the details below:-\n\nPage Url = [protected-page-url]\nPage Password = password here\n\nThank you.\n[site-name]");
}