gecko-dev/suite/browser/navigator.xul

794 строки
43 KiB
Plaintext
Исходник Обычный вид История

1999-07-02 02:56:04 +04:00
<?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://global/skin/" type="text/css"?>
1999-07-02 02:56:04 +04:00
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
1999-07-02 02:56:04 +04:00
<!DOCTYPE window
[
<!ENTITY mainWindow.title "Mozilla">
<!ENTITY mainWindow.titlemodifier "Mozilla">
<!ENTITY mainWindow.titlemodifiermenuseparator " - ">
1999-07-02 02:56:04 +04:00
<!ENTITY throbber.url "http://www.mozilla.org">
<!ENTITY fileMenu.label "File">
<!ENTITY browserCmd.label "New Browser Window">
<!ENTITY newMenu.label "New">
<!ENTITY newMailCmd.label "Mail Message">
<!ENTITY newBlankPageCmd.label "Blank Window">
<!ENTITY newPageFromTemplateCmd.label "Page Using Template">
<!ENTITY newPageFromDraftCmd.label "Page using Draft">
<!ENTITY openCmd.label "Open File or Location...">
1999-07-02 02:56:04 +04:00
<!ENTITY sendPageCmd.label "Send Page">
<!ENTITY editPageCmd.label "Edit Page">
<!ENTITY offlineMenu.label "Offline">
<!ENTITY offlineGoOfflineCmd.label "Go Offline">
<!ENTITY offlineSynchronizeCmd.label "Synchronize">
<!ENTITY printSetupCmd.label "Print Setup...">
1999-07-02 02:56:04 +04:00
<!ENTITY printPreviewCmd.label "Print Preview">
<!ENTITY printCmd.label "Print...">
1999-07-02 02:56:04 +04:00
<!ENTITY closeCmd.label "Close">
<!ENTITY quitCmd.label "Quit">
<!ENTITY editMenu.label "Edit">
<!ENTITY undoCmd.label "Undo">
<!ENTITY redoCmd.label "Redo">
<!ENTITY cutCmd.label "Cut">
<!ENTITY copyCmd.label "Copy">
<!ENTITY pasteCmd.label "Paste">
<!ENTITY deleteCmd.label "Delete">
<!ENTITY walletMenu.label "Wallet">
<!ENTITY walletSafeFillCmd.label "Safe Form Fill">
<!ENTITY walletQuickFillCmd.label "Quick Form Fill">
<!ENTITY walletContentsCmd.label "Wallet Contents">
<!ENTITY walletDisplaySignonsCmd.label "Display Signons">
<!ENTITY walletDisplayCookiesCmd.label "Display Cookies">
<!ENTITY walletSamplesCmd.label "Samples">
<!ENTITY walletChangePasswordCmd.label "Change Password">
<!ENTITY selectAllCmd.label "Select All">
<!ENTITY preferences.label "Preferences...">
1999-07-02 02:56:04 +04:00
<!ENTITY viewMenu.label "View">
<!ENTITY toolbarsCmd.label "Toolbars">
<!ENTITY sidebarCmd.label "Sidebar">
<!ENTITY enlargeTextSizeCmd.label "Enlarge Text Size">
<!ENTITY reduceTextSizeCmd.label "Reduce Text Size">
<!ENTITY useStyleSheetMenu.label "Use Stylesheet">
<!ENTITY useStyleSheetDefaultCmd.label "Default">
<!ENTITY useStyleSheetEasyReadingCmd.label "Easy Reading">
<!ENTITY useStyleSheetMaxInfoCmd.label "Maximum Information">
<!ENTITY useStlyleSheetBizarreCmd.label "Bizarre">
<!ENTITY reloadCmd.label "Reload">
<!ENTITY showImagesCmd.label "Show Images">
<!ENTITY stopCmd.label "Stop">
<!ENTITY pageSourceCmd.label "Page Source">
<!ENTITY pageInfoCmd.label "Page Info">
<!ENTITY translateMenu.label "Translate">
<!ENTITY translateButton.label "Translate">
<!ENTITY translateEngtoFrenCmd.label "English to French">
<!ENTITY translateEngtoGermCmd.label "English to German">
<!ENTITY translateEngtoItalianCmd.label "English to Italian">
<!ENTITY translateEngtoJapaneseCmd.label "English to Japanese">
<!ENTITY translateEngtoPortCmd.label "English to Portugese">
1999-07-02 02:56:04 +04:00
<!ENTITY translateEngtoSpanCmd.label "English to Spanish">
<!ENTITY translateFrentoEngCmd.label "French to English">
<!ENTITY translateFrentoGermCmd.label "French to German">
<!ENTITY translateFrentoSpanCmd.label "French to Spanish">
<!ENTITY translateGermtoEngCmd.label "German to English">
<!ENTITY translateGermtoFrenCmd.label "German to French">
<!ENTITY translateGermtoSpanCmd.label "German to Spanish">
<!ENTITY translateItaliantoEngCmd.label "Italian to English">
<!ENTITY tanslateJapanesetoEngCmd.label "Japanese to English">
<!ENTITY translatePorttoEngCmd.label "Portugese to English">
1999-07-02 02:56:04 +04:00
<!ENTITY tanslateSpantoEngCmd.label "Spanish to English">
<!ENTITY translateSpantoFrenCmd.label "Spanish to French">
<!ENTITY translateSpantoGermCmd.label "Spanish to German">
<!ENTITY dcharMenu.label "Character Set">
<!ENTITY dcharIso1Cmd.label "ISO Latin 1 (ISO-8859-1)">
<!ENTITY dcharIso2Cmd.label "ISO Latin 2 (ISO-8859-2)">
<!ENTITY dcharIso3Cmd.label "ISO Latin 3 (ISO-8859-3)">
<!ENTITY dcharIso4Cmd.label "ISO Latin 4 (ISO-8859-4)">
<!ENTITY dcharIso9Cmd.label "ISO Latin 5 (ISO-8859-9)">
<!ENTITY dcharIso10Cmd.label "ISO Latin 6 (ISO-8859-10)">
<!ENTITY dcharIso13Cmd.label "ISO Latin 7 (ISO-8859-13)">
<!ENTITY dcharIso14Cmd.label "ISO Latin 8 (ISO-8859-14)">
<!ENTITY dcharIso15Cmd.label "ISO Latin 9 (ISO-8859-15)">
<!ENTITY dcharWinLat2Cmd.label "Windows Latin 2 (windows-1250)">
<!ENTITY dcharWinLat1Cmd.label "Windows Latin 1 (windows-1252)">
<!ENTITY dcharWinLat5Cmd.label "Windows Latin 5 (windows-1254)">
<!ENTITY dcharWinBalRimCmd.label "Windows Baltic (windows-1257)">
<!ENTITY dcharMacRomCmd.label "Macintosh Roman">
<!ENTITY dcharMacCenEuroCmd.label "Macintosh Central European">
<!ENTITY dcharMacTurCmd.label "Macintosh Turkish">
<!ENTITY dcharMacCroaCmd.label "Macintosh Croatian">
<!ENTITY dcharMacRomanianCmd.label "Macintosh Romanian">
<!ENTITY dcharMacIceCmd.label "Macintosh Icelandic">
<!ENTITY dcharJapanCmd.label "Japanese JIS (ISO-2022-JP)">
<!ENTITY dcharJapanShiftjsCmd.label "Japanese (Shift_JIS)">
<!ENTITY dcharJapanEucCmd.label "Japanese (EUC-JP)">
<!ENTITY dcharTradChiBigCmd.label "Traditional Chinese (Big5)">
<!ENTITY dcharTriChiEucCmd.label "Traditional Chinese (EUC-TW)">
<!ENTITY dcharSimpChiGbCmd.label "Simplified Chinese (GB2312)">
<!ENTITY dcharKoreanCmd.label "Korean (EUC-KR)">
<!ENTITY dcharUtf7Cmd.label "Multilingual (UTF-7)">
<!ENTITY dcharUtf8Cmd.label "Multilingual (UTF-8)">
<!ENTITY dcharIsoCyrCmd.label "ISO Cyrillic (ISO-8859-5)">
<!ENTITY dcharEcmaCyrCmd.label "ECMA Cyrillic (ISO-IR-111)">
<!ENTITY dcharDosCyrCmd.label "DOS Cyrillic (IBM866)">
<!ENTITY dcharWinCyrCmd.label "Windows Cyrillic (windows-1251)">
<!ENTITY dcharMacCyrCmd.label "Macintosh Cyrillic">
<!ENTITY dcharMacUkrCmd.label "Macintosh Ukrainian">
<!ENTITY dcharRusCmd.label "Russian (KOI8-R)">
<!ENTITY dcharUkrCmd.label "Ukrainian (KOI8-U)">
<!ENTITY dcharIsoGreekCmd.label "ISO Greek (ISO-8859-7)">
<!ENTITY dcharWinGreekCmd.label "Windows Greek (windows-1253)">
<!ENTITY dcharMacGreekCmd.label "Macintosh Greek">
<!ENTITY dcharWinVietCmd.label "Windows Vietnamese (windows-1258)">
<!ENTITY dcharVietTcnCmd.label "Vietnamese (TCVN5712)">
<!ENTITY dcharVietViCmd.label "Vietnamese (VISCII)">
<!ENTITY dcharVieVpCmd.label "Vietnamese (VPS)">
<!ENTITY dcharThaiCmd.label "Thai (TIS-620)">
<!ENTITY dcharArmCmd.label "Armenian (ARMSCII-8)">
<!ENTITY dcharIso6Cmd.label ".ISO Arabic (ISO-8859-6)">
<!ENTITY dcharIso8Cmd.label ".ISO Hebrew (ISO-8859-8)">
<!ENTITY dcharCp1255Cmd.label "Windows Hebrew (windows-1255)">
<!ENTITY dcharCp1256Cmd.label "Windows Arabic (windows-1256)">
<!ENTITY searchMenu.label "Search">
<!ENTITY findOnCmd.label "Find On this page...">
<!ENTITY findAgainCmd.label "Find Again">
<!ENTITY searchParentCmd.label "Search Parent Item...">
<!ENTITY searchParenet2Cmd.label "Search Parent2 Item">
<!ENTITY appSpecificCmd.label "App Specific">
<!ENTITY searchInternetCmd.label "Search the Internet...">
<!ENTITY searchAllMailCmd.label "Search All Mail....">
<!ENTITY searchBookmarksCmd.label "Search Bookmarks...">
<!ENTITY searchPeopleCmd.label "Search People...">
<!ENTITY searchComputerCmd.label "Search on this Computer...">
<!ENTITY goMenu.label "Go">
<!ENTITY goBackCmd.label "Back">
<!ENTITY goForwardCmd.label "Forward">
<!ENTITY goHomeCmd.label "Home">
<!ENTITY goPrev1Cmd.label "Previous Site 1">
<!ENTITY goPrev2Cmd.label "Previous Site 2">
<!ENTITY goPrevnCmd.label "Previous Site n">
<!ENTITY bookmarksMenu.label "Bookmarks">
<!ENTITY addCurPageCmd.label "Add Current Page">
<!ENTITY manBookmarksCmd.label "Manage Bookmarks...">
1999-07-02 02:56:04 +04:00
<!ENTITY helpMenuCmd.label "Help">
<!ENTITY helpContentsCmd.label "Help Contents">
<!ENTITY howTutorialCmd.label "How to Tutorial">
<!ENTITY helpChannelCmd.label "Help Channel">
<!ENTITY softwareUpdatesCmd.label "Software Updates">
<!ENTITY technicalSupportCmd.label "Technical Support">
<!ENTITY releaseNotesCmd.label "Release Notes">
<!ENTITY aboutCommunicatorCmd.label "About Communicator Prototype">
<!ENTITY debugMenu.label "Debug">
<!ENTITY debugQA.label "QA Help">
<!ENTITY debugQABug.label "QA Help">
<!ENTITY debugQASmoke.label "Smoke Tests">
<!ENTITY debugQAKnowBug.label "Known Bugs">
1999-07-02 02:56:04 +04:00
<!ENTITY debugVerCmd.label "Verification">
<!ENTITY ver1Cmd.label "Mozilla">
<!ENTITY ver2Cmd.label "Yahoo">
<!ENTITY ver3Cmd.label "Netscape">
<!ENTITY ver4Cmd.label "Excite">
<!ENTITY ver5Cmd.label "Microsoft">
<!ENTITY ver6Cmd.label "city.net">
<!ENTITY ver7Cmd.label "Mirabilis">
<!ENTITY ver8Cmd.label "Pathfinder">
<!ENTITY ver9Cmd.label "Warner Bros.">
<!ENTITY ver10Cmd.label "CNN">
<!ENTITY ver11Cmd.label "USA Today">
<!ENTITY ver12Cmd.label "Disney">
<!ENTITY ver13Cmd.label "Hotwired">
<!ENTITY ver14Cmd.label "Hotbot">
<!ENTITY ver15Cmd.label "Frames">
<!ENTITY ver16Cmd.label "Tables">
<!ENTITY ver17Cmd.label "Applets">
<!ENTITY ver18Cmd.label "JavaScript">
<!ENTITY ver19Cmd.label "GIF Images">
<!ENTITY ver20Cmd.label "JPEG Images">
<!ENTITY ver21Cmd.label "PNG Images">
<!ENTITY ver22Cmd.label "Transparency">
<!ENTITY ver23Cmd.label "Animation">
<!ENTITY ver24Cmd.label "Larger page">
<!ENTITY ver25Cmd.label "Smaller page">
<!ENTITY viewDemoMenu.label "Viewer Demos">
<!ENTITY demo0Cmd.label "#0 Basic Styles">
<!ENTITY demo1Cmd.label "#1 CSS Styles">
<!ENTITY demo2Cmd.label "#2 Images">
<!ENTITY demo3Cmd.label "#3 Basic Tables">
<!ENTITY demo4Cmd.label "#4 Simple Tables">
<!ENTITY demo5Cmd.label "#5 More Styles">
<!ENTITY demo6Cmd.label "#6 Deeply Nested Tables">
<!ENTITY demo7Cmd.label "#7 Scaled Anim Image">
<!ENTITY demo8Cmd.label "#8 Form">
<!ENTITY demo9Cmd.label "#9 Frames">
<!ENTITY demo10Cmd.label "#10 Anim Images">
<!ENTITY demo11Cmd.label "#11 Fixed Positioning">
<!ENTITY demo12Cmd.label "#12 More Fixed Pos">
<!ENTITY demo13Cmd.label "#13 DHTML">
<!ENTITY demo14Cmd.label "#14 XML Sorting">
<!ENTITY demo15Cmd.label "#15 XML IRS">
<!ENTITY demo16Cmd.label "#16 Gfx Widgets">
<!ENTITY xptkMenu.label "XPToolkit">
<!ENTITY xptk1Cmd.label "Tri-state checkbox">
<!ENTITY xptk2Cmd.label "Toolbar">
<!ENTITY xptk3Cmd.label "Tree">
<!ENTITY xptk4Cmd.label "Dialog">
<!ENTITY xptk5Cmd.label "Dialog w/ animation">
<!ENTITY xptk6Cmd.label "Tab">
<!ENTITY xptk7Cmd.label "Beep">
1999-07-24 09:00:53 +04:00
<!ENTITY xptk8Cmd.label "Sound">
<!ENTITY xptk9Cmd.label "XP Menus">
1999-07-27 05:40:45 +04:00
<!-- DO not localize strresCmd.label; test case -->
<!ENTITY strresCmd.label "Strres Test">
1999-07-02 02:56:04 +04:00
<!ENTITY QA.label "QA">
<!ENTITY QABugCmd.label "Bug Writing">
<!ENTITY QATempCmd.label "Bug Template">
<!ENTITY QASmokeCmd.label "Smoke Tests">
<!ENTITY QAKnownBugCmd.label "Known Bugs">
1999-07-02 02:56:04 +04:00
<!-- Toolbar items -->
<!ENTITY backButton.label "Back">
<!ENTITY forwardButton.label "Forward">
<!ENTITY reloadButton.label "Reload">
<!ENTITY stopButton.label "Stop">
<!ENTITY printButton.label "Print">
<!-- Toolbar items -->
<!ENTITY homeButton.label "Home">
<!ENTITY netscapeButton.label "Netscape">
<!ENTITY bugzillaButton.label "Bugzilla">
<!ENTITY tinderboxButton.label "Tinderbox">
<!-- Statusbar -->
<!ENTITY notifCom.label "[Notification Component]">
<!ENTITY statusText.label "Document: Done">
<!ENTITY buildId.label "Build ID: 1999070614">
1999-07-02 02:56:04 +04:00
<!ENTITY security-button.label "Secure Conn">
]>
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1999-07-02 02:56:04 +04:00
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Startup()"
onunload="Shutdown()"
1999-07-02 02:56:04 +04:00
title="&mainWindow.title;" titlemodifier="&mainWindow.titlemodifier;"
titlemenuseparator ="&mainWindow.titlemodifiermenuseparator;" windowtype="navigator:browser"
align="vertical" width="640" height="480">
1999-07-02 02:56:04 +04:00
<html:script language="javascript" src="navigator.js">
</html:script>
<html:script language="javascript" src="tooltip.js">
</html:script>
1999-07-02 02:56:04 +04:00
<popup id="translationlist">
<menu>
<menuitem value="&translateEngtoFrenCmd.label;" onaction="Translate('en', 'fr', 'SSI');" />
<menuitem value="&translateEngtoGermCmd.label;" onaction="Translate('en', 'de', 'SSI');"/>
<menuitem value="&translateEngtoItalianCmd.label;" onaction="Translate('en', 'it', 'SSI');"/>
<menuitem value="&translateEngtoJapaneseCmd.label;" onaction="Translate('en', 'ja', 'Neocortech');"/>
<menuitem value="&translateEngtoPortCmd.label;" onaction="Translate('en', 'po', 'SSI');"/>
<menuitem value="&translateEngtoSpanCmd.label;" onaction="Translate('en', 'es', 'SSI');"/>
<menuseparator />
<menuitem value="&translateFrentoEngCmd.label;" onaction="Translate('fr', 'en', 'SSI')"/>
<menuitem value="&translateFrentoGermCmd.label;" onaction="Translate('fr', 'de', 'SSI')"/>
<menuitem value="&translateFrentoSpanCmd.label;" onaction="Translate('fr', 'es', 'SSI')"/>
<menuseparator />
<menuitem value="&translateGermtoEngCmd.label;" onaction="Translate('de', 'en', 'SSI')"/>
<menuitem value="&translateGermtoFrenCmd.label;" onaction="Translate('de', 'fr', 'SSI')"/>
<menuitem value="&translateGermtoSpanCmd.label;" onaction="Translate('de', 'es', 'SSI')"/>
<menuseparator />
<menuitem value="&translateItaliantoEngCmd.label;" onaction="Translate('it', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&tanslateJapanesetoEngCmd.label;" onaction="Translate('ja', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&translatePorttoEngCmd.label;" onaction="Translate('po', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&tanslateSpantoEngCmd.label;" onaction="Translate('es', 'en', 'SSI')"/>
<menuitem value="&translateSpantoFrenCmd.label;" onaction="Translate('es', 'fr', 'SSI')"/>
<menuitem value="&translateSpantoGermCmd.label;" onaction="Translate('es', 'de', 'SSI')"/>
1999-07-02 02:56:04 +04:00
</menu>
</popup>
<!-- This needs to go into a xul fragment, but since those don't work now, this stays here !-->
<popup id="aTooltip" oncreate="return FillInTooltip(document.tooltipElement);">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="200" height="20" style="border: thin solid black">
<titledbutton id="replaceMe" align="left" class="borderless" value="" />
</window>
</popup>
<html:script language="javascript">
var gBookmarkPopup = null;
</html:script>
<popup id="bookmark-popup" popupanchor='bottomleft' oncreate="BookmarkPopupFillTree(window,document.popupElement);">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="200" height="200" align="vertical" style="border: thin solid black; width:100%;height:100%">
<box align="horizontal">
<spring flex="100%"/>
<titledbutton class="borderless" value="close" onclick="window.close();" />
</box>
<html:script src="chrome://bookmarks/content/bookmark-popup.js" />
<tree id="bmpopuptree" context="contextual"
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
onclick="return opener.BookmarkPopupSingleClick(window,event.target.parentNode.parentNode);" flex="100%">
<template>
<rule rdf:type="http://home.netscape.com/NC-rdf#Bookmarkmenuseparator">
<treechildren>
<treeitem uri="..." type="rdf:http://home.netscape.com/NC-rdf#type">
<treerow>
<treecell>
<html:hr width="75%" align="center" size="1" />
</treecell>
</treerow>
</treeitem>
</treechildren>
</rule>
<rule>
<treechildren>
<treeitem uri="..." type="rdf:http://home.netscape.com/NC-rdf#type">
<treerow>
<treecell>
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
1999-07-27 00:23:15 +04:00
align="left" class="borderless"/>
</treecell>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treecol id="NameColumn"
rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
</tree>
</window>
</popup>
1999-07-02 02:56:04 +04:00
<broadcaster id="canGoBack" disabled="true"/>
<broadcaster id="canGoForward" disabled="true"/>
<broadcaster id="canReload"/>
<broadcaster id="canStop"/>
<broadcaster id="canPrint"/>
<broadcaster id="Browser:LoadingProgress"/>
<broadcaster id="Browser:Status"/>
<broadcaster id="Browser:Security" secure="false"/>
<broadcaster id="Browser:Throbber" busy="false"/>
<broadcaster id="args" value=""/>
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
<broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onchange="onLoadWithArgs()"/>
<!-- HELLO!! IS ANYONE READING THIS? In case you are reading this,
note that this menubar is copied verbatim in hiddenWindow.xul.
Please do be so kind as to reflect any changes made into that
file as well, in anticipation of the happy day when the parser
will let us use included files. -->
1999-07-02 02:56:04 +04:00
<menubar chromeclass="menubar">
<menu value="&fileMenu.label;">
<menuitem value="&browserCmd.label;" onaction="BrowserNewWindow();"/>
<menu value="New">
<menuitem value="&newMailCmd.label;" onaction="MsgNewMessage();"/>
<menuseparator />
<menuitem value="&newBlankPageCmd.label;" onaction="BrowserNewEditorWindow();"/>
<menuitem value="&newPageFromTemplateCmd.label;" onaction="BrowserNewWindow();"/>
<menuitem value="&newPageFromDraftCmd.label;" onaction="BrowserNewWindow();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menuitem value="&openCmd.label;" onaction="BrowserOpenWindow();"/>
<menuseparator />
<menuitem value="&sendPageCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&editPageCmd.label;" onaction="BrowserEditPage(window.content.location.href);" />
<menuseparator />
<menu value="&offlineMenu.label;">
<menuitem value="&offlineGoOfflineCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&offlineSynchronizeCmd.label;" onaction="BrowserReload();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menuseparator />
<menuitem value="&printSetupCmd.label;" onaction=";"/>
<menuitem value="&printPreviewCmd.label;" onaction=""/>
<menuitem value="&printCmd.label;" onaction="BrowserPrint()"/>
<menuseparator />
<menuitem value="&closeCmd.label;" onaction="BrowserClose();"/>
<menuitem value="&quitCmd.label;" onaction="BrowserExit();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&editMenu.label;">
<menuitem value="&undoCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&redoCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&cutCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&copyCmd.label;" onaction="BrowserCopy();"/>
<menuitem value="&pasteCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&deleteCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menu value="&walletMenu.label;">
<menuitem value="&walletSafeFillCmd.label;" onaction="WalletSafeFillin();"/>
<menuitem value="&walletQuickFillCmd.label;" onaction="WalletQuickFillin();"/>
<menuseparator />
<menuitem value="&walletContentsCmd.label;" onaction="WalletEditor();"/>
<menuitem value="&walletDisplaySignonsCmd.label;" onaction="SignonViewer();"/>
<menuitem value="&walletDisplayCookiesCmd.label;" onaction="CookieViewer();"/>
<menuseparator />
<menuitem value="&walletSamplesCmd.label;" onaction="WalletSamples();"/>
<menuitem value="&walletChangePasswordCmd.label;" onaction="WalletChangePassword();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menuseparator />
<menuitem value="&selectAllCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&preferences.label;" onaction="DoPreferences();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&viewMenu.label;">
<menuitem value="&toolbarsCmd.label;" onaction="toolbar.visible=true"/>
<menuitem value="&sidebarCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&enlargeTextSizeCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&reduceTextSizeCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menu value="&useStyleSheetMenu.label;" onaction="BrowserReload();">
<menuitem value="&useStyleSheetDefaultCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&useStyleSheetEasyReadingCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&useStyleSheetMaxInfoCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&useStlyleSheetBizarreCmd.label;" onaction="BrowserReload();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menuseparator />
<menuitem value="&reloadCmd.label;" id="menuitem-reload" onaction="BrowserReallyReload(0);"/>
<menuitem value="&showImagesCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&stopCmd.label;" id="menuitem-stop" onaction="BrowserStop();"/>
<menuseparator />
<menuitem value="&pageSourceCmd.label;" onaction="BrowserViewSource();"/>
<menuitem value="&pageInfoCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menu value="&translateMenu.label;">
<menuitem value="&translateEngtoFrenCmd.label;" onaction="Translate('en', 'fr', 'SSI');"/>
<menuitem value="&translateEngtoGermCmd.label;" onaction="Translate('en', 'de', 'SSI');"/>
<menuitem value="&translateEngtoItalianCmd.label;" onaction="Translate('en', 'it', 'SSI');"/>
<menuitem value="&translateEngtoJapaneseCmd.label;" onaction="Translate('en', 'ja', 'Neocortech');"/>
<menuitem value="&translateEngtoPortCmd.label;" onaction="Translate('en', 'po', 'SSI');"/>
<menuitem value="&translateEngtoSpanCmd.label;" onaction="Translate('en', 'es', 'SSI');"/>
<menuseparator />
<menuitem value="&translateFrentoEngCmd.label; " onaction="Translate('fr', 'en', 'SSI');"/>
<menuitem value="&translateFrentoGermCmd.label;" onaction="Translate('fr', 'de', 'SSI');"/>
<menuitem value="&translateFrentoSpanCmd.label;" onaction="Translate('fr', 'es', 'SSI');"/>
<menuseparator />
<menuitem value="&translateGermtoEngCmd.label;" onaction="Translate('de', 'en', 'SSI');"/>
<menuitem value="&translateGermtoFrenCmd.label;" onaction="Translate('de', 'fr', 'SSI');"/>
<menuitem value="&translateGermtoSpanCmd.label;" onaction="Translate('de', 'es', 'SSI');"/>
<menuseparator />
<menuitem value="&translateItaliantoEngCmd.label;" onaction="Translate('it', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&tanslateJapanesetoEngCmd.label;" onaction="Translate('ja', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&translatePorttoEngCmd.label;" onaction="Translate('po', 'en', 'SSI');"/>
<menuseparator />
<menuitem value="&tanslateSpantoEngCmd.label;" onaction="Translate('es', 'en', 'SSI');"/>
<menuitem value="&translateSpantoFrenCmd.label;" onaction="Translate('es', 'fr', 'SSI');"/>
<menuitem value="&translateSpantoGermCmd.label;" onaction="Translate('es', 'de', 'SSI');"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&dcharMenu.label;">
<menuitem value="&dcharIso1Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-1');"/>
<menuitem value="&dcharIso2Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-2');"/>
<menuitem value="&dcharIso3Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-3');"/>
<menuitem value="&dcharIso4Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-4');"/>
<menuitem value="&dcharIso9Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-9');"/>
<menuitem value="&dcharIso10Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-10');"/>
<menuitem value="&dcharIso13Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-13');"/>
<menuitem value="&dcharIso14Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-14');"/>
<menuitem value="&dcharIso15Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-15');"/>
<menuitem value="&dcharWinLat2Cmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1250');"/>
<menuitem value="&dcharWinLat1Cmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1252');"/>
<menuitem value="&dcharWinLat5Cmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1254');"/>
<menuitem value="&dcharWinBalRimCmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1257');"/>
<menuitem value="&dcharMacRomCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-roman');"/>
<menuitem value="&dcharMacCenEuroCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-ce');"/>
<menuitem value="&dcharMacTurCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-turkish');"/>
<menuitem value="&dcharMacCroaCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-croatian');"/>
<menuitem value="&dcharMacRomanianCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-romanian');"/>
<menuitem value="&dcharMacIceCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-icelandic');"/>
<menuseparator />
<menuitem value="&dcharJapanCmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-2022-JP');"/>
<menuitem value="&dcharJapanShiftjsCmd.label;" onaction="BrowserSetDefaultCharacterSet('Shift_JIS');"/>
<menuitem value="&dcharJapanEucCmd.label;" onaction="BrowserSetDefaultCharacterSet('EUC-JP');"/>
<menuseparator />
<menuitem value="&dcharTradChiBigCmd.label;" onaction="BrowserSetDefaultCharacterSet('Big5');"/>
<menuitem value="&dcharTriChiEucCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-euc-tw');"/>
<menuitem value="&dcharSimpChiGbCmd.label;" onaction="BrowserSetDefaultCharacterSet('GB2312');"/>
<menuseparator />
<menuitem value="&dcharKoreanCmd.label;" onaction="BrowserSetDefaultCharacterSet('EUC-KR');"/>
<menuseparator />
<menuitem value="&dcharUtf7Cmd.label;" onaction="BrowserSetDefaultCharacterSet('UTF-7');"/>
<menuitem value="&dcharUtf8Cmd.label;" onaction="BrowserSetDefaultCharacterSet('UTF-8');"/>
<menuseparator />
<menuitem value="&dcharIsoCyrCmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-5');"/>
<menuitem value="&dcharEcmaCyrCmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-IR-111');"/>
<menuitem value="&dcharWinCyrCmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1251');"/>
<menuitem value="&dcharDosCyrCmd.label;" onaction="BrowserSetDefaultCharacterSet('IBM866');"/>
<menuitem value="&dcharMacCyrCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-cyrillic');"/>
<menuitem value="&dcharMacUkrCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-ukrainian');"/>
<menuitem value="&dcharRusCmd.label; " onaction="BrowserSetDefaultCharacterSet('KOI8-R');"/>
<menuitem value="&dcharUkrCmd.label;" onaction="BrowserSetDefaultCharacterSet('KOI8-U');"/>
<menuseparator />
<menuitem value="&dcharIsoGreekCmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-7');"/>
<menuitem value="&dcharWinGreekCmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1253');"/>
<menuitem value="&dcharMacGreekCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-mac-greek');"/>
<menuseparator />
<menuitem value="&dcharWinVietCmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1258');"/>
<menuitem value="&dcharVietTcnCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-viet-tcvn5712');"/>
<menuitem value="&dcharVietViCmd.label;" onaction="BrowserSetDefaultCharacterSet('VISCII');"/>
<menuitem value="&dcharVieVpCmd.label;" onaction="BrowserSetDefaultCharacterSet('x-viet-vps');"/>
<menuseparator />
<menuitem value="&dcharThaiCmd.label;" onaction="BrowserSetDefaultCharacterSet('TIS-620');"/>
<menuseparator />
<menuitem value="&dcharArmCmd.label;" onaction="BrowserSetDefaultCharacterSet('ARMSCII-8');"/>
<menuseparator />
<menuitem value="&dcharIso6Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-6');"/>
<menuitem value="&dcharCp1256Cmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1256');"/>
<menuseparator />
<menuitem value="&dcharIso8Cmd.label;" onaction="BrowserSetDefaultCharacterSet('ISO-8859-8');"/>
<menuitem value="&dcharCp1255Cmd.label;" onaction="BrowserSetDefaultCharacterSet('windows-1255');"/>
1999-07-02 02:56:04 +04:00
</menu>
</menu>
<menu value="&searchMenu.label;">
<menuitem value="&findOnCmd.label;" onaction="BrowserFind();"/>
<menuitem value="&findAgainCmd.label;" onaction="BrowserFindAgain();"/>
<menuseparator />
<menuitem value="&searchParentCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&searchParenet2Cmd.label;" onaction="BrowserReload();"/>
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&appSpecificCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&searchInternetCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&searchAllMailCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&searchBookmarksCmd.label;" onaction="BrowserReload();"/>
<menuitem value="&searchPeopleCmd.label;" onaction="BrowserReload();"/>
<menuseparator />
<menuitem value="&searchComputerCmd.label;" onaction="BrowserReload();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&goMenu.label;">
<menuitem id="menuitem-back" value="&goBackCmd.label;" onaction="BrowserBack();"/>
<menuitem id="menuitem-forward" value="&goForwardCmd.label;" onaction="BrowserForward();" />
<menuitem value="&goHomeCmd.label;" onaction="BrowserHome();"/>
<menuseparator />
<menuitem value="&goPrev1Cmd.label;" onaction="BrowserBack();"/>
<menuitem value="&goPrev2Cmd.label;" onaction="BrowserBack();"/>
<menuitem value="&goPrevnCmd.label;" onaction="BrowserBack();"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&bookmarksMenu.label;" onaction="OpenBookmarkURL(event.target)"
1999-07-02 02:56:04 +04:00
datasources="rdf:bookmarks rdf:files rdf:find" id="NC:BookmarksRoot">
<template>
<rule iscontainer="true">
<menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
1999-07-02 02:56:04 +04:00
</rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#Bookmarkmenuseparator">
<menuseparator uri="..." />
1999-07-02 02:56:04 +04:00
</rule>
<rule>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" onaction="OpenBookmarkURL(event.target)" />
1999-07-02 02:56:04 +04:00
</rule>
</template>
<menuitem value="&addCurPageCmd.label;" onaction="BrowserAddBookmark(window.content.location.href,window.content.document.title);"/>
<menuitem value="&manBookmarksCmd.label;" onaction="BrowserEditBookmarks();"/>
<menuseparator/>
1999-07-02 02:56:04 +04:00
</menu>
<menu id="tasksMenu"/>
<menu id="helpMenu"/>
1999-07-02 02:56:04 +04:00
// Menu for testing.
<menu value="&debugMenu.label;">
<menu value="&debugVerCmd.label;"> // Build verification sites.
<menuitem value="&ver1Cmd.label;" onaction="window.content.location.href='http://www.mozilla.org'"/>
<menuitem value="&ver2Cmd.label;" onaction="window.content.location.href='http://www.yahoo.com'"/>
<menuitem value="&ver3Cmd.label;" onaction="window.content.location.href='http://www.netscape.com'"/>
<menuitem value="&ver4Cmd.label;" onaction="window.content.location.href='http://www.excite.com'"/>
<menuitem value="&ver5Cmd.label;" onaction="window.content.location.href='http://www.microsoft.com'"/>
<menuitem value="&ver6Cmd.label;" onaction="window.content.location.href='http://www.city.net'"/>
<menuitem value="&ver7Cmd.label;" onaction="window.content.location.href='http://www.mirabilis.com'"/>
<menuitem value="&ver8Cmd.label;" onaction="window.content.location.href='http://www.pathfinder.com/welcome'"/>
<menuitem value="&ver9Cmd.label;" onaction="window.content.location.href='http://www.warnerbros.com/home_moz3_day.html'"/>
<menuitem value="&ver10Cmd.label;" onaction="window.content.location.href='http://www.cnn.com'"/>
<menuitem value="&ver11Cmd.label;" onaction="window.content.location.href='http://www.usatoday.com'"/>
<menuitem value="&ver12Cmd.label;" onaction="window.content.location.href='http://www.disney.go.com'"/>
<menuitem value="&ver13Cmd.label;" onaction="window.content.location.href='http://www.hotwired.com'"/>
<menuitem value="&ver14Cmd.label;" onaction="window.content.location.href='http://www.hotbot.com'"/>
<menuseparator />
<menuitem value="&ver15Cmd.label;" onaction="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_frame_index.html'"/>
<menuitem value="&ver16Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test6.html'"/>
<menuitem value="&ver17Cmd.label;" onaction="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_applet.htm'"/>
<menuitem value="&ver18Cmd.label;" onaction="window.content.location.href='http://www.abcnews.com'"/>
<menuitem value="&ver19Cmd.label;" onaction="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_imagemap.html'"/>
<menuitem value="&ver20Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem value="&ver21Cmd.label;" onaction="window.content.location.href='http://www.cdrom.com/pub/png/png-MagnoliaAlpha.html'"/>
<menuitem value="&ver22Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test13.html'"/>
<menuitem value="&ver23Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem value="&ver24Cmd.label;" onaction="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_html_mix3.html'"/>
<menuitem value="&ver25Cmd.label;" onaction="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_link.html'"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&viewDemoMenu.label;"> // Viewer tests.
<menuitem value="&demo0Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test0.html'"/>
<menuitem value="&demo1Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test1.html'"/>
<menuitem value="&demo2Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem value="&demo3Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test3.html'"/>
<menuitem value="&demo4Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test4.html'"/>
<menuitem value="&demo5Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test5.html'"/>
<menuitem value="&demo6Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test6.html'"/>
<menuitem value="&demo7Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test7.html'"/>
<menuitem value="&demo8Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test8.html'"/>
<menuitem value="&demo9Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test9.html'"/>
<menuitem value="&demo10Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test10.html'"/>
<menuitem value="&demo11Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test11.html'"/>
<menuitem value="&demo12Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test12.html'"/>
<menuitem value="&demo13Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test13.html'"/>
<menuitem value="&demo14Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test14.html'"/>
<menuitem value="&demo15Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test15.html'"/>
<menuitem value="&demo16Cmd.label;" onaction="window.content.location.href='resource:/res/samples/test16.html'"/>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&xptkMenu.label;"> // XPToolkit tests.
<menuitem value="&xptk1Cmd.label;" onaction="window.content.location.href='resource:/res/samples/checkboxTest.xul'"/>
<menuitem value="&xptk2Cmd.label;" onaction="window.content.location.href='resource:/res/samples/toolbarTest1.xul'"/>
<menuitem value="&xptk3Cmd.label;" onaction="window.content.location.href='resource:/res/samples/treeTest1.xul'"/>
<menuitem value="&xptk4Cmd.label;" onaction="window.content.location.href='resource:/res/samples/dexsimplemaster.xul'"/>
<menuitem value="&xptk5Cmd.label;" onaction="window.content.location.href='resource:/res/samples/dexanimmaster.xul'"/>
<menuitem value="&xptk6Cmd.label;" onaction="window.content.location.href='resource:/res/samples/tab.xul'"/>
<menuitem value="&xptk7Cmd.label;" onaction="window.content.location.href='resource:/res/samples/beeptest.html'"/>
<menuitem value="&xptk8Cmd.label;" onaction="window.content.location.href='resource:/res/samples/soundtest.html'"/>
<menuitem value="&xptk9Cmd.label;" onaction="window.content.location.href='resource:/res/samples/xpmenu.xul'"/>
1999-07-02 02:56:04 +04:00
</menu>
</menu>
<menu value="&QA.label;"> // QA tests.
<menuitem value="&QABugCmd.label;" onaction="window.content.location.href='http://www.mozilla.org/quality/bug-writing-guidelines.html'"/>
<menuitem value="&QATempCmd.label;" onaction="window.content.location.href='http://www.mozilla.org/quality/bug-template.html'"/>
<menuitem value="&QASmokeCmd.label;" onaction="window.content.location.href='http://www.mozilla.org/quality/smoketests/'"/>
<menuitem value="&QAKnownBugCmd.label;" onaction="window.content.location.href='http://www.mozilla.org/quality/most-frequent-bugs/'"/>
<menuseparator />
<menuitem value="&strresCmd.label;" onaction="window.content.location.href='resource:/res/strres-test.xul'"/>
</menu>
1999-07-02 02:56:04 +04:00
</menubar>
<toolbox id="main-toolbox">
1999-07-02 02:56:04 +04:00
<toolbar class="main-bar" chromeclass="toolbar">
1999-07-27 00:23:15 +04:00
<titledbutton id="back-button" align="top" value="&backButton.label;" onclick="BrowserBack()">
1999-07-02 02:56:04 +04:00
<observes element="canGoBack" attribute="disabled" onChange="BrowserSetBack()"/>
</titledbutton>
1999-07-27 00:23:15 +04:00
<titledbutton id="forward-button" align="top" value="&forwardButton.label;"
1999-07-02 02:56:04 +04:00
onclick="BrowserForward()">
<observes element="canGoForward" attribute="disabled" onChange="BrowserSetForward()"/>
</titledbutton>
<!-- Right now only regular reload is supported.
When the functionality is available, look for
'Shift' key pressed state and pass on appropriate
reload type. (The shift functionality is available. There's a shiftDown field
in the event object.) -->
1999-07-27 00:23:15 +04:00
<titledbutton id="reload-button" align="top" value="&reloadButton.label;"
onclick="BrowserReallyReload(0)">
<observes element="canReload" attribute="disabled" onChange="BrowserSetReload()" />
1999-07-02 02:56:04 +04:00
</titledbutton>
1999-07-27 00:23:15 +04:00
<titledbutton id="stop-button" align="top" value="&stopButton.label;"
1999-07-02 02:56:04 +04:00
onclick="BrowserStop()">
<observes element="canStop" attribute="disabled" onchange="BrowserCanStop()"/>
</titledbutton>
<box align="vertical" flex="100%">
<spring flex="100%"/>
<html:input id="urlbar" type="text" chromeclass="location"
1999-07-02 02:56:04 +04:00
onkeyup="if (event.which == 13) { BrowserLoadURL(); }"/>
<spring flex="100%"/>
</box>
1999-07-27 00:23:15 +04:00
<titledbutton id="translate-button" popup="translationlist" popupanchor="bottomleft" value="&translateButton.label;" align="top">
1999-07-02 02:56:04 +04:00
</titledbutton>
1999-07-27 00:23:15 +04:00
<titledbutton id="print-button" align="top" value="&printButton.label;"
1999-07-02 02:56:04 +04:00
onclick="BrowserPrint()">
<observes element="canPrint" attribute="disabled"/>
</titledbutton>
<titledbutton id="Throbber" onclick="window.content.location.href='&throbber.url;'">
1999-07-02 02:56:04 +04:00
<observes element="Browser:Throbber" attribute="busy"/>
</titledbutton>
</toolbar>
<toolbar class="main-bar" chromeclass="toolbar" datasources="rdf:bookmarks" id="NC:PersonalToolbarFolder">
<template>
<rule iscontainer="true">
1999-07-27 00:23:15 +04:00
<titledbutton uri="..." src="resource:/res/rdf/folder-closed.gif" value="rdf:http://home.netscape.com/NC-rdf#Name" align="left" popup="bookmark-popup" />
1999-07-02 02:56:04 +04:00
</rule>
<rule>
1999-07-27 00:23:15 +04:00
<titledbutton uri="..." src="resource:/res/toolbar/TB_Location.gif" value="rdf:http://home.netscape.com/NC-rdf#Name" align="left" onclick="OpenBookmarkURL(event.target)" />
1999-07-02 02:56:04 +04:00
</rule>
</template>
1999-07-27 00:23:15 +04:00
<titledbutton id="home-button" align="left" value="&homeButton.label;"
1999-07-02 02:56:04 +04:00
onclick="BrowserHome()"/>
1999-07-27 00:23:15 +04:00
<titledbutton id="netscape-button" align="left" value="&netscapeButton.label;"
onclick="window.content.location.href='http://home.netscape.com'"/>
1999-07-02 02:56:04 +04:00
<spring flex="100%"/>
</toolbar>
</toolbox>
<html:iframe id="content-frame" src="contentframe.xul" flex="100%" />
<box align="horizontal" id="status-bar">
<titledbutton value="&notifCom.label;" onclick="doTests()"/>
<box id="security-box" class="insecure" align="horizontal" flex="100%">
<box align="vertical" style="width:100px">
<spring flex="100%"/>
<progressmeter id="statusbar-icon" mode="normal" value="0" onclick="dumpProgress()">
<observes element="Browser:LoadingProgress" attribute="mode"/>
<observes element="Browser:Throbber" attribute="busy" onchange="onProgress()"/>
</progressmeter>
<spring flex="100%"/>
</box>
<titledbutton id="statusText" align="left" flex="100%" value="&statusText.label;" style="font-family:sans-serif;font-size:2.5mm">
1999-07-02 02:56:04 +04:00
<observes element="Browser:Status" attribute="value" onchange="onStatus()"/>
</titledbutton>
<spring flex="100%"/>
1999-07-27 00:23:15 +04:00
<titledbutton align="left" value="&buildId.label;" style="font-family:sans-serif;font-size:2.5mm;"/>
1999-07-02 02:56:04 +04:00
1999-07-27 00:23:15 +04:00
<titledbutton id="security-button" class="insecure" value="&security-button.label;" align="left" onclick="securityOff();"/>
1999-07-02 02:56:04 +04:00
</box>
</box>
<toolbox id="taskbox"/>
1999-07-02 02:56:04 +04:00
</window>