You are here

function brightcove_field_deliver_dialog in Brightcove Video Connect 7.3

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.4 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
  4. 7.5 brightcove_field/brightcove_field.module \brightcove_field_deliver_dialog()
  5. 7.6 brightcove.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_field_menu in brightcove_field/brightcove_field.module
Implementation of hook_menu().

File

brightcove_field/brightcove_field.module, line 1474
Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

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;
}