MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for...
[moodle.git] / enrol / manual / config.html
CommitLineData
4d3145f3 1<table cellspacing="0" cellpadding="5" border="0" class="boxaligncenter">
2
3<tr valign="top">
4 <td align="right">enrol_manual_keyholderrole:</td>
5 <td>
6 <?php
7 $roles = get_all_roles();
8 $rolenames = array();
9 foreach ($roles as $id=>$role) {
10 $rolenames[$id]=$role->name;
11 }
12 choose_from_menu($rolenames, 'enrol_manual_keyholderrole', $frm->enrol_manual_keyholderrole);
13 ?>
14 </td>
15 <td>
16 <?php print_string("keyholderrole", "enrol_manual") ?>
17 </td>
18</tr>
19
9ab17a32 20<tr>
21 <td align="right">enrol_manual_showhint:</td>
22 <td>
23<?php
24 $choices = array();
25 $choices['0'] = get_string('no');
26 $choices['1'] = get_string('yes');
27 choose_from_menu ($choices, 'enrol_manual_showhint', $frm->enrol_manual_showhint, '');
28?>
29 </td><td>
30 <?php print_string('enrol_manual_showhint', 'enrol_manual') ?>
31 </td>
32</tr>
33
82672532 34<tr>
35 <td align="right">enrol_manual_usepasswordpolicy:</td>
36 <td>
37<?php
38 $choices = array();
39 $choices['0'] = get_string('no');
40 $choices['1'] = get_string('yes');
41 choose_from_menu ($choices, 'enrol_manual_usepasswordpolicy', $frm->enrol_manual_usepasswordpolicy, '');
42?>
43 </td><td>
44 <?php print_string('enrol_manual_usepasswordpolicy', 'enrol_manual') ?>
45 </td>
46</tr>
47
48<tr>
49 <td align="right">enrol_manual_requirekey:</td>
50 <td>
51<?php
52 $choices = array();
53 $choices['0'] = get_string('no');
54 $choices['1'] = get_string('yes');
55 choose_from_menu ($choices, 'enrol_manual_requirekey', $frm->enrol_manual_requirekey, '');
56?>
57 </td><td>
58 <?php print_string('enrol_manual_requirekey', 'enrol_manual') ?>
59 </td>
60</tr>
61
4d3145f3 62
63</table>