|
|
|
@ -40,7 +40,7 @@ if ($action == 'thematic_plan_list') { |
|
|
|
|
|
|
|
|
|
|
|
foreach ($default_thematic_plan_title as $id => $title) { |
|
|
|
foreach ($default_thematic_plan_title as $id => $title) { |
|
|
|
$form->addElement('hidden', 'description_type['.$id.']', $id); |
|
|
|
$form->addElement('hidden', 'description_type['.$id.']', $id); |
|
|
|
$form->add_textfield('title['.$id.']', get_lang('Title'), true, array('size'=>'50')); |
|
|
|
$form->add_textfield('title['.$id.']', get_lang('Title'), false, array('size'=>'50')); |
|
|
|
$form->add_html_editor('description['.$id.']', get_lang('Description'), false, false, array('ToolbarStartExpanded'=>'false', 'ToolbarSet' => 'TrainingDescription', 'Width' => '80%', 'Height' => '150')); |
|
|
|
$form->add_html_editor('description['.$id.']', get_lang('Description'), false, false, array('ToolbarStartExpanded'=>'false', 'ToolbarSet' => 'TrainingDescription', 'Width' => '80%', 'Height' => '150')); |
|
|
|
//$form->addElement('textarea', 'description['.$id.']', get_lang('Description')); |
|
|
|
//$form->addElement('textarea', 'description['.$id.']', get_lang('Description')); |
|
|
|
if (!empty($thematic_simple_list) && in_array($id, $thematic_simple_list)) { |
|
|
|
if (!empty($thematic_simple_list) && in_array($id, $thematic_simple_list)) { |
|
|
|
|