RetroZilla/mailnews/compose/resources/content/askSendFormat.xul
2015-10-20 23:03:22 -04:00

66 lines
2.7 KiB
XML

<?xml version="1.0"?><!-- -*- Mode: SGML; tab-width: 4; indent-tabs-mode: nil; -*- -->
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://messenger/locale/messengercompose/askSendFormat.dtd">
<dialog id="askSendFormat"
title="&windowTitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttonpack="center"
onload="Startup()"
ondialogaccept="return Send();"
ondialogdisclosure="return Recipients();"
ondialoghelp="return Help();"
ondialogcancel="return Cancel();">
<script type="application/x-javascript" src="chrome://messenger/content/messengercompose/askSendFormat.js"/>
<spacer style="height:0.5em"/>
<hbox>
<spacer style="width:10px"/>
<vbox id="askImageBox">
<image id="convertDefault" />
</vbox>
<spacer style="width:10px"/>
<vbox flex="1">
<description>&recipient.label;</description>
<deck id="mailSendFormatExplanation">
<vbox><description>&convertibleDefault.label;</description></vbox> <!-- Hack: <vbox> is a workaround for bug 44513. -->
<vbox><description>&convertibleYes.label;</description></vbox>
<vbox><description>&convertibleAltering.label;</description></vbox>
<vbox><description>&convertibleNo.label;</description></vbox>
</deck>
<description>&question.label;</description>
<spacer style="height:1em"/>
<radiogroup id="mailDefaultHTMLAction">
<hbox>
<radio value="3" label="&plainTextAndHtml.label;"/>
<description id="plainTextAndHtmlRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</description>
<!-- Hack: box and html are workarounds for bug 49623 -->
</hbox>
<hbox>
<radio value="1" label="&plainTextOnly.label;"/>
<description id="plainTextOnlyRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</description>
</hbox>
<hbox>
<radio value="2" label="&htmlOnly.label;"/>
<description id="htmlOnlyRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</description>
</hbox>
</radiogroup>
</vbox>
<spacer style="width:10px"/>
</hbox>
<data id="hiddenLabels"
sendLabel="&send.label;"
recipientsLabel="&recipients.label;"
plainTextAndHtmlRecommendedLabel="&plainTextAndHtmlRecommended.label;"
plainTextOnlyRecommendedLabel="&plainTextOnlyRecommended.label;"
htmlOnlyRecommendedLabel="&htmlOnlyRecommended.label;"
/>
</dialog>