You are here

function theme_kaltura_modal in Kaltura 6.2

Same name and namespace in other branches
  1. 5 includes/kaltura.themeing.inc \theme_kaltura_modal()
  2. 6 includes/kaltura.themeing.inc \theme_kaltura_modal()
6 theme calls to theme_kaltura_modal()
theme_kaltura_advanced_editor in includes/kaltura.themeing.inc
Theme for kaltura/advanced_editor
theme_kaltura_contribution_wizard in includes/kaltura.themeing.inc
theme_kaltura_contribution_wizard_add in includes/kaltura.themeing.inc
theme_kaltura_contribution_wizard_field in includes/kaltura.themeing.inc
theme_kaltura_contribution_wizard_simple in includes/kaltura.themeing.inc

... See full list

File

includes/kaltura.themeing.inc, line 892

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