Added check for <text> fields that contain markup (an error!)
[moodle-linuxchix.git] / enrol / paypal / config.html
blob73be98db06afd3cfa26db5f0ef26768c226b6933
1 <table cellspacing="0" cellpadding="5" border="0" class="boxaligncenter">
3 <tr valign="top">
4 <td align="right">enrol_cost:</td>
5 <td>
6 <input type="text" size="5" name="enrol_cost" value="<?php echo $frm->enrol_cost ?>" />
7 </td>
8 <td>
9 <?php print_string("costdefault") ?>
10 </td>
11 </tr>
13 <tr valign="top">
14 <td align="right">enrol_currency:</td>
15 <td>
16 <?php choose_from_menu ($paypalcurrencies, "enrol_currency", $frm->enrol_currency, "","", "") ?>
17 </td>
18 <td>
19 <?php print_string("currency") ?>
20 </td>
21 </tr>
23 <tr valign="top">
24 <td align="right">enrol_paypalbusiness:</td>
25 <td>
26 <input type="text" name="enrol_paypalbusiness" value="<?php echo $frm->enrol_paypalbusiness ?>" />
27 </td>
28 <td>
29 <?php print_string("business", "enrol_paypal") ?>
30 </td>
31 </tr>
33 <tr valign="top">
34 <td align="right">enrol_mailstudents:</td>
35 <td>
36 <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"checked\"" ?> />
37 </td>
38 <td>
39 <?php print_string("mailstudents") ?>
40 </td>
41 </tr>
43 <tr valign="top">
44 <td align="right">enrol_mailteachers:</td>
45 <td>
46 <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"checked\"" ?> />
47 </td>
48 <td>
49 <?php print_string("mailteachers") ?>
50 </td>
51 </tr>
53 <tr valign="top">
54 <td align="right">enrol_mailadmins:</td>
55 <td>
56 <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"checked\"" ?> />
57 </td>
58 <td>
59 <?php print_string("mailadmins") ?>
60 </td>
61 </tr>
63 </table>