diff --git a/mod/attendance/view.php b/mod/attendance/view.php
index ff8318fe939..36de3981789 100644
--- a/mod/attendance/view.php
+++ b/mod/attendance/view.php
@@ -143,6 +143,34 @@
/// ending for the table
echo "\n";
+
+ /// print the miscellaneous settings information before the attendance roll
+ echo "
".
+ "";
+// this is the main table
+ echo "";
+ echo"\n";
+ echo" \n";
+ echo"\n";
+ echo" \n";
+ echo"\n";
+ echo" \n";
+ if ($form->grade == "1") {
+ echo"\n";
+ echo" \n";
+ }
+ echo " |
\n";
+
/// Finish the page
print_footer($course);