You are here

function references_dialog_page_alter in References dialog 7

Implements hook_page_alter().

File

./references_dialog.module, line 636
This the main module file.

Code

function references_dialog_page_alter(&$page) {
  if (references_dialog_in_dialog()) {
    unset($page['page_top']);
    unset($page['page_bottom']);
    $page['#theme'] = 'references_dialog_page';
  }
}