function theme_ldap_authentication_login_message in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authentication/ldap_authentication.theme.inc \theme_ldap_authentication_login_message()
- 7.2 ldap_authentication/ldap_authentication.theme.inc \theme_ldap_authentication_login_message()
The following three functions are theme callbacks for various messages from NTLM/seamless login integration.
Provides a theme callback for successful login messages. The reason for using theme callbacks instead of a simple t() function is to provide the ability to have more complex message handling performed; an example would be to use the Real Name module to say "Welcome, User Name" upon successful login.
Parameters
$message: A text string containing a translatable success message
File
- ldap_authentication/
ldap_authentication.theme.inc, line 105 - theming functions for ldap_authentication module
Code
function theme_ldap_authentication_login_message($variables) {
extract($variables);
return $message;
}