+
+ attendance_dynsection: |
+
+ attendance_dynsection) ? 'checked' : '' ?> >
+ |
+
+ p(get_string("defaultdynamicsection","attendance")) ?>
+ |
+
+
+
+ attendance_default_hours: |
+
+ for ($i=1;$i<=24;$i++){ $opt[$i] = $i; }
+ choose_from_menu($opt, "attendance_default_hours", $CFG->attendance_default_hours, ""); ?>
+ |
+
+
+ |
+
+
+
+ attendance_tardies_per_absence: |
+
+ for ($i=1;$i<=24;$i++){ $opt2[$i] = $i; }
+ choose_from_menu($opt2, "attendance_tardies_per_absence", $CFG->attendance_tardies_per_absence, "none","","0"); ?>
+ |
+
+
+ |
+
+
+
+ attendance_hours_in_full_report: |
+
+ for ($i=10;$i<=24;$i++){ $opt3[$i] = $i; }
+ choose_from_menu($opt3, "attendance_hours_in_full_report", $CFG->attendance_tardies_per_absence, ""); ?>
+ |
+
+
+ |
+
+
+
+ attendance_default_student_status: |
+
+
+ $A = get_string("absentlong","attendance");
+ $T = get_string("tardylong","attendance");
+ $P = get_string("presentlong","attendance");
+
+ $r1c=$r2c=$r3c=" ";
+ if ($CFG->attendance_default_student_status == 1) {$r2c="checked";}
+ elseif ($CFG->attendance_default_student_status == 2) {$r3c="checked";}
+ else {$r1c="checked";}
+ $radio1="";
+ $radio2="";
+ $radio3="";
+ echo "".
+ $radio1.$P." | \n";
+ echo "".
+ $radio2.$T." | \n";
+ echo "".
+ $radio3.$A." | \n";
+?>
+ |
+
+
+ |
+
+
+
+
+ "> |
+
+
+
+