securesite.theme.inc in Secure Site 6.2
Same filename and directory in other branches
Theme functions.
File
theme/securesite.theme.incView source
<?php
/**
* @file
* Theme functions.
*/
/**
* Process variables for securesite-user-login.tpl.php
*
* @param $variables
* An array of variables from the theme system.
*/
function template_preprocess_securesite_user_login(&$variables) {
$variables['title'] = variable_get('securesite_login_form', t('Enter your user name and password.'));
$variables['messages'] = theme('status_messages');
}
/**
* Process variables for securesite-user-pass.tpl.php
*
* @param $variables
* An array of variables from the theme system.
*/
function template_preprocess_securesite_user_pass(&$variables) {
$variables['title'] = variable_get('securesite_reset_form', t('Enter your user name or e-mail address.'));
$variables['form']['name']['#required'] = FALSE;
}
Functions
Name | Description |
---|---|
template_preprocess_securesite_user_login | Process variables for securesite-user-login.tpl.php |
template_preprocess_securesite_user_pass | Process variables for securesite-user-pass.tpl.php |