<FIELDNAME="grade"TYPE="int"LENGTH="10"NOTNULL="true"DEFAULT="100"SEQUENCE="false"COMMENT="This is maximum grade for instance"/>
<FIELDNAME="timemodified"TYPE="int"LENGTH="10"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="The time the settings for this attendance instance were last modified."/>
<FIELDNAME="subnet"TYPE="char"LENGTH="255"NOTNULL="false"SEQUENCE="false"COMMENT="add ability to restrict by IP."/>
</FIELDS>
<KEYS>
<KEYNAME="primary"TYPE="primary"FIELDS="id"COMMENT="Primary key for attendance"/>
$string['configrequiresubnet'] = 'Students can only record own attendance from these computers.';
$string['subnetwrong'] = 'Attendance can only be recorded from certain locations, and this computer is not on the allowed list.';
$string['requiresubnet_help'] = 'Attendance recording may be restricted to particular subnets by specifying a comma-separated list of partial or full IP addresses.';