You are here

function ajax_register_tabs_callback in Ajax Login/Register 6.2

1 string reference to 'ajax_register_tabs_callback'
ajax_register_get_ajax_login_form in ./ajax_register.module

File

./ajax_register.module, line 120

Code

function ajax_register_tabs_callback($active = 1, $a1, $a2) {
  module_load_include('inc', 'user', 'user.pages');
  $tabs[] = array(
    'title' => t('Create New Account'),
    'content' => drupal_get_form('user_register'),
  );
  $tabs[] = array(
    'title' => t('Login'),
    'content' => drupal_get_form('user_login'),
  );
  $tabs[] = array(
    'title' => t('Request New Password'),
    'content' => drupal_get_form('user_pass'),
  );
  return $tabs;
}