function overlay_deliver_empty_page

overlay_deliver_empty_page()

Prints an empty page.

This function is used to print out a bare minimum empty page which still has the scripts and styles necessary in order to trigger the overlay to close.

File

modules/overlay/overlay.module, line 592
Displays the Drupal administration interface in an overlay.

Code

function overlay_deliver_empty_page() {
  $empty_page = '<html><head><title></title>' . drupal_get_css() . drupal_get_js() . '</head><body class="overlay"></body></html>';
  print $empty_page;
  drupal_exit();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!overlay!overlay.module/function/overlay_deliver_empty_page/7.x