Menu callback for colorbox_form_page.

1 call to colorbox_form_page()
colorbox_login in ./colorbox.pages.inc
Menu callback for colorbox_login.
1 string reference to 'colorbox_form_page'
colorbox_menu in ./colorbox.module
Implements hook_menu().

File

./colorbox.pages.inc, line 23

Code

function colorbox_form_page($form_id) {
    $GLOBALS['devel_shutdown'] = FALSE;
    // Prevent devel module from spewing.
    switch ($form_id) {
        case 'contact_site_form':
            module_load_include('inc', 'contact', 'contact.pages');
        case 'user_pass':
            module_load_include('inc', 'user', 'user.pages');
        default:
            $form = drupal_get_form($form_id);
            if (!empty($form)) {
                print drupal_render($form);
            }
    }
    exit;
}