function login_security_t in Login Security 6
Same name and namespace in other branches
- 7 login_security.module \login_security_t()
This option is instead of doing t() because t() can only translate static strings, not variables.
6 calls to login_security_t()
- login_security_mail in ./
login_security.module - login_security_nagios in ./
login_security.module - Implement hook_nagios().
- login_security_soft_block_validate in ./
login_security.module - Temporarily deny validation to users with excess invalid login attempts.
- login_security_validate in ./
login_security.module - Implementation of form validate. This functions does more than just validating, but it's main Intention is to break the login form flow.
- login_user_block_ip in ./
login_security.module - Create a Deny entry for the IP address. If IP address is not especified then block current IP.
File
- ./
login_security.module, line 394 - Login Security
Code
function login_security_t($message, $variables = array()) {
foreach ($variables as $key => $value) {
$variables[$key] = theme('placeholder', $value);
}
return strtr($message, $variables);
}