: |
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"));
?> |
: |
enrol_plugins_enabled);
foreach ($modules as $module) {
$name = get_string("enrolname", "enrol_$module");
$plugin = enrolment_factory::factory($module);
if (method_exists($plugin, 'print_entry')) {
$choices[$name] = $module;
}
}
asort($choices);
$choices = array_flip($choices);
$choices = array_merge(array('' => get_string('sitedefault').' ('.get_string("enrolname", "enrol_$CFG->enrol").')'), $choices);
choose_from_menu ($choices, "enrol", "$form->enrol", "");
helpbutton("courseenrolmentplugins", get_string("enrolmentplugins"));
?> |
: |
enrollable", "");
helpbutton("courseenrollable", get_string("enrollable"));
?> |
: |
: |
enrolstartdate);
print_string('disable');
echo ': ';
print_checkbox('enrolstartdisabled', 1, "$form->enrolstartdisabled");
?> |
|
: |
enrolenddate);
print_string('disable');
echo ': ';
print_checkbox('enrolenddisabled', 1, "$form->enrolenddisabled");
if (isset($err["enroldate"])) formerr($err["enroldate"]);
?> |
|
: |
enrolperiod", "");
helpbutton("enrolperiod", get_string("enrolperiod"));
?>
|
: |
expirynotify", "");
helpbutton("expirynotify", get_string("expirynotify"));
echo ' ';
print_string('expirynotifystudents');
echo ': ';
choose_from_menu ($choices, "notifystudents", "$form->notifystudents", "");
helpbutton("expirynotifystudents", get_string("expirynotifystudents"));
echo ' ';
print_string('expirythreshold');
echo ': ';
for ($i=1; $i<=30; $i++) {
$seconds = $i * 86400;
$thresholdmenu[$seconds] = get_string('numdays', '', $i);
}
choose_from_menu ($thresholdmenu, "expirythreshold", "$form->expirythreshold", "");
helpbutton("expirythreshold", get_string("expirythreshold"));
?>
|
: |
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), 'print_entry') && $course->enrol != 'manual') {
?>
: |
" />
currency, '');
helpbutton("cost", get_string("cost"));
?>
|
: |
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"));?>
|
requested) && $CFG->restrictmodulesfor == 'requested') || $CFG->restrictmodulesfor == 'all')) { ?>
: |
restrictmodules,"","togglemodules(this.selectedIndex);","");
?> | |
|
|
|
" /> |