You are here

function thickbox_login in Thickbox 6

Same name and namespace in other branches
  1. 5 thickbox.module \thickbox_login()

Menu callback for thickbox_login.

3 string references to 'thickbox_login'
thickbox_admin_settings in ./thickbox.admin.inc
General configuration form for controlling the thickbox behaviour.
thickbox_menu in ./thickbox.module
Implementation of hook_menu().
_thickbox_doheader in ./thickbox.module
Loads the various js and css files.

File

./thickbox.module, line 68
Author: Fredrik Jonsson fredrik at combonet dot se The thickbox module is a simple wrapper for the jquery plugin ThickBox http://jquery.com/demo/thickbox/.

Code

function thickbox_login() {
  $form = variable_get('thickbox_login_form', '') == 'custom' ? variable_get('thickbox_login_custom', 'user_login') : variable_get('thickbox_login_form', 'user_login');
  print drupal_get_form($form);
  exit;
}