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"?>
|
2000-03-14 11:31:54 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
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
|
|
|
|
2000-06-15 09:54:41 +00:00
|
|
|
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-01-07 06:52:11 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-04-25 02:17:38 +00:00
|
|
|
class="color-dialog"
|
2000-02-14 01:42:09 +00:00
|
|
|
orient="vertical" title="&title.label;"
|
2000-04-25 02:17:38 +00:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-navigator.xul');">
|
2000-01-07 06:52:11 +00:00
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<script language="javascript" src="chrome://global/content/strres.js"></script>
|
|
|
|
<script language="javascript" src="chrome://communicator/content/pref/prefutilities.js"></script>
|
2000-07-10 22:07:47 +00:00
|
|
|
<script language="javascript" src="chrome://global/content/nsJSComponentManager.js">
|
|
|
|
</script>
|
2000-04-25 02:17:38 +00:00
|
|
|
<script language="JavaScript">
|
|
|
|
<![CDATA[
|
2000-10-15 16:12:04 +00:00
|
|
|
var _elementIDs = ["startupPage", "browserStartupHomepage",
|
|
|
|
"alwaysCheckWhenDropOnHome", "bookmarksButton",
|
|
|
|
"goButton", "homeButton", "printButton",
|
|
|
|
"searchButton" ];
|
2000-04-25 02:17:38 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2000-04-30 02:47:45 +00:00
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
1999-11-18 21:05:43 +00:00
|
|
|
|
2000-01-08 09:07:11 +00:00
|
|
|
<!-- navigator starts with -->
|
2000-04-25 02:17:38 +00:00
|
|
|
<titledbox>
|
2000-08-24 00:37:24 +00:00
|
|
|
<title value="&navRadio;"/>
|
2000-04-25 02:17:38 +00:00
|
|
|
|
2000-07-28 06:32:27 +00:00
|
|
|
<radiogroup id="startupPage" autostretch="never" orient="vertical"
|
2000-04-25 02:17:38 +00:00
|
|
|
pref="true" preftype="int" prefstring="browser.startup.page"
|
2000-05-17 06:29:22 +00:00
|
|
|
prefattribute="data">
|
2000-04-25 02:17:38 +00:00
|
|
|
<radio group="startupPage" data="0" value="&blankPageRadio.label;" accesskey="&blankPageRadio.accesskey;"/>
|
|
|
|
<radio group="startupPage" data="1" value="&homePageRadio.label;" accesskey="&homePageRadio.accesskey;"/>
|
|
|
|
<radio group="startupPage" data="2" value="&lastPageRadio.label;" accesskey="&lastPageRadio.accesskey;"/>
|
|
|
|
</radiogroup>
|
|
|
|
|
|
|
|
</titledbox>
|
1999-08-25 02:40:19 +00:00
|
|
|
|
2000-04-25 02:17:38 +00:00
|
|
|
<!-- homepage specification -->
|
|
|
|
<titledbox orient="vertical">
|
2000-08-24 00:37:24 +00:00
|
|
|
<title value="&header2.label;"/>
|
2000-04-25 02:17:38 +00:00
|
|
|
<html>&homePageIntro.label;</html>
|
|
|
|
<box autostretch="never">
|
|
|
|
<text class="label" value="&location.label;" accesskey="&location.accesskey;" for="browserStartupHomepage"/>
|
|
|
|
<textfield id="browserStartupHomepage" flex="1" wsm_persist="true"
|
|
|
|
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 -->
|
|
|
|
</box>
|
|
|
|
<box autostretch="never" halign="right">
|
|
|
|
<button class="dialog" value="&useCurrent.label;" accesskey="&useCurrent.accesskey;"
|
|
|
|
oncommand="setHomePageToCurrentPage('browserStartupHomepage');"/>
|
|
|
|
<button class="dialog" value="&browseFile.label;" accesskey="&browseFile.accesskey;"
|
|
|
|
oncommand="prefNavSelectFile('browserStartupHomepage', 'choosehomepage', false );"/>
|
|
|
|
</box>
|
2000-08-08 22:45:53 +00:00
|
|
|
<separator class="thin"/>
|
2000-08-08 04:18:23 +00:00
|
|
|
<box autostretch="never">
|
|
|
|
<checkbox id="alwaysCheckWhenDropOnHome"
|
|
|
|
value="&alwaysCheckWhenDropHome.label;"
|
|
|
|
accesskey="&alwaysCheckWhenDropHome.accesskey;"
|
|
|
|
pref="true" preftype="bool" prefstring="browser.homepage.enable_home_button_drop"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
</box>
|
2000-08-23 00:53:04 +00:00
|
|
|
</titledbox>
|
|
|
|
|
|
|
|
<!-- toolbar buttons customization -->
|
|
|
|
<titledbox flex="1" orient="vertical">
|
|
|
|
<title value="&header3.label;"/>
|
|
|
|
<html>&toolbarIntro.label;</html>
|
|
|
|
<tree flex="1" class="dialog inset">
|
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren flex="1" id="prefShowButtons">
|
|
|
|
<treeitem>
|
|
|
|
<treerow>
|
|
|
|
<treecell>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="bookmarksButton"
|
|
|
|
value="&bookmarksButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.bookmarks"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treerow>
|
|
|
|
<treecell>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="goButton"
|
|
|
|
value="&goButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.go"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem id="homeItem">
|
|
|
|
<treerow>
|
|
|
|
<treecell>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="homeButton"
|
|
|
|
value="&homeButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.home"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem id="printItem">
|
|
|
|
<treerow>
|
|
|
|
<treecell>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="printButton"
|
|
|
|
value="&printButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.print"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treerow>
|
|
|
|
<treecell>
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="searchButton"
|
|
|
|
value="&searchButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.search"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</tree>
|
|
|
|
</titledbox>
|
1999-07-03 18:00:43 +00:00
|
|
|
</window>
|
1999-08-25 02:40:19 +00:00
|
|
|
|