function colorbox_login in Colorbox 7
Same name and namespace in other branches
- 6 colorbox.pages.inc \colorbox_login()
Menu callback for colorbox_login.
3 string references to 'colorbox_login'
- colorbox_admin_settings in ./
colorbox.admin.inc - General configuration form for controlling the colorbox behaviour.
- colorbox_menu in ./
colorbox.module - Implements hook_menu().
- _colorbox_doheader in ./
colorbox.module - Loads the various js and css files.
File
- ./
colorbox.pages.inc, line 11 - User page callback file for the colorbox module.
Code
function colorbox_login() {
// Redirect failed logins to the standard user login form.
if (isset($_POST['form_id']) && $_POST['form_id'] == 'user_login') {
return drupal_get_form('user_login');
}
colorbox_form_page('user_login');
}