|
|
@ -35,6 +35,7 @@ $form->add_html_editor('description', get_lang('Description'), false, false, arr |
|
|
|
// Adavanced Parameters |
|
|
|
// Adavanced Parameters |
|
|
|
|
|
|
|
|
|
|
|
$advanced = '<a href="javascript://" class = "advanced_parameters" ><span id="img_plus_and_minus"> '.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).' '.get_lang('AdvancedParameters').'</span></a>'; |
|
|
|
$advanced = '<a href="javascript://" class = "advanced_parameters" ><span id="img_plus_and_minus"> '.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).' '.get_lang('AdvancedParameters').'</span></a>'; |
|
|
|
|
|
|
|
if (Gradebook::is_active()) { |
|
|
|
$form -> addElement('advanced_settings',$advanced); |
|
|
|
$form -> addElement('advanced_settings',$advanced); |
|
|
|
|
|
|
|
|
|
|
|
$form->addElement('html','<div id="id_qualify" style="display:none">'); |
|
|
|
$form->addElement('html','<div id="id_qualify" style="display:none">'); |
|
|
@ -52,5 +53,6 @@ $form->applyFilter('attendance_weight', 'html_filter'); |
|
|
|
$form->addElement('html','</div>'); |
|
|
|
$form->addElement('html','</div>'); |
|
|
|
|
|
|
|
|
|
|
|
$form->addElement('html','</div>'); |
|
|
|
$form->addElement('html','</div>'); |
|
|
|
|
|
|
|
} |
|
|
|
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"'); |
|
|
|
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"'); |
|
|
|
$form->display(); |
|
|
|
$form->display(); |