You are here

function protected_pages_get_title in Protected Pages 7.2

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

Title Callback for enter password page.

1 string reference to 'protected_pages_get_title'
protected_pages_menu in ./protected_pages.module
Implements hook_menu().

File

./protected_pages.module, line 181
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_get_title() {
  return check_plain(variable_get('protected_pages_title', t('Protected Page -- Enter password')));
}