You are here

function ajax_register_get_ajax_login_form in Ajax Login/Register 6

Same name and namespace in other branches
  1. 6.2 ajax_register.module \ajax_register_get_ajax_login_form()
1 string reference to 'ajax_register_get_ajax_login_form'
ajax_register_menu in ./ajax_register.module

File

./ajax_register.module, line 127

Code

function ajax_register_get_ajax_login_form() {

  //prints the html of the form to the ajax url request
  $login = drupal_get_form('user_login');
  $pass = drupal_get_form('user_pass');
  $forgot_title = t('Forgot Your Password');
  print $login . '<br /><div><h3>' . $forgot_title . '</h3></div>' . $pass;
}