home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / pref-mailnews.xul < prev    next >
Extensible Markup Language  |  2001-10-11  |  4KB  |  110 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4. The contents of this file are subject to the Netscape Public
  5. License Version 1.1 (the "License"); you may not use this file
  6. except in compliance with the License. You may obtain a copy of
  7. the License at http://www.mozilla.org/NPL/
  8.  
  9. Software distributed under the License is distributed on an "AS
  10. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. implied. See the License for the specific language governing
  12. rights and limitations under the License.
  13.  
  14. The Original Code is Mozilla Communicator client code, released
  15. March 31, 1998.
  16.  
  17. The Initial Developer of the Original Code is Netscape
  18. Communications Corporation. Portions created by Netscape are
  19.  Copyright (C) 1998-2001 Netscape Communications Corporation. All
  20. Rights Reserved.
  21.  
  22. Contributor(s):
  23.     rcassin@supernova.org
  24. -->
  25.  
  26. <?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
  27.  
  28. <!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-mailnews.dtd">
  29.  
  30. <window xmlns:html="http://www.w3.org/1999/xhtml"
  31.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  32.         class="color-dialog"
  33.         onload="parent.initPanel('chrome://messenger/content/pref-mailnews.xul');"
  34.         orient="vertical">
  35.  
  36.   <script type="application/x-javascript">
  37.   <![CDATA[
  38.     var _elementIDs = ["mailPaneConfig", "mailnewsConfirmMoveFoldersToTrash", 
  39.                        "mailnewsStartPageEnabled", "mailnewsStartPageUrl",
  40.                        "newMailNotification" ];
  41.   ]]>
  42.   </script>
  43.   <script type="application/x-javascript" src="chrome://messenger/content/pref-mailnews.js"/>
  44.   
  45.   <hbox class="box-smallheader" title="&pane.title;"/>
  46.  
  47.   <groupbox orient="vertical">
  48.     <label value="&windowSettings.label;"/>
  49.     
  50.     <hbox autostretch="never">
  51.       <text class="label" value="&selectWindowLayout.label;"/>
  52.       <spring flex="1"/>
  53.       <radiogroup id="mailPaneConfig" pref="true" preftype="int" prefstring="mail.pane_config"
  54.                   prefattribute="value">
  55.         <radio group="mailPaneConfig" class="iconic" value="0" id="classic"/>
  56.         <radio group="mailPaneConfig" class="iconic" value="1" id="wide"/>
  57.       </radiogroup>
  58.     </hbox>
  59.     
  60.     <html>&chooseExp.label;</html>
  61.  
  62.     <separator class="thin"/>
  63.     <hbox autostretch="never">
  64.       <checkbox id="mailnewsConfirmMoveFoldersToTrash" label="&confirmMove.label;"
  65.                 pref="true" preftype="bool" prefstring="mailnews.confirm.moveFoldersToTrash"
  66.                 prefattribute="checked"/>
  67.     </hbox>
  68.     <hbox autostretch="never" id="mapi"/>
  69.  
  70.   </groupbox>
  71.  
  72.   <groupbox orient="vertical">
  73.     <label value="&messengerStartPage.label;"/>
  74.       <hbox autostretch="never">
  75.         <checkbox allowevents="true" id="mailnewsStartPageEnabled" label="&enableStartPage.label;"
  76.                   pref="true" preftype="bool" prefstring="mailnews.start_page.enabled"
  77.                   prefattribute="checked"/>
  78.       </hbox>
  79.  
  80.       <separator class="thin"/>
  81.  
  82.       <hbox autostretch="never">
  83.         <text class="label" value="&location.label;" accesskey="&location.accesskey;" 
  84.                    for="mailnews.start_page.url"/>
  85.         <textbox id="mailnewsStartPageUrl" flex="1" pref="true" preftype="localizedstring"
  86.                  prefstring="mailnews.start_page.url" prefattribute="value"/>
  87.       </hbox>
  88.  
  89.     <hbox pack="end">
  90.       <button class="dialog" label="&useDefault.label;" accesskey="&useDefault.accesskey;"
  91.               id="resetHomePageButton"
  92.               oncommand="setHomePageToDefaultPage('mailnewsStartPageUrl');">
  93.         <observes element="mailnewsStartPageUrl" attribute="disabled"/>
  94.       </button>
  95.      </hbox>
  96.  
  97.   </groupbox>
  98.   
  99.   <!-- Sound notification for new mail -->    
  100.         <groupbox orient="vertical">
  101.     <label value="&newMessage.label;"/>
  102.     <hbox autostretch="never">
  103.             <checkbox allowevents="true" id="newMailNotification" label="&playSound.label;"
  104.                 pref="true" preftype="bool" prefstring="mail.biff.play_sound"
  105.                 prefattribute="checked" accesskey="&playSound.accesskey;" />
  106.           </hbox>              
  107.         </groupbox>
  108.   
  109. </window>
  110.