mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
updated view to show extra information re: grading, dynamic section,
automation based on logs.
This commit is contained in:
parent
29bd1e46c5
commit
ec0ce75f90
1 changed files with 28 additions and 0 deletions
|
@ -143,6 +143,34 @@
|
|||
/// ending for the table
|
||||
echo "</table></td></tr></table>\n";
|
||||
|
||||
|
||||
/// print the miscellaneous settings information before the attendance roll
|
||||
echo "<center><table align=\"center\" width=\"80\" class=\"generalbox\"".
|
||||
"border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>".
|
||||
"<td bgcolor=\"#ffffff\" class=\"generalboxcontent\">";
|
||||
// this is the main table
|
||||
echo "<table width=\"100%\" border=\"0\" valign=\"top\" align=\"center\" ".
|
||||
"cellpadding=\"5\" cellspacing=\"1\" class=\"generaltable\">";
|
||||
echo"<tr><th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
get_string("dynsectionshort","attendance").":</th>\n";
|
||||
echo"<th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
(($form->dynsection=="1")?"Yes":"No")."</th></tr>\n";
|
||||
echo"<tr><th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
get_string("autoattendshort","attendance").":</th>\n";
|
||||
echo"<th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
(($form->autoattend=="1")?"Yes":"No")."</th></tr>\n";
|
||||
echo"<tr><th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
get_string("gradeshort","attendance").":</th>\n";
|
||||
echo"<th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
(($form->grade=="1")?"Yes":"No")."</th></tr>\n";
|
||||
if ($form->grade == "1") {
|
||||
echo"<tr><th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
get_string("maxgradeshort","attendance").":</th>\n";
|
||||
echo"<th valign=\"top\" align=\"right\" nowrap class=\"generaltableheader\">".
|
||||
$form->maxgrade."</th></tr>\n";
|
||||
}
|
||||
echo "</table></td></table>\n";
|
||||
|
||||
/// Finish the page
|
||||
print_footer($course);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue