1999-09-17 20:16:36 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
1999-07-14 00:03:57 +00: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): ______________________________________. -->
|
|
|
|
|
|
|
|
|
2006-09-14 05:49:27 +00:00
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?>
|
1999-09-28 04:40:15 +00:00
|
|
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
1999-07-22 00:27:14 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
|
2006-09-14 05:49:27 +00:00
|
|
|
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
2006-09-14 05:47:36 +00:00
|
|
|
<?xul-overlay href="chrome://navigator/content/NavSecurityOverlay.xul"?>
|
1999-07-01 22:56:04 +00:00
|
|
|
|
1999-08-12 22:31:10 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
1999-09-28 04:40:15 +00:00
|
|
|
|
2006-09-14 05:47:27 +00:00
|
|
|
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
1999-09-14 23:09:15 +00:00
|
|
|
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()"
|
2006-09-14 05:44:24 +00:00
|
|
|
contenttitlesettting="true"
|
1999-09-14 23:09:15 +00:00
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
1999-09-18 03:32:53 +00:00
|
|
|
viewsourcetitlepreface="&viewsourcetitle.preface;"
|
1999-09-14 23:09:15 +00:00
|
|
|
windowtype="navigator:browser"
|
|
|
|
align="vertical"
|
|
|
|
width="640" height="480"
|
2006-09-14 05:44:01 +00:00
|
|
|
screenX="10" screenY="10"
|
2006-09-14 05:47:34 +00:00
|
|
|
persist="screenX screenY width height sizemode"
|
1999-11-11 05:11:10 +00:00
|
|
|
ondraggesture="return GeneralDrag(event);">
|
1999-09-14 23:09:15 +00:00
|
|
|
|
|
|
|
<html:script language="javascript" src="chrome://global/content/strres.js" />
|
2006-09-14 05:44:26 +00:00
|
|
|
<html:script language="javascript" src="chrome://navigator/content/navigator.js" />
|
1999-10-01 04:43:45 +00:00
|
|
|
<html:script language="javascript" src="nsContextMenu.js" />
|
1999-09-14 23:09:15 +00:00
|
|
|
<html:script language="javascript" src="tooltip.js" />
|
2006-09-14 05:44:19 +00:00
|
|
|
<html:script language="javascript" src="navigatorDD.js" />
|
1999-07-01 22:56:04 +00:00
|
|
|
|
1999-12-01 00:29:27 +00:00
|
|
|
<commands id="commands">
|
|
|
|
<commandset id="globalEditMenuItems"/>
|
2006-09-14 05:44:25 +00:00
|
|
|
<commandset id="selectEditMenuItems"/>
|
|
|
|
<commandset id="undoEditMenuItems"/>
|
1999-12-01 00:29:27 +00:00
|
|
|
</commands>
|
|
|
|
|
1999-09-29 04:29:20 +00:00
|
|
|
<!-- broadcasters are appended from the overlay -->
|
|
|
|
<broadcasterset id="broadcasterset">
|
1999-10-26 00:39:19 +00:00
|
|
|
<broadcaster id="canReload" oncommand="BrowserReallyReload(0);"/>
|
1999-09-29 04:29:20 +00:00
|
|
|
<broadcaster id="canPrint"/>
|
1999-12-01 00:29:27 +00:00
|
|
|
<broadcaster id="args" value=""/>
|
1999-09-29 04:29:20 +00:00
|
|
|
</broadcasterset>
|
|
|
|
|
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
|
|
|
|
|
1999-07-14 00:03:57 +00:00
|
|
|
<!-- This needs to go into a xul fragment, but since those don't work now, this stays here !-->
|
1999-09-10 08:56:26 +00:00
|
|
|
<popupset>
|
1999-09-14 23:09:15 +00:00
|
|
|
<popup id="aTooltip"
|
2006-09-14 05:49:12 +00:00
|
|
|
oncreate="return FillInTooltip(document.tooltipNode);">
|
1999-09-14 23:09:15 +00:00
|
|
|
style="border: thin solid black;">
|
|
|
|
<titledbutton id="replaceMe" align="left" crop="right" class="borderless"
|
2006-09-14 05:49:13 +00:00
|
|
|
value="Empty Tooltip" />
|
1999-09-10 08:56:26 +00:00
|
|
|
</popup>
|
|
|
|
</popupset>
|
1999-09-09 04:47:21 +00:00
|
|
|
|
1999-09-22 07:20:06 +00:00
|
|
|
<!-- Context menu -->
|
1999-10-01 04:43:45 +00:00
|
|
|
<html:script language="javascript">
|
|
|
|
// Global variable that holds the nsContextMenu instance.
|
|
|
|
var contextMenu = null;
|
|
|
|
</html:script>
|
1999-09-16 04:15:40 +00:00
|
|
|
<popupset>
|
1999-10-09 07:58:24 +00:00
|
|
|
<!-- This is the context menu for the content-area of the navigator
|
|
|
|
window. It contains each and every possible menu choice. The
|
|
|
|
appropriate items are hidden/shown upon display, based on what
|
|
|
|
the user has clicked-on.
|
1999-09-16 04:15:40 +00:00
|
|
|
-->
|
|
|
|
<popup id="context"
|
2006-09-14 05:47:46 +00:00
|
|
|
oncreate="contextMenu = new nsContextMenu( this );"
|
1999-10-09 07:58:24 +00:00
|
|
|
ondestroy="contextMenu.onDestroy(); contextMenu = null;">
|
1999-09-16 04:15:40 +00:00
|
|
|
|
1999-09-17 23:53:20 +00:00
|
|
|
<!-- Open ==================================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-openlink"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&openLinkCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.openLink();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-editlink"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&editLinkCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.editLink();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-openframe"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&openFrameCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.openFrame();"/>
|
1999-09-22 07:20:06 +00:00
|
|
|
<menuseparator id="context-sep-open"/>
|
1999-09-17 23:53:20 +00:00
|
|
|
<!-- Navigation ============================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-back"
|
1999-09-16 04:15:40 +00:00
|
|
|
value="&goBackCmd.label;"
|
|
|
|
accesskey="&goBackCmd.accesskey;"
|
|
|
|
oncommand="BrowserBack()"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-forward"
|
1999-09-16 04:15:40 +00:00
|
|
|
value="&goForwardCmd.label;"
|
|
|
|
accesskey="&goForwardCmd.accesskey;"
|
|
|
|
oncommand="BrowserForward()"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-reload"
|
1999-09-16 04:15:40 +00:00
|
|
|
value="&reloadCmd.label;"
|
1999-09-17 23:53:20 +00:00
|
|
|
accesskey=""
|
1999-09-16 04:15:40 +00:00
|
|
|
oncommand="BrowserReallyReload(0);"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-stop"
|
1999-09-16 04:15:40 +00:00
|
|
|
value="&stopCmd.label;"
|
1999-09-17 23:53:20 +00:00
|
|
|
accesskey=""
|
1999-09-16 04:15:40 +00:00
|
|
|
oncommand="BrowserStop();"/>
|
|
|
|
<menuseparator/>
|
1999-09-17 23:53:20 +00:00
|
|
|
<!-- View ==================================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-viewsource"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&viewPageSourceCmd.label;"
|
|
|
|
accesskey=""
|
1999-09-16 04:15:40 +00:00
|
|
|
oncommand="BrowserViewSource();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-viewframesource"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&viewFrameSourceCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.viewFrameSource();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-viewinfo"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&viewPageInfoCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.viewInfo();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-viewframeinfo"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&viewFrameInfoCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.viewFrameInfo();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-viewimage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&viewImageCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.viewImage();"/>
|
2006-09-14 05:47:45 +00:00
|
|
|
<menuitem id="context-blockimage"
|
|
|
|
value="&blockImageCmd.label;"
|
|
|
|
accesskey=""
|
|
|
|
oncommand="contextMenu.blockImage();"/>
|
1999-09-17 23:53:20 +00:00
|
|
|
<menuseparator/>
|
|
|
|
<!-- Misc ==================================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-bookmarkpage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&bookmarkPageCmd.label;"
|
|
|
|
accesskey="&bookmarkPageCmd.accesskey;"
|
|
|
|
oncommand="BrowserAddBookmark( window.content.location.href,
|
|
|
|
window.content.document.title )"/>
|
2006-09-14 05:47:26 +00:00
|
|
|
<menuseparator/>
|
1999-09-17 23:53:20 +00:00
|
|
|
<!-- Save ==================================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-savepage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&savePageCmd.label;"
|
|
|
|
accesskey="&savePageCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.savePage();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-saveframe"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&saveFrameCmd.label;"
|
|
|
|
accesskey="&saveFrameCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.saveFrame();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-savelink"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&saveLinkCmd.label;"
|
|
|
|
accesskey="&saveLinkCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.saveLink();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-saveimage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&saveImageCmd.label;"
|
|
|
|
accesskey="&saveImageCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.saveImage();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-savebgimage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&saveBGImageCmd.label;"
|
|
|
|
accesskey="&saveBGImageCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.saveBGImage();"/>
|
1999-09-17 23:53:20 +00:00
|
|
|
<menuseparator/>
|
|
|
|
<!-- Clipboard =============================== -->
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-selectall"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="&selectAllCmd.label;"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
2006-09-14 05:47:15 +00:00
|
|
|
observes="cmd_selectAll"/>
|
2006-09-14 05:48:03 +00:00
|
|
|
<menuitem id="context-cut"
|
|
|
|
value="&cutCmd.label;"
|
|
|
|
accesskey="&cutCmd.accesskey;"
|
|
|
|
observes="cmd_cut"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-copy"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="©Cmd.label;"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
2006-09-14 05:47:15 +00:00
|
|
|
observes="cmd_copy"/>
|
2006-09-14 05:48:03 +00:00
|
|
|
<menuitem id="context-paste"
|
|
|
|
value="&pasteCmd.label;"
|
|
|
|
accesskey="&pasteCmd.accesskey;"
|
|
|
|
observes="cmd_paste"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-copylink"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="©LinkCmd.label;"
|
|
|
|
accesskey="©LinkCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.copyLink();"/>
|
1999-10-09 07:58:24 +00:00
|
|
|
<menuitem id="context-copyimage"
|
1999-09-17 23:53:20 +00:00
|
|
|
value="©ImageCmd.label;"
|
|
|
|
accesskey="©ImageCmd.accesskey;"
|
1999-10-01 04:43:45 +00:00
|
|
|
oncommand="contextMenu.copyImage();"/>
|
1999-09-16 04:15:40 +00:00
|
|
|
</popup>
|
|
|
|
</popupset>
|
|
|
|
|
1999-07-20 23:40:34 +00:00
|
|
|
<html:script language="javascript">
|
|
|
|
var gBookmarkPopup = null;
|
|
|
|
</html:script>
|
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- Menu -->
|
|
|
|
<menubar id="main-menubar"/>
|
|
|
|
<!-- Toolbox -->
|
|
|
|
<toolbox id="main-toolbox">
|
|
|
|
|
1999-11-02 03:53:30 +00:00
|
|
|
<toolbar id="PersonalToolbar" chromeclass="toolbar" persist="collapsed" dragdroparea="innermostBox"
|
1999-10-26 19:43:32 +00:00
|
|
|
ondraggesture="return BeginDragPersonalToolbar(event);"
|
|
|
|
ondragdrop="return DropPersonalToolbar(event);"
|
|
|
|
ondragover="return DragOverPersonalToolbar(event);">
|
1999-10-26 00:39:19 +00:00
|
|
|
|
1999-10-26 19:43:32 +00:00
|
|
|
<!-- button area of personal toolbar -->
|
2006-09-14 05:47:16 +00:00
|
|
|
<box align="horizontal" flex="1">
|
1999-11-30 00:56:30 +00:00
|
|
|
|
2006-09-14 05:47:15 +00:00
|
|
|
<!--
|
1999-11-30 00:56:30 +00:00
|
|
|
// I added the container=true on this button as a temp hack until
|
|
|
|
// we can get this button into rdf. We can't allow drags on this
|
|
|
|
// container so we have to be able to identify it (bug 19588).
|
|
|
|
// - pinkerton
|
2006-09-14 05:47:15 +00:00
|
|
|
-->
|
2006-09-14 05:49:11 +00:00
|
|
|
<menu id="PersonalMenu" datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch rdf:httpindex"
|
2006-09-14 05:47:17 +00:00
|
|
|
ref="NC:BookmarksRoot"
|
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('PersonalMenu').database)">
|
2006-09-14 05:44:20 +00:00
|
|
|
<titledbutton align="right" class="bookmarkFolder toolbar-flat" container="true"
|
1999-11-30 00:56:30 +00:00
|
|
|
value="&bookmarksButton.label;" crop="right"/>
|
|
|
|
<template>
|
|
|
|
<!-- Recursive rules for nested folders -->
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<menupopup>
|
2006-09-14 05:44:18 +00:00
|
|
|
<menu class="standard" uri="rdf:*"
|
1999-11-30 00:56:30 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
2006-09-14 05:44:03 +00:00
|
|
|
<menupopup class="standard"/>
|
1999-11-30 00:56:30 +00:00
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
2006-09-14 05:44:03 +00:00
|
|
|
<menuseparator class="standard" uri="rdf:*"/>
|
1999-11-30 00:56:30 +00:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
2006-09-14 05:44:18 +00:00
|
|
|
<menuitem class="standard" uri="rdf:*"
|
2006-09-14 05:47:17 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" />
|
1999-11-30 00:56:30 +00:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2006-09-14 05:43:53 +00:00
|
|
|
|
|
|
|
<!-- We need a 'dummy' menupopup here that the template
|
|
|
|
builder can hang stuff off of. Failure to add this makes
|
|
|
|
it s.t. you need to triple-click (!) to get the bookmarks
|
|
|
|
menu to drop down. -->
|
2006-09-14 05:44:03 +00:00
|
|
|
<menupopup class="standard"/>
|
1999-11-30 00:56:30 +00:00
|
|
|
<spring class="personaltoolbarspacer" flex="1"/>
|
|
|
|
</menu>
|
|
|
|
|
2006-09-14 05:47:16 +00:00
|
|
|
<box align="horizontal"
|
1999-10-26 19:43:32 +00:00
|
|
|
flex="1"
|
|
|
|
style="min-width: 1px; overflow: hidden"
|
|
|
|
datasources="rdf:bookmarks"
|
1999-11-02 03:53:30 +00:00
|
|
|
ref="NC:PersonalToolbarFolder" id="innermostBox">
|
1999-10-26 19:43:32 +00:00
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- This template builds content from the bookmarks datasource -->
|
|
|
|
<template>
|
|
|
|
<!-- Rules for content hanging _directly_ off the toolbar -->
|
|
|
|
<rule parent="box" iscontainer="true">
|
2006-09-14 05:44:17 +00:00
|
|
|
<menu uri="..." class="standard">
|
1999-10-26 00:39:19 +00:00
|
|
|
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
2006-09-14 05:44:20 +00:00
|
|
|
align="right" class="bookmarkFolder toolbar-flat"/>
|
2006-09-14 05:44:17 +00:00
|
|
|
<menupopup class="standard"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</menu>
|
2006-09-14 05:47:16 +00:00
|
|
|
<spring uri="rdf:*" class="personaltoolbarspacer" flex="0"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</rule>
|
|
|
|
<rule parent="box">
|
2006-09-14 05:44:20 +00:00
|
|
|
<titledbutton class="bookmarkbutton toolbar-flat" uri="rdf:*" align="left"
|
1999-12-18 04:20:28 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" crop="right"
|
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
2006-09-14 05:47:16 +00:00
|
|
|
<spring uri="rdf:*" class="personaltoolbarspacer" flex="0"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<!-- Recursive rules for nested folders -->
|
|
|
|
<rule iscontainer="true">
|
2006-09-14 05:44:17 +00:00
|
|
|
<menupopup class="standard">
|
2006-09-14 05:44:18 +00:00
|
|
|
<menu class="standard" uri="rdf:*"
|
1999-10-26 00:39:19 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
2006-09-14 05:44:17 +00:00
|
|
|
<menupopup class="standard"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</menu>
|
|
|
|
</menupopup>
|
1999-10-26 19:43:32 +00:00
|
|
|
</rule>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
2006-09-14 05:44:17 +00:00
|
|
|
<menuseparator class="standard" uri="rdf:*" />
|
1999-10-26 19:43:32 +00:00
|
|
|
</menupopup>
|
1999-10-26 00:39:19 +00:00
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
2006-09-14 05:44:18 +00:00
|
|
|
<menuitem class="standard" uri="..."
|
1999-12-18 04:20:28 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<titledbutton id="home-button" align="left"
|
|
|
|
value="&homeButton.label;"
|
2006-09-14 05:44:20 +00:00
|
|
|
class="bookmarkbutton toolbar-flat"
|
1999-10-26 00:39:19 +00:00
|
|
|
onclick="BrowserHome(); event.preventBubble();"/>
|
2006-09-14 05:47:16 +00:00
|
|
|
<spring class="personaltoolbarspacer" flex="0"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
|
|
|
|
</box>
|
2006-09-14 05:47:16 +00:00
|
|
|
<spring flex="1"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- throbber area of personal toolbar -->
|
|
|
|
<box id="personaltoolbar-endcap" align="vertical" width="68px"/>
|
|
|
|
</toolbar>
|
1999-09-17 23:37:41 +00:00
|
|
|
|
2006-09-14 05:44:00 +00:00
|
|
|
<toolbar id="nav-bar" class="decorated main-bar" chromeclass="toolbar" persist="collapsed">
|
2006-09-14 05:47:48 +00:00
|
|
|
<box align="horizontal" flex="100%" style="overflow: hidden">
|
2006-09-14 05:49:34 +00:00
|
|
|
|
|
|
|
<button class="large-toolbar left" id="back-button" crop="right" orient="vertical" observes="canGoBack"/>
|
|
|
|
<button class="large-toolbar left" id="forward-button" crop="right" orient="vertical" observes="canGoForward"/>
|
|
|
|
<!--
|
2006-09-14 05:49:28 +00:00
|
|
|
<menubutton class="large-toolbar left" id="back-button" crop="right" orient="vertical" observes="canGoBack" oncommand="gotoHistoryIndex(event);">
|
|
|
|
<menupopup oncreate="BrowserBackMenu(event);">
|
|
|
|
</menupopup>
|
|
|
|
</menubutton>
|
|
|
|
<menubutton class="large-toolbar left" id="forward-button" crop="right" orient="vertical" observes="canGoForward" oncommand="gotoHistoryIndex(event);">
|
|
|
|
<menupopup oncreate="BrowserForwardMenu(event);">
|
|
|
|
</menupopup>
|
|
|
|
</menubutton>
|
2006-09-14 05:49:34 +00:00
|
|
|
-->
|
2006-09-14 05:48:04 +00:00
|
|
|
<button class="large-toolbar left" id="reload-button" crop="right" orient="vertical" observes="canReload" />
|
|
|
|
<button class="large-toolbar left" id="stop-button" crop="right" orient="vertical" onclick="BrowserStop()"/>
|
1999-10-27 00:17:16 +00:00
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- changed : the url field is now grouped with search -->
|
|
|
|
<box align="vertical" flex="100%">
|
|
|
|
<spring style="height: 4px;"/>
|
|
|
|
<!-- used for vertically positioning the url field contraption w/i the nav toolbar -->
|
|
|
|
|
|
|
|
<box id="url-bar-box" align="horizontal" style="width: 100%;">
|
|
|
|
|
|
|
|
<!-- this is the little page proxy icon -->
|
|
|
|
<!-- display should be turned off right now until functionality is implemented -->
|
2006-09-14 05:44:21 +00:00
|
|
|
<!-- This is the smart search pop-up -->
|
|
|
|
<!-- <titledbutton id="action-popup" align="right"/> -->
|
|
|
|
|
2006-09-14 05:49:08 +00:00
|
|
|
<!-- this is the urlbar keyword/session history popup -->
|
|
|
|
<menu>
|
|
|
|
<titledbutton id="sessionhist-popup"/>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value=""eKeyword.label;" oncommand="setKeyword(0)"/>
|
|
|
|
<menuitem value="&localKeyword.label;" oncommand="setKeyword(1)"/>
|
|
|
|
<menuitem value="&shopKeyword.label;" oncommand="setKeyword(2)"/>
|
|
|
|
<menuitem value="&careerKeyword.label;" oncommand="setKeyword(3)"/>
|
|
|
|
<menuitem value="&webmailKeyword.label;" oncommand="setKeyword(4)"/>
|
|
|
|
<menuitem value="&listKeywords.label;" oncommand="setKeyword(5)"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2006-09-14 05:44:21 +00:00
|
|
|
<titledbutton id="page-proxy-button" ondraggesture="DragProxyIcon(event);"/>
|
|
|
|
|
|
|
|
<!-- this is the urlbar -->
|
1999-10-26 00:39:19 +00:00
|
|
|
<html:input id="urlbar" type="text" chromeclass="location"
|
2006-09-14 05:49:35 +00:00
|
|
|
onkeypress="if (event.which == 13) { BrowserLoadURL(); }"
|
1999-10-26 00:39:19 +00:00
|
|
|
flex = "100%" />
|
|
|
|
|
2006-09-14 05:44:21 +00:00
|
|
|
<!-- this is the urlbar session history popup -->
|
|
|
|
<!-- display should be turned off right now until functionality is implemented -->
|
|
|
|
<!-- <titledbutton id="sessionhist-popup"/> -->
|
1999-10-26 00:39:19 +00:00
|
|
|
|
|
|
|
<!-- end url bar box -->
|
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- used for vertically positioning the url field contraption w/i the nav toolbar -->
|
|
|
|
</box>
|
2006-09-14 05:44:21 +00:00
|
|
|
<!-- this is the search/go button -->
|
|
|
|
<box align="vertical" flex="1%">
|
|
|
|
<spring style="height: 4px;"/>
|
|
|
|
<box id="searchbutton" align="horizontal" style="width: 100%;">
|
2006-09-14 05:47:35 +00:00
|
|
|
<titledbutton id="search-button" class="toolbar-non-iconic" value="&searchButton.label;"
|
2006-09-14 05:44:21 +00:00
|
|
|
onclick="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
|
|
|
/>
|
|
|
|
</box>
|
|
|
|
</box>
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- FIX ME - remove this
|
2006-09-14 05:44:21 +00:00
|
|
|
<box align="vertical" flex="100%">
|
1999-10-26 00:39:19 +00:00
|
|
|
<spring flex="1"/>
|
|
|
|
<html:input id="urlbar" type="text" chromeclass="location"
|
|
|
|
onkeyup="if (event.which == 13) { BrowserLoadURL(); }"/>
|
|
|
|
<spring flex="1"/>
|
|
|
|
</box>
|
1999-09-25 02:53:55 +00:00
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<titledbutton id="search-button" crop="right" flex="1" align="top"
|
|
|
|
value="&searchButton.label;"
|
1999-12-30 23:39:08 +00:00
|
|
|
onclick="OpenSearch('internet', false, document.getElementById('urlbar').value);"/>
|
1999-09-17 23:37:41 +00:00
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<titledbutton id="print-button" crop="right" flex="1" align="top"
|
|
|
|
value="&printButton.label;" onclick="BrowserPrint()">
|
|
|
|
<observes element="canPrint" attribute="disabled"/>
|
|
|
|
</titledbutton>
|
|
|
|
-->
|
|
|
|
</box>
|
1999-09-17 23:37:41 +00:00
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- throbber area of navigation toolbar -->
|
|
|
|
<box id="toolbar_throbber_box" align="vertical">
|
2006-09-14 05:48:04 +00:00
|
|
|
<titledbutton id="Throbber" onclick='goClickThrobber("browser.throbber.url")'/>
|
1999-10-26 00:39:19 +00:00
|
|
|
</box>
|
1999-09-25 02:53:55 +00:00
|
|
|
</toolbar>
|
1999-10-26 00:39:19 +00:00
|
|
|
|
1999-09-25 02:53:55 +00:00
|
|
|
</toolbox>
|
|
|
|
|
|
|
|
<!-- sidebar/toolbar/content/status -->
|
1999-11-30 00:56:30 +00:00
|
|
|
<box align="horizontal" flex="100%">
|
1999-09-25 02:53:55 +00:00
|
|
|
<!-- toolbar/content/status -->
|
1999-07-01 22:56:04 +00:00
|
|
|
|
1999-09-29 20:19:53 +00:00
|
|
|
<box id="sidebar-box" chromeclass="extrachrome"/>
|
|
|
|
<splitter id="sidebar-splitter" chromeclass="extrachrome" />
|
1999-09-25 02:53:55 +00:00
|
|
|
|
1999-11-12 03:41:27 +00:00
|
|
|
<box id="appcontent" align="vertical" flex="100%"
|
2006-09-14 05:47:40 +00:00
|
|
|
onclick="if (event.button==2) browserHandleMiddleClick(event);"
|
1999-11-12 03:41:27 +00:00
|
|
|
ondragover="return DragOverContentArea(event);"
|
2006-09-14 05:49:14 +00:00
|
|
|
ondragdrop="return DropOnContentArea(event);"
|
|
|
|
ondraggesture="DragContentLink(event);">
|
1999-10-26 00:39:19 +00:00
|
|
|
|
1999-09-17 23:37:41 +00:00
|
|
|
<!-- type attribute is used by frame construction to locate iframes
|
|
|
|
intended to hold (html) content -->
|
|
|
|
<!-- id's use is a mystery -->
|
1999-09-21 22:03:56 +00:00
|
|
|
<box context="context" flex="100%">
|
1999-10-14 11:00:21 +00:00
|
|
|
<browser type="content-primary" id="content" src="about:blank" flex="100%"/>
|
1999-09-21 22:03:56 +00:00
|
|
|
</box>
|
1999-10-26 00:39:19 +00:00
|
|
|
<box id="status-bar" chromeclass="status">
|
|
|
|
<box id="state-box" align="horizontal" flex="100%" style="min-width: 1px">
|
1999-09-14 23:09:15 +00:00
|
|
|
<box align="vertical" style="width:100px">
|
|
|
|
<spring flex="100%"/>
|
1999-09-17 23:37:41 +00:00
|
|
|
<progressmeter id="statusbar-icon" mode="normal"
|
2006-09-14 05:48:04 +00:00
|
|
|
align="horizontal" value="0" onclick="dumpProgress()"/>
|
1999-09-17 23:37:41 +00:00
|
|
|
<spring flex="100%"/>
|
1999-09-14 23:09:15 +00:00
|
|
|
</box>
|
1999-10-26 00:39:19 +00:00
|
|
|
<spring style="width: 1em"/>
|
1999-10-27 23:01:09 +00:00
|
|
|
<titledbutton id="statusText" class="status-bar" align="left" flex="100%"
|
2006-09-14 05:47:43 +00:00
|
|
|
value="&statusText.label;" style="min-width: 1px">
|
|
|
|
</titledbutton>
|
1999-09-17 23:37:41 +00:00
|
|
|
|
1999-10-27 23:01:09 +00:00
|
|
|
<titledbutton class="status-bar" align="left" value="&buildId.label;"/>
|
1999-11-23 01:52:36 +00:00
|
|
|
<titledbutton id="lock-button" class="borderless" align="left"/>
|
|
|
|
|
1999-09-17 23:37:41 +00:00
|
|
|
</box>
|
|
|
|
</box><!-- status -->
|
|
|
|
</box><!-- toolbar/content/status -->
|
|
|
|
</box><!-- sidebar and tools/content/status -->
|
1999-10-26 00:39:19 +00:00
|
|
|
<toolbar id="taskbar" chromeclass="extrachrome" />
|
1999-07-27 02:57:36 +00:00
|
|
|
|
1999-07-01 22:56:04 +00:00
|
|
|
</window>
|