function login_shadowbox_register

cis7 login_shadowbox.pages.inc login_shadowbox_register()
2 string references to 'login_shadowbox_register'
login_shadowbox_menu in sites/all/modules/local_contrib/shadowbox/login_shadowbox/login_shadowbox.module
Implementation of hook_menu()
login_shadowbox_settings in sites/all/modules/local_contrib/shadowbox/login_shadowbox/login_shadowbox.admin.inc
FAPI definition for the Shadowbox login settings form.

File

sites/all/modules/local_contrib/shadowbox/login_shadowbox/login_shadowbox.pages.inc, line 35

Code

function login_shadowbox_register() {

  _login_shadowbox_js_css();

  // REGISTRATION FORM BEGIN
  $register_form = '<div id="shadowbox_register" class="shadowbox_login_wrapper">';
  $register_form .= '<button class="shadowbox_login_close_button">x</button>';
  if (user_register_access()) {
    $register_form .= drupal_render(drupal_get_form("user_register_form"));
  }
  $register_form .= '</div>';
  // REGISTRATION FORM END

  print theme('login_shadowbox_page', array(
    'title' => 'Registration',
    'content' => $register_form,
  ));

  return NULL;
}