You are here

function kaltura_credits_settings_form in Kaltura 5

Same name and namespace in other branches
  1. 6 includes/kaltura.admin.inc \kaltura_credits_settings_form()
1 string reference to 'kaltura_credits_settings_form'
kaltura_menu in ./kaltura.module

File

includes/kaltura.admin.inc, line 34

Code

function kaltura_credits_settings_form() {
  $form = array();
  $text = '<b>Open Source Video Links</b>' . PHP_EOL;
  $text .= 'Kaltura invests a great deal of effort in the open source community, and specifically in the open source video movement.';
  $text .= 'The following two links will be included within the video player in order to further promote Kaltura and its efforts in the open video space. ';
  $text .= 'We hope that you will join us by including these links in the player.' . PHP_EOL;
  $text .= l('open source video', 'http://corp.kaltura.com/') . PHP_EOL . l('open source player', 'http://corp.kaltura.com/technology/video_publishing');
  $form['kaltura_credits_text'] = array(
    '#type' => 'item',
    '#value' => nl2br($text),
  );
  $form['kaltura_display_credits'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include links in player'),
    '#option' => t('Include links in player'),
    '#default_value' => variable_get('kaltura_display_credits', 1),
  );
  return system_settings_form($form);
}