<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>

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

<window xmlns:html="http://www.w3.org/TR/REC-html40"
		xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
		onload="if (parent.handle) parent.handle.onpageload('pref-messages'); else parent.queuedTag='pref-messages';"
		align="vertical"
		class="dialog">

	<box class="header" align="horizontal">
		<html:div class="left-header-text">&pane.title;</html:div>
		<spring flex="100%"/>
		<html:div class="right-header-text">&pane.description;</html:div>
	</box>

	<html:fieldset>
		<html:legend align="left">
			<html:div>&forwardReply.label;</html:div>
		</html:legend>
		
		<html:div>
			<html:label for="mail.forward_message_mode">&forwardMsg.label;</html:label>
			<html:select pref="true" preftype="int" prefstring="mail.forward_message_mode" id="mail.forward_message_mode">
				<html:option value="0" label="&asAttachment.label;"/>
				<html:option value="2" label="&inline.label;"/>
			</html:select>
		</html:div>
		
		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.auto_quote" id="mail.auto_quote" type="checkbox"/>
			<html:label for="mail.auto_quote">&autoQuote.label;</html:label>
		</html:div>

		<html:div>
			<html:label for="mailnews.reply_on_top">&then.label;</html:label>
			<html:select pref="true" preftype="int" prefstring="mailnews.reply_on_top" id="mailnews.reply_on_top">
				<html:option value="1" label="&aboveQuote.label;"/>
				<html:option value="0" label="&belowQuote.label;"/>
				<html:option value="2" label="&selectAndAboveQuote.label;"/>
				<html:option value="3" label="&selectAndBelowQuote.label;"/>
			</html:select>
		</html:div>
	</html:fieldset>

	<html:fieldset>
		<html:legend align="left">
                        <html:div>&spellCheckHeader.label;</html:div>
                </html:legend>

		<html:input pref="true" preftype="bool" prefstring="mail.SpellCheckBeforeSend" id="mail.SpellCheckBeforeSend" type="checkbox"/>
		<html:label for="bool:mail.SpellCheckBeforeSend">&spellCheck.label;</html:label>
	</html:fieldset>

	<html:fieldset>
		<html:legend align="left">
			<html:div>&msgWrapping.label;</html:div>
		</html:legend>
		
		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.wrap_long_lines" id="mail.wrap_long_lines" type="checkbox"/>
			<html:label for="mail.wrap_long_lines">&wrapInMsg.label;</html:label>
		</html:div>
		
		<html:div>
			&wrapOutMsg.label;
			<html:input pref="true" preftype="int" prefstring="mailnews.wraplength" id="mailnews.wraplength" name="wraplength" type="text" size="10"/>
			&char.label;
		</html:div>
	</html:fieldset>

	<html:fieldset>
		<html:legend align="left">
			<html:div>&use8Bits.label;</html:div>
		</html:legend>

		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.strictly_mime" prefindex="false" id="int:mail.strictly_mime0" name="strictly_mime" type="radio"/>
			<html:label for="mail.strictly_mime1">&asIs.label;</html:label>
		</html:div>

		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.strictly_mime" prefindex="true" id="mail.strictly_mime1" name="strictly_mime" type="radio"/>
			<html:label for="mail.strictly_mime1">&useMIMEpart1.label;</html:label>
		</html:div>
		<html:div class="indent">&useMIMEpart2.label;</html:div>

	</html:fieldset>
	 <html:fieldset>
                <html:legend align="left">
                        <html:div>&emoticonsAndStructs.label;</html:div>
                </html:legend>
		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.convert_emoticons" id="bool:mail.convert_emoticons" type="checkbox"/>
			<html:label for="mail.convert_emoticons">&convertEmoticons.label;&example1.label;&example2.label;&to.label;<html:img src="chrome://messenger/skin/smile.gif"/></html:label>
		</html:div>
		<html:div>
			<html:input pref="true" preftype="bool" prefstring="mail.convert_structs" id="mail.convert_structs" type="checkbox"/>
			<html:label for="mail.convert_structs">&convertStructs.label;&example1.label;&example3.label;&example4.label;&example3.label;&to.label;<html:b>&example4.label;</html:b></html:label>
		</html:div>
	</html:fieldset>

</window>
