You are here

function brightcove_field_deliver_dialog in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 7.7 brightcove.module \brightcove_field_deliver_dialog()
  2. 7.2 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
  3. 7.3 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
  4. 7.4 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
  5. 7.5 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()

Custom page delivery callback, for content in dialog.

@print Html for display.

Parameters

$page: Content returned by page callback.

1 string reference to 'brightcove_field_deliver_dialog'
brightcove_menu in ./brightcove.module
Implements hook_menu().

File

./brightcove.module, line 1703
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_field_deliver_dialog($page) {
  if (is_array($page)) {
    $page = drupal_render($page);
  }
  $output = '<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title></title>' . drupal_get_css() . drupal_get_js() . '</head><body class="dialog">' . $page . '</body></html>';
  print $output;
}