зеркало из https://github.com/mozilla/pjs.git
136 строки
6.6 KiB
XML
136 строки
6.6 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
<!-- 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-2000 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s): ______________________________________. -->
|
|
|
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
|
|
|
<!DOCTYPE window [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % buildDTD SYSTEM "chrome://global/content/build.dtd" >
|
|
%buildDTD;
|
|
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
|
%navigatorDTD;
|
|
]>
|
|
|
|
<window id="main-window" xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="Startup()" onunload="Shutdown()"
|
|
contenttitlesettting="true"
|
|
title="&mainWindow.title;"
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
|
windowtype="navigator:browser" orient="vertical"
|
|
width="640" height="480"
|
|
screenX="10" screenY="10"
|
|
persist="screenX screenY width height sizemode">
|
|
|
|
<!-- Fast-Nav -->
|
|
<script type="application/x-javascript" src="chrome://navigator/content/fastnav.js"/>
|
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true">
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="nav-bar" persist="collapsed"
|
|
tbautostretch="always">
|
|
<hbox id="nav-bar-buttons">
|
|
<menubutton id="back-button" label="&backButton.label;" tooltiptext="&backButton.tooltip;"
|
|
oncommand="gotoHistoryIndex(event);" buttonaction="BrowserBack();" context="backMenu"
|
|
class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoBack">
|
|
<menupopup context="" oncreate="BrowserBackMenu(event);"/>
|
|
</menubutton>
|
|
<menubutton id="forward-button" label="&forwardButton.label;" tooltiptext="&forwardButton.tooltip;"
|
|
oncommand="gotoHistoryIndex(event);" buttonaction="BrowserForward();" context="forwardMenu"
|
|
class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoForward">
|
|
<menupopup context="" oncreate="BrowserForwardMenu(event);"/>
|
|
</menubutton>
|
|
|
|
<button class="button-toolbar-1 top" id="reload-button" crop="right" oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();" label="&reloadButton.label;"
|
|
tooltip="aTooltip" tooltiptext="&reloadButton.tooltip;"/>
|
|
<button class="button-toolbar-1 top" id="stop-button" crop="right" observes="canStop" oncommand="BrowserStop();" label="&stopButton.label;"
|
|
tooltip="aTooltip" tooltiptext="&stopButton.tooltip;"/>
|
|
</hbox>
|
|
|
|
<hbox id="nav-bar-inner" flex="1">
|
|
<hbox id="urlbar-group" class="box-toolbar-group chromeclass-location" flex="1">
|
|
<hbox flex="1" id="urlbar-container">
|
|
<textbox id="urlbar" class="plain" flex="1"
|
|
type="autocomplete" searchSessions="history"
|
|
timeout="50" maxrows="6" alwaysOpenPopup="true"
|
|
defaultSearchEngine="true"
|
|
tooltip="aTooltip" tooltiptext="&locationBar.tooltip;"
|
|
ontextcommand="return handleURLBarCommand(userAction);"
|
|
ontextrevert="return handleURLBarRevert();"
|
|
onmouseup="URLBarMouseupHandler(event);"
|
|
onblur="URLBarBlurHandler(event);">
|
|
<image id="page-proxy-button" allowevents="true"
|
|
ondraggesture="PageProxyDragGesture(event);"/>
|
|
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
|
popupalign="topleft" popupanchor="bottomleft"
|
|
oncreate="createUBHistoryMenu(event.target);"
|
|
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
|
</textbox>
|
|
</hbox>
|
|
</hbox>
|
|
|
|
<button class="button-toolbar-3 chromeclass-location" id="go-button" persist="hidden" hidden="true" label="&goButton.label;" oncommand="addToUrlbarHistory(); BrowserLoadURL();"
|
|
tooltip="aTooltip" tooltiptext="&goButton.tooltip;"/>
|
|
|
|
<button class="button-toolbar-3 chromeclass-location" persist="hidden"
|
|
id="search-button" label="&searchButton.label;"
|
|
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
|
tooltip="aTooltip" tooltiptext="&searchButton.tooltip;"/>
|
|
</hbox>
|
|
|
|
<menubutton class="menubutton-dual top" id="print-button" persist="hidden" label="&printButton.label;"
|
|
crop="right" buttonaction="BrowserPrint()" tooltip="aTooltip" tooltiptext="&printButton.tooltip;">
|
|
<menupopup id="printMenu" popupalign="topright" popupanchor="bottomright">
|
|
<menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" oncommand="BrowserPrint()" default="true"/>
|
|
</menupopup>
|
|
</menubutton>
|
|
|
|
<hbox id="throbber-box" autostretch="never">
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')" tooltip="aTooltip" tooltiptext="&throbber.tooltip;"/>
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
|
|
</toolbox>
|
|
<hbox flex="1" >
|
|
<vbox id="appcontent" flex="1"
|
|
ondragover="nsDragAndDrop.dragOver(event, contentAreaDNDObserver);"
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
|
|
|
<!-- this box is temporary, pending XBLified <browser> -->
|
|
<hbox id="browser" flex="1">
|
|
<browser id="content" type="content-primary" src="about:blank"
|
|
flex="1" tooltip="aHTMLTooltip"
|
|
context="contentAreaContextMenu"
|
|
onclick="return contentAreaClick(event);"
|
|
ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"/>
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
</window>
|