|
@ -54,7 +54,7 @@ if (! $atts = get_all_instances_in_course("attendance", $course)) { |
|
|
|
|
|
|
|
|
$usesections = course_format_uses_sections($course->format); |
|
|
$usesections = course_format_uses_sections($course->format); |
|
|
|
|
|
|
|
|
// Print the list of instances, |
|
|
// Print the list of instances. |
|
|
|
|
|
|
|
|
$timenow = time(); |
|
|
$timenow = time(); |
|
|
$strname = get_string("name"); |
|
|
$strname = get_string("name"); |
|
@ -71,7 +71,7 @@ if ($usesections) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
foreach ($atts as $att) { |
|
|
foreach ($atts as $att) { |
|
|
//get the responses of each feedback |
|
|
// Get the responses of each attendance. |
|
|
$viewurl = new moodle_url('/mod/attendance/view.php', array('id' => $att->coursemodule)); |
|
|
$viewurl = new moodle_url('/mod/attendance/view.php', array('id' => $att->coursemodule)); |
|
|
|
|
|
|
|
|
$dimmedclass = $att->visible ? '' : 'class="dimmed"'; |
|
|
$dimmedclass = $att->visible ? '' : 'class="dimmed"'; |
|
|