You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1000 B

<h1 class="main help"><?php print_string("defaults",'block_attendance');?></h1>
<table border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td align="center"><strong>#</strong></td>
<td align="center"><strong><?php print_string('status','block_attendance');?> </strong></td>
<td align="center"><strong><?php print_string('acronym','block_attendance');?></strong></td>
<td><strong><?php print_string('description');?></strong></td>
<td width="100" align="center"><strong><?php print_string('grade');?></strong></td>
</tr>
<?php
$vars = get_records('attendance_settings', 'courseid', 0);
$i=1;
foreach($vars as $settings)
{
?>
<tr>
<td align="center"><?php echo $i++;?>.</td>
<td align="center"><?php echo $settings->status;?></td>
<td align="center"><?php echo $settings->acronym;?></td>
<td align="left"><?php echo $settings->description;?></td>
<td width="100" align="center"><?php echo $settings->grade;?></td>
</tr>
<?php
}
?>
</table>