Don't show like required fields in the edit thematic advance form - refs #7253

1.9.x
Angel Fernando Quiroz Campos 11 years ago
parent 43dd643dc4
commit 3c091029d2
  1. 2
      main/course_progress/thematic_plan.php

@ -40,7 +40,7 @@ if ($action == 'thematic_plan_list') {
foreach ($default_thematic_plan_title as $id => $title) {
$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->addElement('textarea', 'description['.$id.']', get_lang('Description'));
if (!empty($thematic_simple_list) && in_array($id, $thematic_simple_list)) {

Loading…
Cancel
Save