home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / messenger.jar / content / messenger / mailPrefsOverlay.xul < prev    next >
Extensible Markup Language  |  2004-11-25  |  5KB  |  121 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % mailPrefsOverlayDTD SYSTEM "chrome://messenger/locale/mailPrefsOverlay.dtd" >
  5. %mailPrefsOverlayDTD;
  6. ]>
  7.  
  8. <overlay id="mailPrefsOverlay"
  9.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11.   <script type="application/x-javascript">
  12.   <![CDATA[
  13.     var panel;
  14.     if (panel != undefined) {
  15.       switch(panel) 
  16.       {
  17.       case "chrome://communicator/content/pref/pref-scripts.xul":
  18.         _elementIDs.push("javascriptAllowMailNews");
  19.         _elementIDs.push("pluginAllowMailNews");
  20.         break;
  21.       case "chrome://communicator/content/pref/pref-appearance.xul":
  22.         _elementIDs.push("generalStartupMail");
  23.         break;
  24.       case "chrome://cookie/content/pref-images.xul":
  25.         _elementIDs.push("networkImageDisableImagesInMailNews");
  26.         break;
  27.       }
  28.     }
  29.   ]]>
  30.   </script>         
  31.  
  32.   <!-- javascript toggle for mail/news -->
  33.   <groupbox id="javascriptPreferences">
  34.     <checkbox id="javascriptAllowMailNews"
  35.               label="&enbJsCheckMailNews.label;" accesskey="&enbJsCheckMailNews.accesskey;"
  36.               pref="true" preftype="bool" prefstring="javascript.allow.mailnews"
  37.               prefattribute="checked" oncommand="javascriptEnabledChange();" insertafter="javascriptAllowNavigator"/>
  38.   </groupbox>
  39.   <!-- plugin toggle for mail/news -->
  40.   <groupbox id="pluginPreferences">
  41.     <checkbox id="pluginAllowMailNews"
  42.               label="&enbPluginCheckMailNews.label;" accesskey="&enbPluginCheckMailNews.accesskey;"
  43.               pref="true" preftype="bool" prefstring="mailnews.message_display.allow.plugins"
  44.               prefattribute="checked"/>
  45.   </groupbox>
  46.  
  47.   <!-- mail startup toggle -->
  48.   <groupbox id="generalStartupPreferences">           
  49.     <checkbox id="generalStartupMail" wsm_persist="true" position="3"
  50.               label="&mail.label;" accesskey="&mail.accesskey;"
  51.               pref="true" preftype="bool" prefstring="general.startup.mail"
  52.               prefattribute="checked"/>         
  53.   </groupbox>
  54.   <!--- image toggle for mail/news -->
  55.   <groupbox id="imagesArea">
  56.     <checkbox id="networkImageDisableImagesInMailNews"
  57.               label="&disableImageInMailNews.label;" accesskey="&disableImageInMailNews.accesskey;"
  58.               pref="true" preftype="bool" prefstring="mailnews.message_display.disable_remote_image"
  59.               prefattribute="checked" insertafter="networkImagesBehaviorSeparator"/>
  60.   </groupbox>
  61.  
  62.  
  63.  
  64.   <!-- category tree entries for mail/news -->
  65.   <treechildren id="panelChildren">
  66.     <treeitem container="true" id="mailnews" position="3">
  67.       <treerow>       
  68.         <treecell url="chrome://messenger/content/pref-mailnews.xul" label="&mail.label;"/> 
  69.       </treerow>
  70.       <treechildren id="messengerChildren">
  71.         <treeitem>
  72.           <treerow>
  73.             <treecell url="chrome://messenger/content/pref-windows.xul" label="&windows.label;"/> 
  74.           </treerow>
  75.         </treeitem>
  76.         <treeitem>
  77.           <treerow>
  78.             <treecell url="chrome://messenger/content/pref-viewing_messages.xul" label="&viewingMessages.label;"/> 
  79.           </treerow>
  80.         </treeitem>
  81.         <treeitem>
  82.           <treerow>
  83.             <treecell url="chrome://messenger/content/pref-notifications.xul" label="¬ifications.label;"/> 
  84.           </treerow>
  85.         </treeitem>
  86.         <treeitem id="mailcomposepref">
  87.           <treerow>
  88.             <treecell url="chrome://messenger/content/messengercompose/pref-composing_messages.xul" label="&composingMessages.label;"/> 
  89.           </treerow>
  90.         </treeitem>
  91.         <treeitem>
  92.           <treerow>
  93.             <treecell url="chrome://messenger/content/messengercompose/pref-formatting.xul" label="&format.label;"/> 
  94.           </treerow>
  95.         </treeitem>
  96.         <treeitem id="mailaddressbookpref">
  97.           <treerow>
  98.             <treecell url="chrome://messenger/content/addressbook/pref-addressing.xul" label="&address.label;"/> 
  99.           </treerow>
  100.         </treeitem>
  101.         <treeitem>
  102.           <treerow>
  103.             <treecell url="chrome://messenger/content/pref-labels.xul" label="&labels.label;"/>
  104.           </treerow>
  105.         </treeitem>
  106.         <treeitem>
  107.           <treerow>
  108.             <treecell url="chrome://messenger/content/pref-receipts.xul" label="&return.label;"/>
  109.           </treerow>
  110.         </treeitem>
  111.         <treeitem>
  112.           <treerow>
  113.             <treecell url="chrome://messenger/content/pref-offline.xul" label="&offline.label;"/> 
  114.           </treerow>
  115.         </treeitem>
  116.       </treechildren>
  117.     </treeitem>
  118.   </treechildren>
  119.            
  120. </overlay>         
  121.