|
@ -109,7 +109,7 @@ switch ($att->pageparams->action) { |
|
|
$params = array('action' => $att->pageparams->action, 'sessionid' => $sessionid, 'confirm' => 1, 'sesskey' => sesskey()); |
|
|
$params = array('action' => $att->pageparams->action, 'sessionid' => $sessionid, 'confirm' => 1, 'sesskey' => sesskey()); |
|
|
|
|
|
|
|
|
echo $OUTPUT->header(); |
|
|
echo $OUTPUT->header(); |
|
|
echo $OUTPUT->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .$course->fullname); |
|
|
echo $OUTPUT->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .format_string($course->fullname)); |
|
|
echo $OUTPUT->confirm($message, $att->url_sessions($params), $att->url_manage()); |
|
|
echo $OUTPUT->confirm($message, $att->url_sessions($params), $att->url_manage()); |
|
|
echo $OUTPUT->footer(); |
|
|
echo $OUTPUT->footer(); |
|
|
exit; |
|
|
exit; |
|
@ -144,7 +144,7 @@ switch ($att->pageparams->action) { |
|
|
'confirm' => 1, 'sesskey' => sesskey()); |
|
|
'confirm' => 1, 'sesskey' => sesskey()); |
|
|
|
|
|
|
|
|
echo $OUTPUT->header(); |
|
|
echo $OUTPUT->header(); |
|
|
echo $OUTPUT->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .$course->fullname); |
|
|
echo $OUTPUT->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .format_string($course->fullname)); |
|
|
echo $OUTPUT->confirm($message, $att->url_sessions($params), $att->url_manage()); |
|
|
echo $OUTPUT->confirm($message, $att->url_sessions($params), $att->url_manage()); |
|
|
echo $OUTPUT->footer(); |
|
|
echo $OUTPUT->footer(); |
|
|
exit; |
|
|
exit; |
|
@ -179,7 +179,7 @@ switch ($att->pageparams->action) { |
|
|
$output = $PAGE->get_renderer('mod_attendance'); |
|
|
$output = $PAGE->get_renderer('mod_attendance'); |
|
|
$tabs = new attendance_tabs($att, attendance_tabs::TAB_ADD); |
|
|
$tabs = new attendance_tabs($att, attendance_tabs::TAB_ADD); |
|
|
echo $output->header(); |
|
|
echo $output->header(); |
|
|
echo $output->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .$course->fullname); |
|
|
echo $output->heading(get_string('attendanceforthecourse', 'attendance').' :: ' .format_string($course->fullname)); |
|
|
echo $output->render($tabs); |
|
|
echo $output->render($tabs); |
|
|
|
|
|
|
|
|
$mform->display(); |
|
|
$mform->display(); |
|
|