home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / pref / pref-navigator.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  5KB  |  121 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3.    The contents of this file are subject to the Netscape Public
  4.    License Version 1.1 (the "License"); you may not use this file
  5.    except in compliance with the License. You may obtain a copy of
  6.    the License at http://www.mozilla.org/NPL/
  7.     
  8.    Software distributed under the License is distributed on an "AS
  9.    IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    implied. See the License for the specific language governing
  11.    rights and limitations under the License.
  12.     
  13.    The Original Code is Mozilla Communicator client code, released
  14.    March 31, 1998.
  15.    
  16.    The Initial Developer of the Original Code is Netscape
  17.    Communications Corporation. Portions created by Netscape are
  18.    Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    Rights Reserved.
  20.    
  21.    Contributor(s): 
  22.   -->
  23.  
  24. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  25. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  26. <?xul-overlay href="chrome://communicator/content/pref/platformPrefOverlay.xul"?>
  27.  
  28. <!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-navigator.dtd" >
  29.  
  30. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  31.       id="pref-navigator"
  32.       onload="parent.initPanel('chrome://communicator/content/pref/pref-navigator.xul');"
  33.       headertitle="&lHeader;">
  34.  
  35.   <stringbundle id="bundle_prefutilities" src="chrome://communicator/locale/pref/prefutilities.properties"/>
  36.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-navigator.js"/>
  37.  
  38.   <script type="application/x-javascript">
  39.   <![CDATA[
  40.     var _elementIDs = ["startupPage", "bookmarksButton",
  41.                        "goButton", "homeButton",
  42.                        "printButton", "searchButton" ];
  43.   ]]>
  44.   </script>
  45.   
  46.   <hbox id="pref-nav-platform-extensions">
  47.     <!-- navigator starts with -->  
  48.     <groupbox flex="1">
  49.       <caption label="&navRadio;"/>
  50.       <radiogroup id="startupPage" prefstring="browser.startup.page">
  51.         <radio value="0" label="&blankPageRadio.label;" accesskey="&blankPageRadio.accesskey;"/>
  52.         <radio value="1" label="&homePageRadio.label;" accesskey="&homePageRadio.accesskey;"/>
  53.         <radio value="2" label="&lastPageRadio.label;" accesskey="&lastPageRadio.accesskey;"/>
  54.       </radiogroup>
  55.   
  56.     </groupbox>
  57.   </hbox>
  58.  
  59.   <!-- homepage specification -->
  60.   <groupbox>
  61.     <caption label="&header2.label;"/>
  62.     <vbox flex="1">
  63.       <description>&homePageIntro.label;</description>
  64.       <hbox align="center">
  65.         <label value="&location.label;" accesskey="&location.accesskey;" control="browserStartupHomepage"/>
  66.         <textbox id="browserStartupHomepage" type="autocomplete" flex="1" class="uri-element" 
  67.                  searchSessions="history" timeout="50" maxrows="6"
  68.                  oninput="locationInputHandler();"/>
  69.         <button label="&browseFile.label;" accesskey="&browseFile.accesskey;"
  70.                 oncommand="selectFile();"
  71.                 id="browserChooseFile"
  72.                 prefstring="pref.browser.homepage.disable_button.select_file"/>
  73.       </hbox>
  74.       <hbox align="center" pack="end">
  75.         <button label="&useCurrent.label;" accesskey="&useCurrent.accesskey;"
  76.                 oncommand="setHomePageToCurrentPage();"
  77.                 id="browserUseCurrent"
  78.                 prefstring="pref.browser.homepage.disable_button.current_page"/>
  79.         <button label="&useCurrentGroup.label;" accesskey="&useCurrentGroup.accesskey;"
  80.                 oncommand="setHomePageToCurrentGroup();"
  81.                 id="browserUseCurrentGroup"
  82.                 prefstring="pref.browser.homepage.disable_button.current_group"/>
  83.         <button label="&useDefault.label;" accesskey="&useDefault.accesskey;"
  84.                 oncommand="setHomePageToDefaultPage();"
  85.                 id="browserUseDefault"
  86.                 prefstring="pref.browser.homepage.disable_button.default_page"/>
  87.       </hbox>
  88.     </vbox>
  89.   </groupbox>
  90.   
  91.   <!-- toolbar buttons customization -->
  92.   <groupbox flex="1" id="prefShowButtons" orient="horizontal">
  93.     <caption label="&toolbarIntro.label;"/>
  94.     <vbox id="prefShowButtonsBox1">
  95.  
  96.               <checkbox id="bookmarksButton"
  97.                         label="&bookmarksButton.label;"
  98.                         prefstring="browser.toolbars.showbutton.bookmarks"/>
  99.               <checkbox id="goButton"
  100.                         label="&goButton.label;"
  101.                         prefstring="browser.toolbars.showbutton.go"/>
  102.               <checkbox id="homeButton"
  103.                         label="&homeButton.label;"
  104.                         prefstring="browser.toolbars.showbutton.home"/>
  105.      </vbox>
  106.      <vbox id="prefShowButtonsbox">
  107.  
  108.               <checkbox id="searchButton"
  109.                         label="&searchButton.label;"
  110.                         prefstring="browser.toolbars.showbutton.search"/>
  111.                 <checkbox id="printButton"
  112.                         label="&printButton.label;"
  113.                         prefstring="browser.toolbars.showbutton.print"/>
  114.       </vbox>
  115.       <vbox id="prefShowButtonBox">
  116.  
  117.       </vbox>
  118.    </groupbox>
  119. </page>
  120.  
  121.