You are here

function theme_ldap_authentication_login_message in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_authentication/ldap_authentication.theme.inc \theme_ldap_authentication_login_message()
  2. 7 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

1 theme call to theme_ldap_authentication_login_message()
ldap_sso_user_login_sso in ldap_sso/ldap_sso.module
A proxy function for the actual authentication routine. This is in place so various implementations of grabbing NTLM credentials can be used and selected from an administration page. This is the real gatekeeper since this assumes that any NTLM…

File

ldap_authentication/ldap_authentication.theme.inc, line 103
theming functions for ldap_authentication module

Code

function theme_ldap_authentication_login_message($variables) {
  extract($variables);
  return $message;
}