function kaltura_credits_settings_form in Kaltura 6
Same name and namespace in other branches
- 5 includes/kaltura.admin.inc \kaltura_credits_settings_form()
1 string reference to 'kaltura_credits_settings_form'
File
- includes/
kaltura.admin.inc, line 37
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/download') . PHP_EOL . l('video platform', 'http://corp.kaltura.com/technology/');
$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);
}