Fix a possible race condition in the PaintWeb DML code.
[moodle/mihaisucan.git] / message / settings.html
blob3b21846154af45cf52f97a8b209347ed9db25b74
1 <form id="message_settings" action="index.php" method="post">
2 <div>
3 <input type="hidden" name="tab" value="settings" />
4 <input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
5 </div>
8 <table cellpadding="5" class="message_form boxaligncenter">
10 <tr valign="top">
11 <td align="right"><input type="checkbox" name="showmessagewindow" id="showmessagewindow" <?php echo $cbshowmessagewindow ?> /></td>
12 <td colspan="2"><label for="showmessagewindow"><?php print_string('showmessagewindow', 'message') ?></label></td>
13 </tr>
14 <tr valign="top">
15 <td align="right"><input type="checkbox" name="blocknoncontacts" id="blocknoncontacts" <?php echo $cbblocknoncontacts ?> /></td>
16 <td colspan="2"><label for="blocknoncontacts"><?php print_string('blocknoncontacts', 'message') ?></label></td>
17 </tr>
18 <tr valign="top">
19 <td align="right"><input type="checkbox" name="beepnewmessage" id="beepnewmessage" <?php echo $cbbeepnewmessage ?> /></td>
20 <td colspan="2"><label for="beepnewmessage"><?php print_string('beepnewmessage', 'message') ?></label></td>
21 </tr>
22 <tr valign="top">
23 <td align="right"><input type="checkbox" name="usehtmleditor" id="usehtmleditor" <?php echo $cbusehtmleditor ?> /></td>
24 <td colspan="2"><label for="usehtmleditor"><?php print_string('htmleditor') ?></label></td>
25 </tr>
26 <tr valign="top">
27 <td align="right"><input type="checkbox" name="noframesjs" id="noframesjs" <?php echo $cbnoframesjs ?> /></td>
28 <td colspan="2"><label for="noframesjs"><?php print_string('noframesjs', 'message') ?></label></td>
29 </tr>
32 <tr valign="top">
33 <td><input type="checkbox" name="emailmessages" id="emailmessages" <?php echo $cbemailmessages ?> /></td>
34 <td colspan="2"><label for="emailmessages"><?php print_string('emailmessages', 'message') ?></label></td>
35 </tr>
36 <tr valign="top">
37 <td>&nbsp;</td>
38 <td align="right"><label for="emailtimenosee"><?php print_string('formorethan', 'message') ?></label></td>
39 <td><input type="text" name="emailtimenosee" id="emailtimenosee" size="2" value="<?php p($txemailtimenosee) ?>" /> <?php print_string('mins') ?></td>
40 </tr>
42 <tr valign="top">
43 <td>&nbsp;</td>
44 <td align="right"><label for="emailaddress"><?php print_string('email') ?></label></td>
45 <td><input type="text" name="emailaddress" id="emailaddress" size="20" value="<?php p($txemailaddress) ?>" /></td>
46 </tr>
47 <tr valign="top">
48 <td>&nbsp;</td>
49 <td align="right"><label for="menuemailformat"><?php print_string('format') ?></label></td>
50 <td><?php echo $format_select ?>
51 </td>
52 </tr>
54 <tr valign="top">
55 <td colspan="3" align="center"><br /><input type="submit" value="<?php print_string('savemysettings', 'message') ?>" /></td>
56 </tr>
59 </table>
61 </form>