function aes_show_password_page in AES encryption 7
Same name and namespace in other branches
- 5 aes.module \aes_show_password_page()
- 6 aes.module \aes_show_password_page()
Access callback for a separate tab page with password.
Parameters
$access: Permission name.
$uid: User ID.
Return value
bool Is access granted? So should tab page be generated or not.
1 string reference to 'aes_show_password_page'
- aes_menu in ./
aes.module - Implements hook_menu().
File
- ./
aes.module, line 111 - Main file of the AES encryption module.
Code
function aes_show_password_page($access, $uid) {
$viewing_method = variable_get("aes_viewing_method", "page");
return user_access($access) && aes_password_exists($uid) && ($viewing_method == "page" || $viewing_method == "both");
}