: | 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)){ choose_from_menu($studentsmenu, 'studenttoadd', $form->studentid); if ($action == 'update'){ $addstudenttogroupstr = get_string('addstudenttogroup', 'scheduler'); echo " "; helpbutton('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 ' '; helpbutton('textformat', get_string('formattexttype')); print_string('formattexttype'); echo ': '; if (empty($form->appointmentformat)) { $form->appointmentformat = "MOODLE"; } choose_from_menu(format_text_menu(), 'appointmentformat', $form->appointmentformat, ""); echo ' '; } ?> |
: | grade, false); ?> |