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

110 строки
4.9 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:35 +04:00
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
2006-05-17 06:24:27 +04:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
2006-05-17 06:24:35 +04:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-navigator.dtd" >
1999-08-25 06:40:19 +04:00
2006-05-17 06:24:09 +04:00
<window debug="false" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
2006-05-17 06:24:09 +04:00
orient="vertical" title="&title.label;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-navigator' ); else parent.queuedTag = 'pref-navigator';">
<html:script language="javascript" src="chrome://global/content/strres.js" />
2006-05-17 06:24:35 +04:00
<html:script language="javascript" src="chrome://communicator/content/pref/prefutilities.js"/>
<html:script language="javascript" src="chrome://communicator/content/pref/pref-navigator.js"/>
1999-06-05 03:28:56 +04:00
2006-05-17 06:24:27 +04:00
<box type="smallheader" title="&lHeader;" description="&rHeader;"/>
<!-- navigator starts with -->
2006-05-17 06:24:09 +04:00
<titledbox orient="vertical">
<title><text value="&navRadio;"/></title>
<html:div>
<html:input name="starts" type="radio" id="browserStartupPage0"
pref="true" preftype="int" prefindex="0" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage0" accesskey="" tabindex="0">
1999-08-25 06:40:19 +04:00
&blankRadio;
</html:label>
</html:div>
2006-05-17 06:24:09 +04:00
<html:div>
<html:input name="starts" type="radio" id="browserStartupPage1"
pref="true" preftype="int" prefindex="1" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage1" accesskey="" tabindex="0">
1999-08-25 06:40:19 +04:00
&header2.label;
</html:label>
</html:div>
2006-05-17 06:24:09 +04:00
<html:div>
<html:input name="starts" type="radio" id="browserStartupPage2"
pref="true" preftype="int" prefindex="2" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage2" accesskey="" tabindex="0">
1999-08-25 06:40:19 +04:00
&lastPageRadio;
</html:label>
</html:div>
2006-05-17 06:24:09 +04:00
</titledbox>
1999-08-25 06:40:19 +04:00
<!-- homepage specification -->
2006-05-17 06:24:09 +04:00
<titledbox orient="vertical">
<title><text value="&header2.label;"/></title>
<box orient="vertical" flex="1">
<html:div>&clickRadio;</html:div>
<html:div>
<html:label for="browserStartupHomepage" style="padding-left: 1px;">&location;</html:label>
2006-05-17 06:24:09 +04:00
<html:input size="50" name="homepage" type="text" id="browserStartupHomepage"
pref="true" preftype="string" prefstring="browser.startup.homepage" />
2006-05-17 06:24:09 +04:00
</html:div>
<box orient="horizontal">
<spring flex="1"/>
<titledbutton class="dialog push" name="starts" type="button" value="&useCurrent;" onclick="setHomePageToCurrentPage('browserStartupHomepage');" />
<titledbutton class="dialog push" name="browse" type="button" value="&browseFile;" onclick="prefNavSelectFile('browserStartupHomepage', 'choosehomepage', false);"/>
</box>
</box>
2006-05-17 06:24:09 +04:00
</titledbox>
<!-- commenting out for beta -->
<titledbox orient="vertical" style="display: none;">
2006-05-17 06:24:09 +04:00
<title><text value="&header3.label;"/></title>
<box orient="vertical" flex="1">
<html:div>&historyPages;</html:div>
2006-05-17 06:24:09 +04:00
<box orient="horizontal" autostretch="never" style="vertical-align: middle">
<html:label for="histDay" style="padding: 0px;">&pagesHis;</html:label>
<html:input type="text" value="&histDay;" id="histDay" style="margin-left: 2px; margin-right: 5px;"
pref="true" preftype="string" prefstring="browser.history_expire_days" size="3"/>
<html:div>&daysRadio;</html:div>
2006-05-17 06:24:09 +04:00
<spring flex="1"/>
<titledbutton class="dialog push" name="Clearit" value="&clearHis;" />
</box>
</box>
2006-05-17 06:24:09 +04:00
</titledbox>
<!-- commenting out for beta -->
<titledbox orient="vertical" style="display: none;">
2006-05-17 06:24:09 +04:00
<title><html:div>&header4.label;</html:div></title>
<box orient="horizontal" flex="1" autostretch="never" style="vertical-align: middle">
<html:label style="padding: 0px;">&clearBar;</html:label>
2006-05-17 06:24:09 +04:00
<spring flex="1"/>
<titledbutton class="dialog push" name="starts" type="button" value="&clearLoc;" />
</box>
2006-05-17 06:24:09 +04:00
</titledbox>
</window>
1999-08-25 06:40:19 +04:00