function securesite_theme in Secure Site 8
Same name and namespace in other branches
- 6.2 securesite.module \securesite_theme()
- 7.2 securesite.module \securesite_theme()
Implements hook_theme().
File
- ./
securesite.module, line 203 - Enables HTTP authentication or an HTML form to restrict site access.
Code
function securesite_theme() {
return array(
'securesite_page' => array(
'template' => 'securesite-page',
'variables' => array(
'content' => NULL,
),
'file' => 'securesite.theme.inc',
'path' => drupal_get_path('module', 'securesite') . '/theme',
),
'securesite_login_form' => array(
'template' => 'securesite-user-login',
'render element' => 'form',
'file' => 'securesite.theme.inc',
'path' => drupal_get_path('module', 'securesite') . '/theme',
),
'securesite_user_pass' => array(
'template' => 'securesite-user-pass',
'render element' => 'form',
'file' => 'securesite.theme.inc',
'path' => drupal_get_path('module', 'securesite') . '/theme',
),
);
}