1999-06-04 23:28:56 +00:00
|
|
|
<?xml version="1.0"?>
|
1999-08-10 02:48:56 +00:00
|
|
|
<!--
|
|
|
|
The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
-->
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2000-04-21 10:13:18 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2001-04-05 19:53:13 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
2000-08-23 00:53:04 +00:00
|
|
|
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
|
1999-11-18 21:05:43 +00:00
|
|
|
|
2000-04-19 21:42:30 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-navigator.dtd" >
|
1999-08-25 02:40:19 +00:00
|
|
|
|
2001-04-05 19:53:13 +00:00
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
2001-03-21 02:08:19 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-04-25 02:17:38 +00:00
|
|
|
class="color-dialog"
|
2001-04-05 19:53:13 +00:00
|
|
|
orient="vertical"
|
2001-03-21 02:08:19 +00:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-navigator.xul');">
|
2000-01-07 06:52:11 +00:00
|
|
|
|
2001-04-01 05:02:07 +00:00
|
|
|
<stringbundle id="bundle_prefutilities" src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-navigator.js"/>
|
2001-04-30 18:37:04 +00:00
|
|
|
|
2001-03-11 12:17:34 +00:00
|
|
|
<script type="application/x-javascript">
|
2000-04-25 02:17:38 +00:00
|
|
|
<![CDATA[
|
2000-11-04 02:37:51 +00:00
|
|
|
var _elementIDs = ["startupPage", "browserStartupHomepage",
|
|
|
|
"bookmarksButton", "goButton",
|
|
|
|
"homeButton", "printButton",
|
2000-10-15 16:12:04 +00:00
|
|
|
"searchButton" ];
|
2000-04-25 02:17:38 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2001-07-09 18:41:07 +00:00
|
|
|
<hbox class="box-smallheader" title="&lHeader;"/>
|
1999-11-18 21:05:43 +00:00
|
|
|
|
2000-01-08 09:07:11 +00:00
|
|
|
<!-- navigator starts with -->
|
2001-07-09 18:41:07 +00:00
|
|
|
<groupbox>
|
2001-03-22 00:59:29 +00:00
|
|
|
<label value="&navRadio;"/>
|
2000-04-25 02:17:38 +00:00
|
|
|
|
2001-08-04 06:21:59 +00:00
|
|
|
<radiogroup id="startupPage" align="start" orient="vertical"
|
2000-04-25 02:17:38 +00:00
|
|
|
pref="true" preftype="int" prefstring="browser.startup.page"
|
2001-03-22 00:59:29 +00:00
|
|
|
prefattribute="value">
|
|
|
|
<radio group="startupPage" value="0" label="&blankPageRadio.label;" accesskey="&blankPageRadio.accesskey;"/>
|
|
|
|
<radio group="startupPage" value="1" label="&homePageRadio.label;" accesskey="&homePageRadio.accesskey;"/>
|
|
|
|
<radio group="startupPage" value="2" label="&lastPageRadio.label;" accesskey="&lastPageRadio.accesskey;"/>
|
2000-04-25 02:17:38 +00:00
|
|
|
</radiogroup>
|
|
|
|
|
2001-07-09 18:41:07 +00:00
|
|
|
</groupbox>
|
2001-03-21 02:08:19 +00:00
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<!-- homepage specification -->
|
2001-08-04 06:21:59 +00:00
|
|
|
<groupbox>
|
2001-03-22 00:59:29 +00:00
|
|
|
<label value="&header2.label;"/>
|
2001-08-04 06:21:59 +00:00
|
|
|
<vbox flex="1">
|
|
|
|
<html>&homePageIntro.label;</html>
|
|
|
|
<hbox align="center">
|
|
|
|
<text class="label" value="&location.label;" accesskey="&location.accesskey;" for="browserStartupHomepage"/>
|
|
|
|
<textbox id="browserStartupHomepage" type="autocomplete" flex="1" wsm_persist="true"
|
|
|
|
searchSessions="history" timeout="50" maxrows="6"
|
|
|
|
pref="true" preftype="string" prefstring="browser.startup.homepage"
|
|
|
|
prefattribute="value"/> <!-- we may wish to change this to data
|
|
|
|
when we support fancy formatted local filenames -->
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<button class="dialog" label="&useCurrent.label;" accesskey="&useCurrent.accesskey;"
|
|
|
|
oncommand="setHomePageToCurrentPage();"
|
|
|
|
id="browserUseCurrent" pref="true" preftype="bool"
|
|
|
|
prefstring="pref.browser.homepage.disable_button.current_page" prefattribute="disabled"/>
|
|
|
|
<button class="dialog" label="&browseFile.label;" accesskey="&browseFile.accesskey;"
|
|
|
|
oncommand="selectFile();"
|
|
|
|
id="browserChooseFile" pref="true" preftype="bool"
|
|
|
|
prefstring="pref.browser.homepage.disable_button.select_file" prefattribute="disabled"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2001-07-09 18:41:07 +00:00
|
|
|
</groupbox>
|
2000-08-23 00:53:04 +00:00
|
|
|
|
|
|
|
<!-- toolbar buttons customization -->
|
2001-08-04 06:21:59 +00:00
|
|
|
<groupbox flex="1" id="prefShowButtons">
|
2001-06-14 02:00:42 +00:00
|
|
|
<label value="&toolbarIntro.label;"/>
|
2001-07-09 18:41:07 +00:00
|
|
|
<vbox>
|
2001-06-14 01:48:14 +00:00
|
|
|
|
2000-08-23 00:53:04 +00:00
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="bookmarksButton"
|
2001-03-22 00:59:29 +00:00
|
|
|
label="&bookmarksButton.label;"
|
2000-08-23 00:53:04 +00:00
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.bookmarks"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="goButton"
|
2001-03-22 00:59:29 +00:00
|
|
|
label="&goButton.label;"
|
2000-08-23 00:53:04 +00:00
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.go"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="homeButton"
|
2001-03-22 00:59:29 +00:00
|
|
|
label="&homeButton.label;"
|
2000-08-23 00:53:04 +00:00
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.home"
|
|
|
|
prefattribute = "checked"/>
|
2001-07-09 18:41:07 +00:00
|
|
|
</vbox>
|
|
|
|
<vbox id="prefShowButtonsbox">
|
2001-06-14 01:48:14 +00:00
|
|
|
|
2000-08-23 00:53:04 +00:00
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="searchButton"
|
2001-03-22 00:59:29 +00:00
|
|
|
label="&searchButton.label;"
|
2000-08-23 00:53:04 +00:00
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.search"
|
|
|
|
prefattribute = "checked"/>
|
2001-06-14 01:48:14 +00:00
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="printButton"
|
|
|
|
label="&printButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.print"
|
|
|
|
prefattribute = "checked"/>
|
2001-07-09 18:41:07 +00:00
|
|
|
</vbox>
|
|
|
|
<vbox id="prefShowButtonBox">
|
2001-06-14 01:48:14 +00:00
|
|
|
|
2001-07-09 18:41:07 +00:00
|
|
|
</vbox>
|
|
|
|
</groupbox>
|
1999-07-03 18:00:43 +00:00
|
|
|
</window>
|
1999-08-25 02:40:19 +00:00
|
|
|
|