You are here

function login_shadowbox_password in Shadowbox 7.4

1 string reference to 'login_shadowbox_password'
login_shadowbox_menu in login_shadowbox/login_shadowbox.module
Implementation of hook_menu()

File

login_shadowbox/login_shadowbox.pages.inc, line 54

Code

function login_shadowbox_password() {
  _login_shadowbox_js_css();

  // RESET PASSWORD FORM BEGIN
  module_load_include('inc', 'user', 'user.pages');
  $password_form = '<div id="shadowbox_password" class="shadowbox_login_wrapper">';
  $password_form .= '<button class="shadowbox_login_close_button">x</button>';
  $password_form .= drupal_render(drupal_get_form("user_pass"));
  $password_form .= '</div>';

  // RESET PASSWORD FORM END
  print theme('login_shadowbox_page', array(
    'title' => 'Registration',
    'content' => $password_form,
  ));
  return NULL;
}