101 lines
4.3 KiB
XML
101 lines
4.3 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"?>
|
|
<?xul-overlay href="chrome://browser/content/pref/platformPrefOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/pref-navigator.dtd" >
|
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
id="pref-navigator"
|
|
onload="parent.initPanel('chrome://browser/content/pref/pref-navigator.xul');"
|
|
headertitle="&lHeader;">
|
|
|
|
<stringbundle id="bundle_prefutilities" src="chrome://browser/locale/pref/prefutilities.properties"/>
|
|
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-navigator.js"/>
|
|
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var _elementIDs = ["startupPage", "browserStartupHomepage"];
|
|
]]>
|
|
</script>
|
|
|
|
<hbox id="pref-nav-platform-extensions">
|
|
<!-- navigator starts with -->
|
|
<groupbox flex="1">
|
|
<caption label="&navRadio;"/>
|
|
<radiogroup id="startupPage" prefstring="browser.startup.page">
|
|
<radio value="0" label="&blankPageRadio.label;" accesskey="&blankPageRadio.accesskey;"/>
|
|
<radio value="1" label="&homePageRadio.label;" accesskey="&homePageRadio.accesskey;"/>
|
|
<radio value="2" label="&lastPageRadio.label;" accesskey="&lastPageRadio.accesskey;"/>
|
|
</radiogroup>
|
|
|
|
</groupbox>
|
|
</hbox>
|
|
|
|
<!-- homepage specification -->
|
|
<groupbox>
|
|
<caption label="&header2.label;"/>
|
|
<vbox flex="1">
|
|
<description>&homePageIntro.label;</description>
|
|
<hbox align="center">
|
|
<label value="&location.label;" accesskey="&location.accesskey;" control="browserStartupHomepage"/>
|
|
<textbox id="browserStartupHomepage" type="autocomplete" flex="1"
|
|
searchSessions="history" timeout="50" maxrows="6" preftype="localizedstring"
|
|
prefstring="browser.startup.homepage"/> <!-- we may wish to change this to data
|
|
when we support fancy formatted local filenames -->
|
|
</hbox>
|
|
<hbox align="center" pack="end">
|
|
<button label="&useCurrent.label;" accesskey="&useCurrent.accesskey;"
|
|
oncommand="setHomePageToCurrentPage();"
|
|
id="browserUseCurrent"
|
|
prefstring="pref.browser.homepage.disable_button.current_page"/>
|
|
<button label="&browseFile.label;" accesskey="&browseFile.accesskey;"
|
|
oncommand="selectFile();"
|
|
id="browserChooseFile"
|
|
prefstring="pref.browser.homepage.disable_button.select_file"/>
|
|
<button label="&useDefault.label;" accesskey="&useDefault.accesskey;"
|
|
oncommand="setHomePageToDefaultPage();"
|
|
id="browserUseDefault"
|
|
prefstring="pref.browser.homepage.disable_button.default_page"/>
|
|
</hbox>
|
|
</vbox>
|
|
</groupbox>
|
|
<groupbox>
|
|
<caption label="&header3.label;"/>
|
|
<description>&historyPages.label;</description>
|
|
<hbox align="center">
|
|
<label value="&pageHis.label;" accesskey="&pageHis.accesskey;" control="histDay"/>
|
|
<textbox id="histDay" size="3"
|
|
preftype="int" prefstring="browser.history_expire_days"/>
|
|
<label value="&days.label;"/>
|
|
<spacer flex="1"/>
|
|
<button label="&clearHistory.label;" accesskey="&clearHistory.accesskey;"
|
|
oncommand="prefClearGlobalHistory(); this.disabled = true;"
|
|
id="browserClearHistory"
|
|
prefstring="pref.browser.history.disable_button.clear_hist"/>
|
|
</hbox>
|
|
</groupbox>
|
|
</page>
|
|
|