<form name="message_settings" action="index.php" method="post">
<input type="hidden" name="tab" value="settings" />


<table cellpadding="5" align="center" class="message_form">

    <tr valign="top">
        <td align="right"><input type="checkbox" name="showmessagewindow" alt="<?php print_string('showmessagewindow', 'message') ?>" <?php echo $cbshowmessagewindow ?> /></td>
        <td colspan="2"><?php print_string('showmessagewindow', 'message') ?></td>
    </tr>
    <tr valign="top">
        <td align="right"><input type="checkbox" name="blocknoncontacts" alt="<?php print_string('blocknoncontacts', 'message') ?>" <?php echo $cbblocknoncontacts ?>  /></td>
        <td colspan="2"><?php print_string('blocknoncontacts', 'message') ?></td>
    </tr>
    <tr valign="top">
        <td align="right"><input type="checkbox" name="beepnewmessage" alt="<?php print_string('beepnewmessage', 'message') ?>" <?php echo $cbbeepnewmessage ?>  /></td>
        <td colspan="2"><?php print_string('beepnewmessage', 'message') ?></td>
    </tr>
    <tr valign="top">
        <td align="right"><input type="checkbox" name="usehtmleditor" alt="<?php print_string('htmleditor') ?>" <?php echo $cbusehtmleditor ?>  /></td>
        <td colspan="2"><?php print_string('htmleditor') ?></td>
    </tr>

    
    <tr valign="top">
        <td><input type="checkbox" name="emailmessages" alt="<?php print_string('emailmessages', 'message') ?>" <?php echo $cbemailmessages ?>  /></td>
        <td colspan="2"><?php print_string('emailmessages', 'message') ?></td>
    </tr>
    <tr valign="top">
        <td>&nbsp;</td>
        <td align="right"><?php print_string('formorethan', 'message') ?>:</td>
        <td><input type="text" name="emailtimenosee" size="2" value="<?php echo $txemailtimenosee ?>" alt="<?php print_string('timenosee', 'message') ?>" /> <?php print_string('mins') ?></td>
    </tr>

    <tr valign="top">
        <td>&nbsp;</td>
        <td align="right"><?php print_string('email') ?>:</td>
        <td><input type="text" name="emailaddress" size="20" value="<?php echo $txemailaddress ?>" alt="<?php print_string('email') ?>" /></td>
    </tr>
    <tr valign="top">
        <td>&nbsp;</td>
        <td align="right"><?php print_string('format') ?>:</td>
        <td><?php echo $format_select ?>
        </td>
    </tr>

    <tr valign="top">
        <td colspan="3" align="center"><br /><input type="submit" value="<?php print_string('savemysettings', 'message') ?>" /></td>
    </tr>


</table>

</form>
