: |
" value="name) ?>" />
|
:
";
helpbutton("questions", get_string("helpquestions"), "moodle", true, true);
echo " ";
if ($usehtmleditor) {
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
} else {
emoticonhelpbutton("form", "text");
}
echo " ";
?>
|
text);
if ($usehtmleditor) {
echo '';
} else {
echo " ";
helpbutton("textformat", get_string("formattexttype"));
print_string("formattexttype");
echo ": ";
if (!$form->format) {
$form->format = $defaultformat;
}
choose_from_menu(format_text_menu(), "format", $form->format, "");
echo " ";
}
?>
|
instance, 'id', 'id,text')) && ($options2 = get_records_menu('choice_options','choiceid', $form->instance, 'id', 'id,maxanswers')) ) {
foreach ($options as $id => $text) {
$count++;
?>
: |
|
:
|
: |
|
:
|
: |
limitanswers", "", "return lockselects('form','limitanswers.options[0]', limititems)");
?>
|
limitanswers == 0) { //lock the limit fields if limit isn't used. ?>
: |
" onclick="return lockoptions('form','timerestrict', timeitems)" timerestrict) echo 'checked="checked"'; ?> />
|
|
: |
timeopen and $course->format == "weeks") {
$form->timeopen = $course->startdate + (($form->section - 1) * 608400);
}
print_date_selector("openday", "openmonth", "openyear", $form->timeopen);
print_time_selector("openhour", "openminute", $form->timeopen);
?>
|
: |
timeclose and $course->format == "weeks") {
$form->timeclose = $course->startdate + (($form->section) * 608400);
}
print_date_selector("closeday", "closemonth", "closeyear", $form->timeclose);
print_time_selector("closehour", "closeminute", $form->timeclose);
?>
timerestrict) {
echo "\n";
}
?>
|
|
: |
dirroot/mod/choice/lib.php");
choose_from_menu($CHOICE_DISPLAY, "display", "$form->display", "");
?>
|
: |
dirroot/mod/choice/lib.php");
choose_from_menu($CHOICE_RELEASE, "release", "$form->release", "", "return lockselects('form','release.options[0]',['publish'])");
?>
|
: |
dirroot/mod/choice/lib.php");
choose_from_menu($CHOICE_PUBLISH, "publish", "$form->publish", "");
?>
|
: |
allowupdate", "");
?>
|
: |
showunanswered", "");
?>
|