You are here

function theme_kaltura_modal in Kaltura 6

Same name and namespace in other branches
  1. 5 includes/kaltura.themeing.inc \theme_kaltura_modal()
  2. 6.2 includes/kaltura.themeing.inc \theme_kaltura_modal()
4 theme calls to theme_kaltura_modal()
theme_contribution_wizard in includes/kaltura.themeing.inc
theme_contribution_wizard_add in includes/kaltura.themeing.inc
theme_contribution_wizard_field in includes/kaltura.themeing.inc
theme_simple_editor in includes/kaltura.themeing.inc

File

includes/kaltura.themeing.inc, line 450

Code

function theme_kaltura_modal($theme_params) {
  return '
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="' . base_path() . drupal_get_path('module', 'kaltura') . '/style/kaltura.css"/>
    <style type="text/css">
            html, body { margin:0; padding:0; }
    </style>
    <script type="text/javascript" src="' . base_path() . drupal_get_path('module', 'kaltura') . '/js/kaltura.js"></script>
    <script type="text/javascript" src="' . base_path() . 'misc/jquery.js"></script>
    <script type="text/javascript" src="' . base_path() . drupal_get_path('module', 'kaltura') . '/js/swfobject.js"></script>
    <script type="text/javascript">
      ' . $theme_params["javascript"] . '
    </script>
    </head>
    <body>
      ' . $theme_params["flashEmbed"] . '
    </body>
    </html>';
}