mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
140 lines
5.9 KiB
XML
140 lines
5.9 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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):
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
|
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-navigator.dtd" >
|
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="color-dialog"
|
|
orient="vertical"
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-navigator.xul');">
|
|
|
|
<stringbundle id="bundle_prefutilities" src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-navigator.js"/>
|
|
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var _elementIDs = ["startupPage", "browserStartupHomepage",
|
|
"bookmarksButton", "goButton",
|
|
"homeButton", "printButton",
|
|
"searchButton" ];
|
|
]]>
|
|
</script>
|
|
|
|
<hbox class="box-smallheader" title="&lHeader;"/>
|
|
|
|
<!-- navigator starts with -->
|
|
<groupbox>
|
|
<label value="&navRadio;"/>
|
|
|
|
<radiogroup id="startupPage" align="start" orient="vertical"
|
|
pref="true" preftype="int" prefstring="browser.startup.page"
|
|
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;"/>
|
|
</radiogroup>
|
|
|
|
</groupbox>
|
|
|
|
<!-- homepage specification -->
|
|
<groupbox>
|
|
<label value="&header2.label;"/>
|
|
<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>
|
|
</groupbox>
|
|
|
|
<!-- toolbar buttons customization -->
|
|
<groupbox flex="1" id="prefShowButtons">
|
|
<label value="&toolbarIntro.label;"/>
|
|
<vbox>
|
|
|
|
<checkbox allowevents="true"
|
|
id="bookmarksButton"
|
|
label="&bookmarksButton.label;"
|
|
pref="true"
|
|
preftype="bool"
|
|
prefstring="browser.toolbars.showbutton.bookmarks"
|
|
prefattribute = "checked"/>
|
|
<checkbox allowevents="true"
|
|
id="goButton"
|
|
label="&goButton.label;"
|
|
pref="true"
|
|
preftype="bool"
|
|
prefstring="browser.toolbars.showbutton.go"
|
|
prefattribute = "checked"/>
|
|
<checkbox allowevents="true"
|
|
id="homeButton"
|
|
label="&homeButton.label;"
|
|
pref="true"
|
|
preftype="bool"
|
|
prefstring="browser.toolbars.showbutton.home"
|
|
prefattribute = "checked"/>
|
|
</vbox>
|
|
<vbox id="prefShowButtonsbox">
|
|
|
|
<checkbox allowevents="true"
|
|
id="searchButton"
|
|
label="&searchButton.label;"
|
|
pref="true"
|
|
preftype="bool"
|
|
prefstring="browser.toolbars.showbutton.search"
|
|
prefattribute = "checked"/>
|
|
<checkbox allowevents="true"
|
|
id="printButton"
|
|
label="&printButton.label;"
|
|
pref="true"
|
|
preftype="bool"
|
|
prefstring="browser.toolbars.showbutton.print"
|
|
prefattribute = "checked"/>
|
|
</vbox>
|
|
<vbox id="prefShowButtonBox">
|
|
|
|
</vbox>
|
|
</groupbox>
|
|
</window>
|
|
|