gecko-dev/suite/browser/viewSource.xul
matt%netscape.com fd175dca0f Moving files from browser/src to resources/content
Changed xul.css to chrome://global/skin
1999-07-14 00:03:57 +00:00

287 lines
14 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome:/global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY mainWindow.title "Mozilla">
<!ENTITY mainWindow.titlemodifier "Mozilla">
<!ENTITY mainWindow.titlemodifierseperator " - ">
<!ENTITY mainWindow.preface "Source for">
<!ENTITY fileMenu.label "File">
<!ENTITY browserCmd.label "New Browser Window">
<!ENTITY newMenu.label "New">
<!ENTITY newMailCmd.label "Mail Message">
<!ENTITY newChatCmd.label "Chat Window">
<!ENTITY newBlankPageCmd.label "Chat Window">
<!ENTITY newPageFromTemplateCmd.label "Page Using Template">
<!ENTITY newPageFromDraftCmd.label "Page using Draft">
<!ENTITY openCmd.label "Open">
<!ENTITY sendPageCmd.label "Send Page">
<!ENTITY offlineMenu.label "Offline">
<!ENTITY offlineGoOfflineCmd.label "Go Offline">
<!ENTITY offlineSynchronizeCmd.label "Synchronize">
<!ENTITY printSetupCmd.label "Print Setup">
<!ENTITY printPreviewCmd.label "Print Preview">
<!ENTITY printCmd.label "Print">
<!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">
<!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 useStyleSheetMaximumInformationCmd.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 charSetMenu.label "Character Set">
<!ENTITY charWesternCmd.label "Latin1">
<!ENTITY charJapaneseCmd.label "Japanese (ISO-2022-JP)">
<!ENTITY charShiftJisCmd.label "Shift_JIS">
<!ENTITY charEupCmd.label "EUC-JP">
<!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 "Menu">
<!ENTITY goBackCmd.label "Go Back">
<!ENTITY goForwardCmd.label "Go Forward">
<!ENTITY goHomeCmd.label "Home">
<!ENTITY tasksMenu.label "Tasks">
<!ENTITY navigatorCmd.label "Navigator">
<!ENTITY messengerCmd.label "Messenger">
<!ENTITY editorCmd.label "Editor">
<!ENTITY manageHistoryCmd.label "Manage History">
<!ENTITY chatCmd.label "Chat">
<!ENTITY shoppingCartCmd.label "Shopping Cart">
<!ENTITY toolsMenu.label "Tools">
<!ENTITY toolsPluginsInfoCmd.label "Plugins Info">
<!ENTITY toolsJavaConsoleCmd.label "Java/JS Console">
<!ENTITY toolsServerToolsCmd.label "Server Tools">
<!ENTITY toolsJavascriptDebuggerCmd.label "JavaScipt Debugger">
<!ENTITY securityInfo.label "Security Info">
<!ENTITY window1Cmd.label "Window 1">
<!ENTITY window2Cmd.label "Window 2">
<!ENTITY window3Cmd.label "Window 3">
<!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">
]>
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onunload="Shutdown()"
title="&mainWindow.title;" titlemodifier="&mainWindow.titlemodifier;"
titleseperator ="&mainWindow.titlemodifierseperator;" windowtype="navigator:viewsource"
align="vertical" width="640" height="480">
<html:script src="chrome://navigator/content/navigator.js"></html:script>
<html:script src="chrome://navigator/content/viewsource.js"></html:script>
<broadcaster id="args" value="http://www.mozilla.org/"/>
<broadcaster id="canPrint"/>
<broadcaster id="canGoBack" disabled="true"/>
<broadcaster id="Browser:LoadingProgress"/>
<broadcaster id="Browser:Status"/>
<broadcaster id="Browser:OnStartBinding"/>
<broadcaster id="Browser:OnStopBinding"/>
<broadcaster id="Browser:Throbber" busy="false"/>
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
<broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onchange="StartupViewSource()"/>
<menubar>
<menu name="&fileMenu.label;">
<menuitem name="&browserCmd.label;" onclick="BrowserNewWindow();"/>
<menu name="&newMenu.label;">
<menuitem name="&newMailCmd.label;" onclick="MsgNewMessage();"/>
<menuitem name="&newChatCmd.label;" onclick=""/>
<separator />
<menuitem name="&newBlankPageCmd.label;" onclick="BrowserNewWindow();"/>
<menuitem name="&newPageFromTemplateCmd.label;" onclick="BrowserNewWindow();"/>
<menuitem name="&newPageFromDraftCmd.label;" onclick="BrowserNewWindow();"/>
</menu>
<menuitem name="&openCmd.label;" onclick="BrowserOpenWindow();"/>
<separator />
<menuitem name="&sendPageCmd.label;" onclick="NotImplementedYet();"/>
<separator />
<menu name="&offlineMenu.label;">
<menuitem name="&offlineGoOfflineCmd.label;" onclick="NotImplementedYet();"/>
<separator />
<menuitem name="&offlineSynchronizeCmd.label;" onclick="NotImplementedYet();"/>
</menu>
<separator />
<menuitem name="&printSetupCmd.label;" onclick=";"/>
<menuitem name="&printPreviewCmd.label;" onclick=""/>
<menuitem name="&printCmd.label;" onclick="BrowserPrint()"/>
<separator />
<menuitem name="closeCmd.label" onclick="BrowserClose();"/>
<menuitem name="quitCmd.label" onclick="BrowserExit();"/>
</menu>
<menu name="&editMenu.label;">
<menuitem name="&undoCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&redoCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&cutCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&copyCmd.label;" onclick="BrowserCopy();"/>
<menuitem name="&pasteCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&deleteCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&selectAllCmd.label;" onclick="NotImplementedYet();"/>
<separator />
<menuitem name="&preferences.label;" onclick="DoPreferences();"/>
</menu>
<menu name="&viewMenu.label;">
<menuitem name="&toolbarsCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&sidebarCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&enlargeTextSizeCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="Reduce Text Size" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menu name="&useStyleSheetMenu.label;" onclick="NotImplementedYet();">
<menuitem name="&useStyleSheetDefaultCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&useStyleSheetEasyReadingCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&useStyleSheetMaximumInformationCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&useStlyleSheetBizarreCmd.label;" onclick="NotImplementedYet();" disabled=""/>
</menu>
<separator />
<menuitem name="&reloadCmd.label;" onclick="BrowserReload();" disabled=""/>
<menuitem name="&showImagesCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&stopCmd.label;" onclick="NotImplementedYet();"/>
<separator />
<menuitem name="&pageSourceCmd.label;" onclick="BrowserViewSource();" disabled=""/>
<menuitem name="&pageInfoCmd.label;" onclick="NotImplementedYet();"/>
<separator />
<menu name="&charSetMenu.label;">
<menuitem name="&charWesternCmd.label;" onclick="BrowserSetDocumentCharacterSet('ISO-8859-1');"/>
<menuitem name="&charJapaneseCmd.label;" onclick="BrowserSetDocumentCharacterSet('ISO-2022-JP');"/>
<menuitem name="&charShiftJisCmd.label;" onclick="BrowserSetDocumentCharacterSet('Shift_JIS');"/>
<menuitem name="&charEupCmd.label;" onclick="BrowserSetDocumentCharacterSet('EUC-JP');"/>
</menu>
</menu>
<menu name="&searchMenu.label;">
<menuitem name="&findOnCmd.label;" onclick="BrowserFind();;" disabled=""/>
<menuitem name="&findAgainCmd.label;" onclick="BrowserFindAgain();" disabled=""/>
<separator />
<menuitem name="&searchParentCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&searchParenet2Cmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&appSpecificCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&appSpecificCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&searchInternetCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&searchAllMailCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&searchBookmarksCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&searchPeopleCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&searchComputerCmd.label;" onclick="NotImplementedYet();" disabled=""/>
</menu>
<menu name="&goMenu.label;">
<menuitem name="&goBackCmd.label;" onclick="BrowserBack();" disabled=""/>
<menuitem name="&goForwardCmd.label;" onclick="BrowserForward();" disabled=""/>
<menuitem name="&goHomeCmd.label;" onclick="BrowserHome();" disabled=""/>
</menu>
<menu name="&tasksMenu.label;">
<menuitem name="&navigatorCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&messengerCmd.label;" onclick="OpenMessenger();" />
<menuitem name="&editorCmd.label;" onclick="OpenEditor();" />
<menuitem name="&manageHistoryCmd.label;" onclick="OpenHistoryView();" />
<menuitem name="&chatCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&shoppingCartCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menu name="&toolsMenu.label;">
<menuitem name="&toolsPluginsInfoCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&toolsServerToolsCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&toolsJavaConsoleCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&toolsJavascriptDebuggerCmd.label;" onclick="NotImplementedYet();" disabled=""/>
</menu>
<separator />
<menuitem name="&securityInfo.label;" onclick="NotImplementedYet();" disabled=""/>
<separator/>
<menuitem name="&window1Cmd.label;" onclick="NotImplementedYet();" key="1" disabled=""/>
<menuitem name="&window2Cmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&window3Cmd.label;" onclick="NotImplementedYet();" disabled=""/>
</menu>
<menu name="&helpMenuCmd.label;">
<menuitem name="&helpContentsCmd.label;" onclick="window.frames[0].location.href = 'http://www.mozilla.org/projects/user-docs/local/browserhelp/browsertop.html'" disabled=""/>
<separator />
<menuitem name="&howTutorialCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&helpChannelCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<separator />
<menuitem name="&softwareUpdatesCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&technicalSupportCmd.label;" onclick="NotImplementedYet();" disabled=""/>
<menuitem name="&releaseNotesCmd.label;"
onclick="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'" disabled=""/>
<separator />
<menuitem name="&aboutCommunicatorCmd.label;"
onclick="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'" disabled=""/>
</menu>
</menubar>
<html:iframe id="content-frame" type="content" html:name="content" html:src="about:blank" flex="100%"/>
<box align="horizontal" id="status-bar">
<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="right" flex="100%" value="Document: Done" style="font-family:sans-serif;font-size:2.5mm">
<observes element="Browser:Status" attribute="value" onchange="onStatus()"/>
</titledbutton>
<spring flex="100%"/>
<titledbutton align="right" value="Build ID: 1999040601" style="font-family:sans-serif;font-size:2.5mm;"/>
</box>
</box>
</window>