You are here

function aes_show_password_page in AES encryption 5

Same name and namespace in other branches
  1. 6 aes.module \aes_show_password_page()
  2. 7 aes.module \aes_show_password_page()
1 string reference to 'aes_show_password_page'
aes_menu in ./aes.module

File

./aes.module, line 41

Code

function aes_show_password_page($access, $uid) {
  $viewing_method = variable_get("aes_viewing_method", "collapsible");
  if (user_access($access) && aes_password_exists($uid) && ($viewing_method == "page" || $viewing_method == "both")) {
    return true;
  }
  else {
    return false;
  }
}