MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.git] / enrol / flatfile / config.html
blobe91df2f1aa2bc5ede637f320c8fc8fc66bd449e9
1 <table cellspacing="0" cellpadding="5" border="0" class="boxaligncenter">
3 <tr valign="top">
4 <td align="right">enrol_flatfilelocation:</td>
5 <td>
6 <input type="text" size="20" name="enrol_flatfilelocation" value="<?php echo $frm->enrol_flatfilelocation ?>" />
7 </td>
8 <td>
9 <?php print_string("location", "enrol_flatfile") ?>
10 </td>
11 </tr>
13 <tr valign="top">
14 <td align="right">enrol_mailstudents:</td>
15 <td>
16 <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"checked\"" ?> />
17 </td>
18 <td>
19 <?php print_string("mailstudents") ?>
20 </td>
21 </tr>
23 <tr valign="top">
24 <td align="right">enrol_mailteachers:</td>
25 <td>
26 <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"checked\"" ?> />
27 </td>
28 <td>
29 <?php print_string("mailteachers") ?>
30 </td>
31 </tr>
33 <tr valign="top">
34 <td align="right">enrol_mailadmins:</td>
35 <td>
36 <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"checked\"" ?> />
37 </td>
38 <td>
39 <?php print_string("mailadmins") ?>
40 </td>
41 </tr>
43 <tr valign="top">
44 <td align="left" colspan="2">enrol_flatfilemapping:</td>
45 </tr>
47 <?php foreach ($frm->enrol_flatfilemapping as $id => $record) {
48 list($name, $mapping) = $record; ?>
49 <tr valign="top">
50 <td align="right"><?php echo htmlspecialchars($name, ENT_COMPAT, 'UTF-8'); ?></td>
51 <td><input type="text" size="20" name="enrol_flatfilemapping_<?php echo $id; ?>" value="<?php echo htmlspecialchars($mapping, ENT_COMPAT, 'UTF-8'); ?>" /></td>
52 </tr>
53 <?php } ?>
55 </table>