gecko-dev/browser/components/prefwindow/content/pref-navigator.xul

73 строки
3.1 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"/>
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-navigator.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["browserStartupHomepage"];
]]>
</script>
<!-- homepage specification -->
<groupbox>
<caption label="&header2.label;"/>
<hbox align="center" flex="1">
<label value="&location.label;" accesskey="&location.accesskey;" control="browserStartupHomepage"/>
<textbox id="browserStartupHomepage" type="autocomplete" flex="1"
autocompletesearch="history"
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="&useBookmark.label;" accesskey="&useBookmark.accesskey;"
oncommand="setHomePageToBookmark();"
id="browserUseBookmark"
prefstring="pref.browser.homepage.disable_button.bookmark_page"/>
<button label="&useBlank.label;" accesskey="&useBlank.accesskey;"
oncommand="document.getElementById('browserStartupHomepage').value = 'about:blank';"
id="browserUseBlank"
prefstring="pref.browser.homepage.disable_button.blank_page"/>
</hbox>
</groupbox>
<groupbox id="pref-nav-platform-extensions"/>
</page>