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 / pref-composing_messages.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  5KB  |  132 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  3. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  4. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  5. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  6.  
  7. <!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/pref-composing_messages.dtd">
  8.  
  9. <window xmlns:html="http://www.w3.org/1999/xhtml"
  10.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.         onload="parent.initPanel('chrome://messenger/content/messengercompose/pref-composing_messages.xul');"
  12.         orient="vertical"
  13.         class="color-dialog">
  14.  
  15.   <popupset id="aTooltipSet"/>
  16.     
  17.   <script language="JavaScript">
  18.   <![CDATA[
  19.     var _elementIDs = ["forwardMessageMode", "autoQuote", "replyOnTop", "spellCheckBeforeSend", "strictlyMime", "wrapLength", "sendDefaultCharsetList"];
  20.  
  21.     function Startup()
  22.     {
  23.       doEnabling();
  24.     }
  25.     
  26.     function doEnabling()
  27.     {
  28.       var quotebox = document.getElementById("thenBox");
  29.       var quotecheck = document.getElementById("autoQuote");
  30.       if( quotecheck.checked ) {
  31.         quotebox.firstChild.removeAttribute("disabled");
  32.         quotebox.lastChild.removeAttribute("disabled");
  33.       }
  34.       else {
  35.         quotebox.firstChild.setAttribute("disabled","true");
  36.         quotebox.lastChild.setAttribute("disabled","true");
  37.       }
  38.     }
  39.   ]]>
  40.   </script>  
  41.     
  42.   <box class="box-smallheader" title="&pane.title;"/>
  43.  
  44.     <titledbox orient="vertical">
  45.         <title><text value="&forwardReply.label;"/></title>
  46.         
  47.     <box autostretch="never">
  48.       <text class="label" value="&forwardMsg.label;" accesskey="&forwardMsg.accesskey;"/>
  49.       <menulist id="forwardMessageMode" 
  50.                 pref="true" preftype="int" prefstring="mail.forward_message_mode"
  51.                 prefattribute="data">
  52.         <menupopup>
  53.           <menuitem data="0" value="&asAttachment.label;" accesskey="&asAttachment.accesskey;"/>
  54.           <menuitem data="2" value="&inline.label;" accesskey="&inline.accesskey;"/>
  55.         </menupopup>
  56.       </menulist>
  57.     </box>
  58.     
  59.     <checkbox id="autoQuote" value="&autoQuote.label;" 
  60.               pref="true" preftype="bool" prefstring="mail.auto_quote"
  61.               prefattribute="checked" oncommand="doEnabling();"/>        
  62.     <box class="indent" autostretch="never" id="thenBox">
  63.       <text class="label" value="&then.label;" accesskey="&then.accesskey;" for="replyOnTop"/>
  64.       <menulist id="replyOnTop" pref="true" preftype="int" prefstring="mailnews.reply_on_top"
  65.                 prefattribute="data">
  66.         <menupopup>
  67.           <menuitem data="1" value="&aboveQuote.label;" accesskey="&aboveQuote.accesskey;"/>
  68.           <menuitem data="0" value="&belowQuote.label;" accesskey="&belowQuote.accesskey;"/>
  69.           <menuitem data="2" value="&selectAndAboveQuote.label;" accesskey="&selectAndAboveQuote.accesskey;"/>
  70.           <menuitem data="3" value="&selectAndBelowQuote.label;" accesskey="&selectAndBelowQuote.accesskey;"/>
  71.         </menupopup>
  72.       </menulist>        
  73.     </box>
  74.   </titledbox>
  75.  
  76.     <!-- Composing Mail -->
  77.     <titledbox orient="vertical" autostretch="never">
  78.         <title><text value="&sendingMessagesHeader.label;"/></title>
  79.         
  80.     <checkbox id="spellCheckBeforeSend" value="&spellCheck.label;"
  81.               pref="true" preftype="bool" prefstring="mail.SpellCheckBeforeSend"
  82.               prefattribute="checked"/>
  83.     
  84.     <checkbox id="strictlyMime" value="&useMIME.label;"
  85.                 pref="true" preftype="bool" prefstring="mail.strictly_mime"
  86.                 prefattribute="checked"/>
  87.     
  88.     <box autostretch="never">
  89.     <text class="label" value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" for="wrapLength"/>
  90.     <textfield id="wrapLength" size="3" pref="true" preftype="int"
  91.                prefstring="mailnews.wraplength" prefattribute="value"/>
  92.     <text class="label" value="&char.label;"/>
  93.     </box>
  94.  
  95.    <box autostretch="never">
  96.     <text class="label" value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;" for="sendDefaultCharsetList"/>
  97.     <menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
  98.               pref="true" preftype="string" prefstring="mailnews.send_default_charset"
  99.               prefattribute="data">
  100.       <template>
  101.         <menupopup oncreate="dump('CREATE MENU NOW\n');">
  102.           <menuitem value="rdf:http://home.netscape.com/NC-rdf#Name" data="..." uri="..."/>
  103.         </menupopup>
  104.       </template>
  105.     </menulist>       
  106.     </box> 
  107.     </titledbox>
  108.     
  109. <!--
  110.     <titledbox orient="vertical" autostretch="never">
  111.     <title><text value="&languages.label;"/></title>
  112.  
  113.    <box autostretch="never">
  114.     <text class="label" value="&sendDefaultCharset.label;" for="sendDefaultCharsetList"/>
  115.     <menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
  116.               pref="true" preftype="string" prefstring="mailnews.send_default_charset"
  117.               prefattribute="data">
  118.       <template>
  119.         <menupopup>
  120.           <menuitem value="rdf:http://home.netscape.com/NC-rdf#Name" data="..." uri="..."/>
  121.         </menupopup>
  122.       </template>
  123.     </menulist>       
  124.     </box> 
  125.   </titledbox>
  126. -->
  127.               
  128.       
  129.  
  130.     
  131. </window>
  132.