function ldap_help_get_ldapauth in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_help/ldap_help.status.inc \ldap_help_get_ldapauth()
- 7.2 ldap_help/ldap_help.status.inc \ldap_help_get_ldapauth()
File
- ldap_help/
ldap_help.status.inc, line 144 - status file for ldaphelp module
Code
function ldap_help_get_ldapauth(&$info) {
$status[] = array(
'title' => 'Authentication mode',
value => $info['ldapauth']['login_process_text'],
'severity' => "0",
);
$status[] = array(
'title' => 'Conflict Resolve Feature',
value => $info['ldapauth']['login_conflict_text'],
'severity' => "0",
);
$info['ldapauth']['ldapauth_disable_pass_change_text'] = LDAPAUTH_FORGET_PASSWORDS == TRUE ? "Do not " : "Do";
$info['ldapauth']['ldapauth_disable_pass_change_text'] .= 'store users\' passwords during sessions.';
$status[] = array(
'title' => 'Security Options',
value => $info['ldapauth']['ldapauth_disable_pass_change_text'],
'severity' => "0",
);
$info['ldapauth']['ldapauth_disable_pass_change_text'] = LDAPAUTH_DISABLE_PASS_CHANGE == TRUE ? "R" : "Do not R";
$info['ldapauth']['ldapauth_disable_pass_change_text'] .= 'emove password change fields from user edit form';
$info['ldapauth']['ldapauth_alter_email_field_text'] = 'ldapauth_alter_email_field: ' . LDAPAUTH_ALTER_EMAIL_FIELD;
$status[] = array(
'title' => 'LDAP UI Options',
value => $info['ldapauth']['ldapauth_disable_pass_change_text'] . "<br/>" . $info['ldapauth']['ldapauth_alter_email_field_text'],
'severity' => "0",
);
return $status;
}