<?xml version="1.0"?> 
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/pref-formatting.dtd">

<window xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="parent.initPanel('chrome://messenger/content/messengercompose/pref-formatting.xul');"
        orient="vertical"
        class="color-dialog">

  <script language="javascript">
  <![CDATA[
    var _elementIDs = ["mailDefaultHTMLAction"];
  ]]>
  </script>  
    
  <box class="box-smallheader" title="&pane.title;"/>

  <titledbox orient="vertical">
    <title><html>&sendMail.label;</html></title>

    <radiogroup id="mailDefaultHTMLAction" orient="vertical" autostretch="never"
                pref="true" preftype="int" prefstring="mail.default_html_action"
                prefattribute="data">
      <radio group="mailDefaultHTMLAction" data="0" value="&askMe.label;" accesskey="&askMe.accesskey;"/>
      <radio group="mailDefaultHTMLAction" data="1" value="&convertPlain.label;" accesskey="&convertPlain.accesskey;"/>                
      <radio group="mailDefaultHTMLAction" data="2" value="&sendHTML.label;" accesskey="&sendHTML.accesskey;"/>
      <radio group="mailDefaultHTMLAction" data="3" value="&sendBoth.label;" accesskey="&sendBoth.accesskey;"/>
    </radiogroup>
    
    <separator/>

    <html>&override.label;</html>
  </titledbox>

</window>
