gecko-dev/suite/common/pref/pref-navigator.xul

121 строка
5.0 KiB
Plaintext
Исходник Обычный вид История

1999-06-05 03:28:56 +04:00
<?xml version="1.0"?>
1999-08-10 06:48:56 +04: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-05 03:28:56 +04:00
2006-05-17 06:24:36 +04:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 06:27:06 +04:00
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/pref/platformPrefOverlay.xul"?>
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-navigator.dtd" >
1999-08-25 06:40:19 +04:00
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="pref-navigator"
onload="parent.initPanel('chrome://communicator/content/pref/pref-navigator.xul');"
headertitle="&lHeader;">
<stringbundle id="bundle_prefutilities" src="chrome://communicator/locale/pref/prefutilities.properties"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-navigator.js"/>
2006-05-17 06:29:29 +04:00
<script type="application/x-javascript">
2006-05-17 06:24:52 +04:00
<![CDATA[
var _elementIDs = ["startupPage", "bookmarksButton",
"goButton", "homeButton",
"printButton", "searchButton" ];
2006-05-17 06:24:52 +04:00
]]>
</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>
2006-05-17 06:24:52 +04:00
<!-- 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" class="uri-element"
searchSessions="history" timeout="50" maxrows="6"
oninput="locationInputHandler();"/>
<button label="&browseFile.label;" accesskey="&browseFile.accesskey;"
oncommand="selectFile();"
id="browserChooseFile"
prefstring="pref.browser.homepage.disable_button.select_file"/>
</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="&useCurrentGroup.label;" accesskey="&useCurrentGroup.accesskey;"
oncommand="setHomePageToCurrentGroup();"
id="browserUseCurrentGroup"
prefstring="pref.browser.homepage.disable_button.current_group"/>
<button label="&useDefault.label;" accesskey="&useDefault.accesskey;"
oncommand="setHomePageToDefaultPage();"
id="browserUseDefault"
prefstring="pref.browser.homepage.disable_button.default_page"/>
</hbox>
</vbox>
</groupbox>
2006-05-17 06:27:06 +04:00
<!-- toolbar buttons customization -->
<groupbox flex="1" id="prefShowButtons" orient="horizontal">
<caption label="&toolbarIntro.label;"/>
<vbox id="prefShowButtonsBox1">
<checkbox id="bookmarksButton"
label="&bookmarksButton.label;"
prefstring="browser.toolbars.showbutton.bookmarks"/>
<checkbox id="goButton"
label="&goButton.label;"
prefstring="browser.toolbars.showbutton.go"/>
<checkbox id="homeButton"
label="&homeButton.label;"
prefstring="browser.toolbars.showbutton.home"/>
</vbox>
<vbox id="prefShowButtonsbox">
<checkbox id="searchButton"
label="&searchButton.label;"
prefstring="browser.toolbars.showbutton.search"/>
<checkbox id="printButton"
label="&printButton.label;"
prefstring="browser.toolbars.showbutton.print"/>
</vbox>
<vbox id="prefShowButtonBox">
</vbox>
</groupbox>
</page>
1999-08-25 06:40:19 +04:00