function _securesite_dialog_page in Secure Site 5
Same name and namespace in other branches
- 6.2 securesite.inc \_securesite_dialog_page()
- 6 securesite.inc \_securesite_dialog_page()
- 7.2 securesite.inc \_securesite_dialog_page()
Print HTML dialog page for Secure Site
Parameters
$content: HTML to output for the login and/or password reset form
2 calls to _securesite_dialog_page()
- _securesite_password_reset in ./
securesite.inc - Process password reset requests
- _securesite_user_auth in ./
securesite.module - Display authentication dialog and send password reset mails
File
- ./
securesite.inc, line 68 - Support functions for the Secure Site contrib module
Code
function _securesite_dialog_page($content) {
$theme_path = drupal_get_path('theme', variable_get('theme_default', 'garland'));
$dialog_file = '/securesite-dialog.tpl.php';
if (file_exists($theme_path . $dialog_file)) {
include_once $theme_path . $dialog_file;
}
else {
include_once drupal_get_path('module', 'securesite') . $dialog_file;
}
}