You are here

function kaltura_get_help_html in Kaltura 7.3

Same name and namespace in other branches
  1. 5 kaltura.module \kaltura_get_help_html()
  2. 6 kaltura.module \kaltura_get_help_html()
  3. 7.2 kaltura.module \kaltura_get_help_html()

Helper function to load HTML content for Drupal's help pages.

TODO: completely useless function, requires a complete overhaul.

1 call to kaltura_get_help_html()
kaltura_help in ./kaltura.module
Implements hook_help().

File

./kaltura.module, line 741
Kaltura integration module - core functions.

Code

function kaltura_get_help_html($page) {
  switch ($page) {
    case 'general':
      $filename = 'kaltura_general_help';
      break;
    case 'crossdomain':
      $filename = 'kaltura_cd_help';
      break;
  }

  // $help_html = file_get_contents(drupal_get_path('module', 'kaltura') . '/kaltura_help/' . $filename . '.html');
  $help_html = '';
  return $help_html;
}