home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / browser.jar / content / browser / pref / pref-advanced.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-29  |  9.4 KB  |  222 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
  6.  
  7. <!DOCTYPE page [
  8.   <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  9.   <!ENTITY % advancedDTD SYSTEM "chrome://browser/locale/pref/pref-advanced.dtd">
  10.   %brandDTD;
  11.   %advancedDTD;
  12. ]>
  13.  
  14. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.       onload="parent.initPanel('chrome://browser/content/pref/pref-advanced.xul');"
  16.       headertitle="&lHeader;">
  17.  
  18.   <script type="application/x-javascript" src="chrome://browser/content/pref/pref-advanced.js"/>
  19.   
  20.   <stringbundle id="advancedBundle" src="chrome://browser/locale/pref/prefutilities.properties"/>
  21.   <stringbundle id="drawOsBorder" src="chrome://browser/skin/window-shaping.properties"/>
  22.    
  23.   <vbox class="listBox settingsBox" flex="1" style="overflow: auto;">
  24.     <expander id="accessibility" label="&accessibility.label;" open="true" persist="open" clearhidden="true">
  25.       <checkbox id="moveSystemCaret" label="&moveSystemCaret.label;"
  26.                 prefstring="accessibility.browsewithcaret"/>
  27.       <checkbox id="useTypeAheadFind" label="&useTypeAheadFind.label;"
  28.                 prefstring="accessibility.typeaheadfind"/>
  29.     </expander>
  30.     <expander id="browsing" label="&browsing.label;" open="true" persist="open"
  31.               clearhidden="true">
  32.       <checkbox id="enableAutoImageResizing"
  33.                 label="&enableAutoImageResizing.label;"
  34.                 prefstring="browser.enable_automatic_image_resizing"/>
  35.  
  36.       <checkbox id="useAutoScrolling" label="&useAutoScrolling.label;"
  37.                 prefstring="general.autoScroll"/>
  38.  
  39.       <checkbox id="useSmoothScrolling" label="&useSmoothScrolling.label;"
  40.                 prefstring="general.smoothScroll"/>
  41.  
  42.       <!-- MERC - JCH: Make these pop-up blocking settings global -->
  43.  
  44.       <checkbox id="showBlockedCount" label="&showNumberBlocked.label;"
  45.                 prefstring="general.showNumberBlockedPopups"/>
  46.  
  47.       <checkbox id="playBlockedSound" label="&playSoundBlocked.label;"
  48.                 prefstring="general.playSoundWhenPopupBlocked"/>
  49.  
  50.       <checkbox id="menuInTitlebar" label="Show main menu in the title bar"
  51.                 prefstring="browser.menu_in_titlebar"/>
  52.     </expander>
  53.  
  54.     <!-- tabbed browsing -->
  55.     <!-- MERC (DP): moved to tab browsing panel
  56.     <expander id="tabbedBrowsing" label="&tabbedBrowsing.label;"
  57.               open="true" persist="open" clearhidden="true">
  58.       <groupbox align="start">
  59.         <caption label="&openExternalLinksIn.label;"/>
  60.         <radiogroup id="tabbedExternalLinks"
  61.                     prefstring="browser.link.open_external">
  62.           <radio label="&newWindow.label;" value="2"/>
  63.           <radio label="&newTabInRecentWindow.label;" value="3"/>
  64.           <radio label="&recentWindowOrTab.label;" value="1"/>
  65.         </radiogroup>
  66.       </groupbox>
  67.       -->
  68.       <!--  XXXben hide single window mode prefs for 1.0 to avoid crashes (see 266759) -->
  69.       <checkbox id="tabbedOpenForce" label="&forceNewWindowLinks.label;"
  70.                 oncommand="updateWindowLinksBehavior()" hidden="true"/>
  71.       <radiogroup id="tabbedWindowLinks" hidden="true"
  72.                   prefstring="browser.link.open_newwindow.ui"
  73.                   style="margin-left: 23px">
  74.         <radio label="&sameTabOrWindow.label;" value="1"/>
  75.         <radio label="&newTab.label;" value="3"/>
  76.       </radiogroup>
  77.     <!-- MERC (DP): moved to tab browsing panel
  78.       <checkbox id="hideTabBar" label="&hideTabBar.label;"
  79.                 prefstring="browser.tabs.autoHide"/>
  80.       <checkbox id="loadInBackground" label="&loadInBackground.label;"
  81.                 prefstring="browser.tabs.loadInBackground" reversed="true"/>
  82.       <checkbox id="loadBookmarksInBackground" label="&loadBookmarksInBackground.label;"
  83.                 prefstring="browser.tabs.loadBookmarksInBackground" reversed="true"/>
  84.       <checkbox id="warnOnClose" label="&warnOnClose.label;"
  85.                 prefstring="browser.tabs.warnOnClose"/>
  86.     </expander>
  87.     -->
  88.  
  89.      <!-- MERC - JCH: Added checkboxes for update types -->
  90.      <!-- MERC - LDB: smart updated simplified-->
  91.     <expander id="softwareupdate" label="&softwareupdate.label;" 
  92.               open="true" persist="open" clearhidden="true" align="left">
  93.       <vbox align="left">
  94.    
  95.     <groupbox align="start">
  96.         <caption label="&app.label;"/>
  97.         <!-- Prefs -->
  98.         <radiogroup id="autoInstallUpdates" orient="vertical" preftype="bool" 
  99.                 prefstring="update.autoInstallUpdates">
  100.           <radio label="¬ifyOfAvailableUpdates.label;" value="false"/>
  101.           <radio label="&autoInstallUpdates.label;" value="true"/>
  102.         </radiogroup>
  103.       </groupbox>
  104.  
  105.         <groupbox align="start">
  106.         <caption label="&enableExtensionUpdate.label;"/>
  107.         <!-- Prefs -->
  108.         <radiogroup id="autoDownloadInstallUpdatesToExtension" orient="vertical" preftype="bool" 
  109.                 prefstring="update.autoDownloadInstallUpdatesToExtension">
  110.           <radio label="¬ifyOfAvailableUpdates.label;" value="false"/>
  111.           <radio label="&autoInstallUpdates.label;" value="true"/>
  112.         </radiogroup>
  113.       </groupbox>
  114.         
  115.  
  116.         <separator class="thin"/>
  117.         <button label="&checkNow.label;" accesskey="&checkNow.accesskey;"
  118.                 oncommand="checkForUpdates();"/>
  119.       </vbox>
  120.     </expander>
  121.    <!-- END - MERC - LDB : Added checkboxes for update types -->
  122.  
  123.     <expander id="security" label="&security.label;" open="true" persist="open" clearhidden="true">
  124.       <checkbox id="useSSL2" label="&useSSL2.label;"
  125.                 prefstring="security.enable_ssl2"/>
  126.       <checkbox id="useSSL3" label="&useSSL3.label;"
  127.                 prefstring="security.enable_ssl3"/>
  128.       <checkbox id="useTLS1" label="&useTLS1.label;"
  129.                 prefstring="security.enable_tls"/>
  130.     </expander>
  131.     
  132.     <expander id="certs" label="&certs.label;" open="false" persist="open" clearhidden="true">      
  133.       <groupbox align="start">
  134.         <caption label="&SSLClientAuthMethod;"/>
  135.         <description>&certselect.description;</description>
  136.         <!-- Prefs -->
  137.         <radiogroup id="certSelection" orient="horizontal" preftype="string" 
  138.                 prefstring="security.default_personal_cert">
  139.           <radio label="&certselect.auto;" value="Select Automatically"/>
  140.           <radio label="&certselect.ask;" value="Ask Every Time"/>
  141.         </radiogroup>
  142.       </groupbox>
  143.  
  144.       <!-- Certificate manager -->
  145.       <groupbox>
  146.         <caption label="&managecerts.label;"/>
  147.         <description>&managecerts.text;</description>
  148.         <hbox align="center">
  149.           <button label="&managecerts.button;"
  150.                   oncommand="openCertManager();" 
  151.                   id="openCertManagerButton"
  152.                   accesskey="&managecerts.accesskey;"
  153.                   prefstring="security.disable_button.openCertManager"/>
  154.         </hbox>
  155.       </groupbox>
  156.  
  157.       <!-- Device manager -->
  158.       <groupbox>
  159.         <caption label="&managedevices.label;"/>
  160.         <description>&managedevices.text;</description>
  161.         <hbox align="center">
  162.           <button label="&managedevices.button;"
  163.                   oncommand="openDeviceManager();"
  164.                   id="openDeviceManagerButton"
  165.                   accesskey="&managedevices.accesskey;"
  166.                   prefstring="security.disable_button.openDeviceManager"/>
  167.         </hbox>
  168.       </groupbox>
  169.     </expander>
  170.     
  171.     <expander id="validation" label="&validation.label;" open="false" persist="open" clearhidden="true">      
  172.       <groupbox>
  173.         <caption label="&validation.crl.label;"/>
  174.         <description>&validation.crl.description;</description>
  175.         <hbox align="center">
  176.           <button label="&validation.managecrls.button;"
  177.                   oncommand="openCrlManager();"
  178.                   id="managecrlbutton"
  179.                   accesskey="&validation.managecrls.accesskey;"
  180.                   prefstring="security.OCSP.disable_button.managecrl"/>
  181.         </hbox>
  182.       </groupbox>
  183.  
  184.       <groupbox align="start">
  185.         <caption label="&validation.ocsp.label;"/>
  186.         <description>&validation.ocsp.description;</description>
  187.         <!-- Prefs -->
  188.         <radiogroup id="securityOCSPEnabled"
  189.                     prefstring="security.OCSP.enabled">
  190.             <radio value="0" label="&disableOCSP.label;" oncommand="doSecurityEnabling();"/>
  191.             <radio value="1" label="&certOCSP.label;" oncommand="doSecurityEnabling();"/>
  192.             <radio value="2" label="&proxyOCSP.label;" oncommand="doSecurityEnabling();"/>
  193.  
  194.             <grid class="indent" flex="1">
  195.               <columns>
  196.               <column/>
  197.               <column flex="1"/>
  198.               </columns>
  199.               
  200.               <rows>
  201.                 <row align="center">
  202.                   <label value="&signingCA.label;" accesskey="&signingCA.accesskey;" control="signingCA"/>
  203.                   <hbox id="signingCABox" flex="1"/>
  204.                 </row>
  205.                 <row align="center">
  206.                   <label value="&serviceURL.label;" accesskey="&serviceURL.accesskey;" control="serviceURL"/>
  207.                   <textbox id="serviceURL" prefstring="security.OCSP.URL"/>
  208.                 </row>
  209.             </rows>
  210.           </grid>
  211.         </radiogroup>
  212.       </groupbox>
  213.     </expander>    
  214.  
  215.     <menulist id="signingCA" preftype="string" prefstring="security.OCSP.signingCA"
  216.               flex="1" oncommand="changeURL()" hidden="true">
  217.       <menupopup/>
  218.     </menulist>
  219.   </vbox>
  220. </page>
  221.  
  222.