|
|
|
@ -291,7 +291,7 @@ $form->addElement('html', '</div></div>'); |
|
|
|
// LEARNING PATH |
|
|
|
// LEARNING PATH |
|
|
|
$form->addElement('html', '<div><h3>'.Display::return_icon('scorms.png', get_lang('ConfigLearnpath'),'',ICON_SIZE_SMALL).' '.Security::remove_XSS(get_lang('ConfigLearnpath')).'</h3><div>'); |
|
|
|
$form->addElement('html', '<div><h3>'.Display::return_icon('scorms.png', get_lang('ConfigLearnpath'),'',ICON_SIZE_SMALL).' '.Security::remove_XSS(get_lang('ConfigLearnpath')).'</h3><div>'); |
|
|
|
|
|
|
|
|
|
|
|
//Auto launch LP |
|
|
|
// Auto launch LP |
|
|
|
$group = array(); |
|
|
|
$group = array(); |
|
|
|
$group[]=$form->createElement('radio', 'enable_lp_auto_launch', get_lang('LPAutoLaunch'), get_lang('RedirectToALearningPath'), 1); |
|
|
|
$group[]=$form->createElement('radio', 'enable_lp_auto_launch', get_lang('LPAutoLaunch'), get_lang('RedirectToALearningPath'), 1); |
|
|
|
$group[]=$form->createElement('radio', 'enable_lp_auto_launch', get_lang('LPAutoLaunch'), get_lang('RedirectToTheLearningPathList'), 2); |
|
|
|
$group[]=$form->createElement('radio', 'enable_lp_auto_launch', get_lang('LPAutoLaunch'), get_lang('RedirectToTheLearningPathList'), 2); |
|
|
|
@ -305,6 +305,13 @@ if (api_get_setting('allow_course_theme') == 'true') { |
|
|
|
$group[]=$form->createElement('radio', 'allow_learning_path_theme', null, get_lang('AllowLearningPathThemeDisallow'), 0); |
|
|
|
$group[]=$form->createElement('radio', 'allow_learning_path_theme', null, get_lang('AllowLearningPathThemeDisallow'), 0); |
|
|
|
$form->addGroup($group, '', array(get_lang("AllowLearningPathTheme")), ''); |
|
|
|
$form->addGroup($group, '', array(get_lang("AllowLearningPathTheme")), ''); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
$group = array( |
|
|
|
|
|
|
|
$form->createElement('radio', 'lp_return_link', get_lang('LpReturnLink'), get_lang('RedirectToTheLearningPathList'), 1), |
|
|
|
|
|
|
|
$form->createElement('radio', 'lp_return_link', null, get_lang('RedirectToCourseHome'), 0) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
$form->addGroup($group, '', array(get_lang("LpReturnLink")), ''); |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
if (is_settings_editable()) { |
|
|
|
if (is_settings_editable()) { |
|
|
|
$form->addElement('style_submit_button', null, get_lang('SaveSettings'), 'class="save"'); |
|
|
|
$form->addElement('style_submit_button', null, get_lang('SaveSettings'), 'class="save"'); |
|
|
|
|