You are here

securesite.theme.inc in Secure Site 6.2

Same filename and directory in other branches
  1. 8 theme/securesite.theme.inc
  2. 7.2 theme/securesite.theme.inc

Theme functions.

File

theme/securesite.theme.inc
View 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;
}