what == 'updateslot' || $form->what == 'schedule'){ ?>
scale != 0){ ?>
: schedulermode == 'oneonly' AND scheduler_has_slot($aStudent->id, $scheduler, true, false, $form->slotid)) continue; if ($scheduler->schedulermode == 'onetime' AND scheduler_has_slot($aStudent->id, $scheduler, true, true, $form->slotid)) continue; if ($form->appointments and $subaction == 'addappointed'){ if (in_array($aStudent->id, array_keys($form->appointments))) continue; // is already added } $studentsmenu[$aStudent->id] = fullname($aStudent); } if (!empty($studentsmenu)){ echo html_writer::select($studentsmenu, 'studenttoadd', $form->studentid); if ($action == 'update'){ $addstudenttogroupstr = get_string('addstudenttogroup', 'scheduler'); echo " "; echo $OUTPUT->help_icon('addscheduled', get_string('addscheduled', 'scheduler'), 'scheduler'); } } else{ print_string('nostudenttobook', 'scheduler'); } } else{ print_string('nostudenttobook', 'scheduler'); } ?>
: attended == 1){ echo 'checked';} ?> /> attended == 0){ echo 'checked';} ?> />
: appointmentnote)) { $form->appointmentnote = ''; } print_textarea($usehtmleditor, 20, 60, 680, 400, 'appointmentnote', $form->appointmentnote); if ($usehtmleditor) { echo ''; } else { echo '

'; echo $OUTPUT->help_icon('textformat', get_string('formattexttype')); print_string('formattexttype'); echo ': '; if (empty($form->appointmentformat)) { $form->appointmentformat = "MOODLE"; } echo html_writer::select(format_text_menu(), 'appointmentformat', $form->appointmentformat, ""); echo '

'; } ?>
: grade, false); ?>