home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / messengercompose / askSendFormat.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  3KB  |  76 lines

  1. <?xml version="1.0"?><!-- -*- Mode: SGML; tab-width: 4; indent-tabs-mode: nil; -*- -->
  2.  
  3. <?xml-stylesheet href="chrome://messenger/skin/messengercompose/messengercompose.css" type="text/css"?>
  4.  
  5. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  6.  
  7. <!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/askSendFormat.dtd">
  8.  
  9. <window id="askSendFormat"
  10.     title="&windowTitle.label;"
  11.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     xmlns:html="http://www.w3.org/1999/xhtml"
  13.     onload="Startup()"
  14.     orient="vertical"
  15.     class="dialog"
  16.     style="-moz-user-input: ignore"
  17.     >
  18.  
  19. <script language="JavaScript" src="chrome://messenger/content/messengercompose/askSendFormat.js"/>
  20.  
  21. <keyset id="keyset"/>
  22.  
  23.     <spring style="height:0.5em"/>
  24.     <box align="horizontal">
  25.         <spring style="width:10px"/>
  26.         <box orient="vertical" id="askImageBox">
  27.             <image id="convertDefault" />
  28.         </box>
  29.         <spring style="width:10px"/>
  30.         <box orient="vertical" flex="1">
  31.             <html>&recipient.label;</html>
  32.             <deck id="mailSendFormatExplanation">
  33.                 <box orient="vertical"><html>&convertibleDefault.label;</html></box>  <!-- Hack: <box> is a workaround for bug 44513. -->
  34.                 <box orient="vertical"><html>&convertibleYes.label;</html></box>
  35.                 <box orient="vertical"><html>&convertibleAltering.label;</html></box>
  36.                 <box orient="vertical"><html>&convertibleNo.label;</html></box>
  37.             </deck>
  38.             <html>&question.label;</html>
  39.             <spring style="height:1em"/>
  40.  
  41.             <radiogroup id="mailDefaultHTMLAction" orient="vertical" autostretch="never">
  42.                <box orient="horizontal">
  43.                 <radio group="mailDefaultHTMLAction" id="SendPlainTextAndHtml" data="0" value="&plainTextAndHtml.label;"/>
  44.                 <html id="plainTextAndHtmlRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</html>
  45.                 <!-- Hack: box and html are workarounds for bug 49623 -->
  46.                </box>
  47.                <box orient="horizontal">
  48.                 <radio group="mailDefaultHTMLAction" id="SendPlainTextOnly" data="1" value="&plainTextOnly.label;"/>
  49.                 <html id="plainTextOnlyRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</html>
  50.                </box>
  51.                <box orient="horizontal">
  52.                 <radio group="mailDefaultHTMLAction" id="SendHtmlOnly" data="2" value="&htmlOnly.label;"/>
  53.                 <html id="htmlOnlyRecommended" hidden="true" style="margin-top: 4px;">&recommended.label;</html>
  54.                </box>
  55.             </radiogroup>
  56.  
  57.         </box>
  58.         <spring style="width:10px"/>
  59.     </box>
  60.         
  61.     <spring style="height:1em"/>
  62.     <box id="okCancelButtons"
  63.         button1Label="&send.label;"
  64.         button2Label="&cancel.label;"
  65.         button3Label="&recipients.label;"
  66.         button4Label="&help.label;"
  67.     />
  68.     <box id="hiddenLabels"
  69.         plainTextAndHtmlRecommendedLabel="&plainTextAndHtmlRecommended.label;"
  70.         plainTextOnlyRecommendedLabel="&plainTextOnlyRecommended.label;"
  71.         htmlOnlyRecommendedLabel="&htmlOnlyRecommended.label;"
  72.     />
  73.     <spring style="height:1em" />
  74.  
  75. </window>
  76.