| : | 
    category", "");
           helpbutton("coursecategory", get_string("category"));
        ?>
     | 
    | : | 
    " />
    
    
     | 
    | : | 
    " />
    
    
     | 
    | : | 
    " />
    
    
     | 
    | : | 
    summary);
        helpbutton("text", get_string("helptext"));
        if (isset($err["summary"])) formerr($err["summary"]);
    ?>
     | 
    | : | 
    courseformats, "format", "$form->format", "");
           helpbutton("courseformats", get_string("courseformats"));
        ?>
     | 
    | : | 
    startdate);
           helpbutton("coursestartdate", get_string("startdate"));
    ?> | 
    | : | 
    
        enrolperiod", "");
            helpbutton("enrolperiod", get_string("enrolperiod"));
        ?>
     | 
    | : | 
    numsections", "");
           helpbutton("coursenumsections", get_string("numberweeks"));
    ?> | 
    | : | 
    groupmode, "");
    helpbutton("groupmode", get_string("groupmode"));
    echo '    ';
    print_string('force');
    echo ': ';
    unset($choices);
    $choices["0"] = get_string("no");
    $choices["1"] = get_string("yes");
    choose_from_menu ($choices, "groupmodeforce", $form->groupmodeforce, "");
    helpbutton("groupmodeforce", get_string("groupmodeforce")); ?>
     | 
    | : | 
    visible, "");
    helpbutton("courseavailability", get_string("availability")); ?>
     | 
    | : | 
    " />
    
    
     | 
    | : | 
    guest, "");
    helpbutton("guestaccess", get_string("opentoguests")); ?>
     | 
enrol != 'internal') {
?>
    | : | 
    " />
    
     | 
    | : | 
    hiddensections, "");
    helpbutton("coursehiddensections", get_string("hiddensections")); ?>
     | 
    | : | 
     "0 $newsitems",
                        "1" => "1 $newsitem",
                        "2" => "2 $newsitems",
                        "3" => "3 $newsitems",
                        "4" => "4 $newsitems",
                        "5" => "5 $newsitems",
                        "6" => "6 $newsitems",
                        "7" => "7 $newsitems",
                        "8" => "8 $newsitems",
                        "9" => "9 $newsitems",
                        "10" => "10 $newsitems");
       choose_from_menu ($options, "newsitems", "$form->newsitems", "");
       helpbutton("coursenewsitems", get_string("newsitemsnumber"));
    ?>
     | 
    | : | 
    showgrades, "");
    helpbutton("coursegrades", get_string("grades")); ?>
     | 
    | : | 
    showreports, "");
    helpbutton("coursereports", get_string("activityreport")); ?>
     | 
    | : | 
    maxbytes);
    choose_from_menu ($choices, "maxbytes", $form->maxbytes, "");
    helpbutton("courseuploadsize", get_string("maximumupload")); ?>
     | 
    | : | 
    " />
    ()
    
     | 
    | : | 
    " />
    ()
    
     | 
    | : | 
    " />
    ()
    
     | 
    | : | 
    " />
    ()
    
     | 
    | : | 
  
    lang, "", "", "");
    ?>
     | 
allowcoursethemes)) { ?>
    |  :  | 
    
      theme, "", "", "");
      ?>
     | 
  | : | 
    
      metacourse,"","","");
      } else {
          echo ((empty($form->metacourse)) ? get_string("no") : get_string("yes"));
          echo " - $disable_meta ";
      }
      helpbutton("metacourse", get_string("metacourse")); ?>
     | 
     | 
    " /> |