: | availableslots as $aSlot){ $startdatecnv = scheduler_userdate($aSlot->starttime,1); $starttimecnv = scheduler_usertime($aSlot->starttime,1); $startdatestr = ($startdatemem != '' and $startdatemem == $startdatecnv) ? "-----------------" : $startdatecnv ; $starttimestr = ($starttimemem != '' and $starttimemem == $starttimecnv) ? '' : $starttimecnv ; $startdatemem = $startdatecnv; $starttimemem = $starttimecnv; $form->availableslotsmenu[$aSlot->id] = "$startdatestr $starttimestr"; } choose_from_menu($form->availableslotsmenu, 'slotid', $form->slotid, 'choose', 'reloadandchoose();'); ?> |
: | > starttime); ?> |
: | starttime, 5); helpbutton('choosingslotstart', get_string('moveslot', 'scheduler'), 'scheduler'); ?> |
: | |
: | > appointments); if ($knownslots == 0) $knownslots++; for($i = $knownslots ; $i < 10 ; $i++){ $exclusivemenu[(string)$i] = $i; } choose_from_menu($exclusivemenu, 'exclusivity', $form->exclusivity, '', 'allowmoreappointments(this);'); helpbutton('exclusivity', get_string('groupsession', 'scheduler'), 'scheduler'); ?> |
: | reuse, ''); helpbutton('reuse', get_string('reuse', 'scheduler'), 'scheduler'); ?> |
: | |
staffrolename ?>: | > id] = fullname($aTeacher); } choose_from_menu($teachersmenu, 'teacherid', $form->teacherid); } else { print_string('noteachershere', 'scheduler', $scheduler->staffrolename); } helpbutton('bookwithteacher', get_string('bookwithteacher', 'scheduler'), 'scheduler'); ?> |
: | hideuntil); ?> |
: |
notes)) {
$form->notes = '';
}
print_textarea($usehtmleditor, 20, 60, 680, 400, 'notes', $form->notes);
if ($usehtmleditor) {
echo '';
} else {
echo ' '; helpbutton('textformat', get_string('formattexttype')); print_string('formattexttype'); echo ': '; if (!$form->format) { $form->format = 'MOODLE'; } choose_from_menu(format_text_menu(), 'format', $form->format, ''); echo ' '; } ?> |
appointments) && count($form->appointments)){
echo "
";
$table->head = array ('', get_string('students'), $strseen, $strnote, $strgrade, $straction);
$table->align = array ('LEFT', 'LEFT', 'CENTER', 'LEFT', 'CENTER', 'RIGHT');
$table->width = '';
foreach($form->appointments as $anAppointment){
$user = get_record('user', 'id', $anAppointment->studentid);
$anAppointment->grade = ($scheduler->scale == 0) ? get_string('nograde') : $anAppointment->grade ;
$attended = $anAppointment->attended ? '![]() ![]() '; $hiddenstate = ((count($form->appointments) < $form->exclusivity and $form->exclusivity > 0) || !$form->exclusivity) ? "style=\"visibility:visible\"" : "style=\"visibility:hidden\"" ; echo "'; print_simple_box_end(); ?> |