Use $this->error for only error report
[moodle-linuxchix.git] / message / settings.html
blob1c0ddcec9b2a20fe876be74dbb2c8c7b42bad8b0
1 <form id="message_settings" action="index.php" method="post">
2 <input type="hidden" name="tab" value="settings" />
5 <table cellpadding="5" align="center" class="message_form">
7 <tr valign="top">
8 <td align="right"><input type="checkbox" name="showmessagewindow" id="showmessagewindow" <?php echo $cbshowmessagewindow ?> /></td>
9 <td colspan="2"><label for="showmessagewindow"><?php print_string('showmessagewindow', 'message') ?></label></td>
10 </tr>
11 <tr valign="top">
12 <td align="right"><input type="checkbox" name="blocknoncontacts" id="blocknoncontacts" <?php echo $cbblocknoncontacts ?> /></td>
13 <td colspan="2"><label for="blocknoncontacts"><?php print_string('blocknoncontacts', 'message') ?></label></td>
14 </tr>
15 <tr valign="top">
16 <td align="right"><input type="checkbox" name="beepnewmessage" id="beepnewmessage" <?php echo $cbbeepnewmessage ?> /></td>
17 <td colspan="2"><label for="beepnewmessage"><?php print_string('beepnewmessage', 'message') ?></label></td>
18 </tr>
19 <tr valign="top">
20 <td align="right"><input type="checkbox" name="usehtmleditor" id="usehtmleditor" <?php echo $cbusehtmleditor ?> /></td>
21 <td colspan="2"><label for="usehtmleditor"><?php print_string('htmleditor') ?></label></td>
22 </tr>
23 <tr valign="top">
24 <td align="right"><input type="checkbox" name="noframesjs" id="noframesjs" <?php echo $cbnoframesjs ?> /></td>
25 <td colspan="2"><label for="noframesjs"><?php print_string('noframesjs', 'message') ?></label></td>
26 </tr>
29 <tr valign="top">
30 <td><input type="checkbox" name="emailmessages" id="emailmessages" <?php echo $cbemailmessages ?> /></td>
31 <td colspan="2"><label for="emailmessages"><?php print_string('emailmessages', 'message') ?></label></td>
32 </tr>
33 <tr valign="top">
34 <td>&nbsp;</td>
35 <td align="right"><label for="emailtimenosee"><?php print_string('formorethan', 'message') ?></label></td>
36 <td><input type="text" name="emailtimenosee" id="emailtimenosee" size="2" value="<?php p($txemailtimenosee) ?>" /> <?php print_string('mins') ?></td>
37 </tr>
39 <tr valign="top">
40 <td>&nbsp;</td>
41 <td align="right"><label for="emailaddress"><?php print_string('email') ?></label></td>
42 <td><input type="text" name="emailaddress" id="emailaddress" size="20" value="<?php p($txemailaddress) ?>" /></td>
43 </tr>
44 <tr valign="top">
45 <td>&nbsp;</td>
46 <td align="right"><label for="menuemailformat"><?php print_string('format') ?></label></td>
47 <td><?php echo $format_select ?>
48 </td>
49 </tr>
51 <tr valign="top">
52 <td colspan="3" align="center"><br /><input type="submit" value="<?php print_string('savemysettings', 'message') ?>" /></td>
53 </tr>
56 </table>
58 </form>