pjs/suite/browser/viewSource.xul

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

1999-07-02 02:56:04 +04:00
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://navigator/locale/viewSource.dtd" >
1999-07-02 02:56:04 +04:00
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="onLoadViewSource()"
onunload="Shutdown()"
title="&mainWindow.title;" titlemodifier="&mainWindow.titlemodifier;"
1999-09-15 01:26:58 +04:00
titlepreface="&mainWindow.preface;"
titlemenuseparator ="&mainWindow.titlemodifierseperator;" windowtype="navigator:viewsource"
align="vertical" width="640" height="480">
1999-07-02 02:56:04 +04:00
<html:script src="chrome://navigator/content/navigator.js"></html:script>
<html:script src="chrome://navigator/content/viewsource.js"></html:script>
1999-07-02 02:56:04 +04:00
<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" onbroadcast="StartupViewSource()"/>
1999-07-02 02:56:04 +04:00
<menubar>
1999-07-31 11:29:56 +04:00
<menu value="&fileMenu.label;">
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&browserCmd.label;" oncommand="BrowserNewWindow();"/>
1999-07-31 11:29:56 +04:00
<menu value="&newMenu.label;">
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&newMailCmd.label;" oncommand="MsgNewMessage();"/>
<menuitem value="&newChatCmd.label;" oncommand=""/>
1999-07-31 11:29:56 +04:00
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&newBlankPageCmd.label;" oncommand="BrowserNewWindow();"/>
<menuitem value="&newPageFromTemplateCmd.label;" oncommand="BrowserNewWindow();"/>
<menuitem value="&newPageFromDraftCmd.label;" oncommand="BrowserNewWindow();"/>
1999-07-31 11:29:56 +04:00
</menupopup>
</menu>
1999-08-21 02:58:32 +04:00
<menuitem value="&openCmd.label;" oncommand="BrowserOpenWindow();"/>
1999-07-31 11:29:56 +04:00
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&sendPageCmd.label;" oncommand="NotImplementedYet();"/>
1999-07-31 11:29:56 +04:00
<menuseparator />
<menu value="&offlineMenu.label;">
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&offlineGoOfflineCmd.label;" oncommand="NotImplementedYet();"/>
1999-07-31 11:29:56 +04:00
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&offlineSynchronizeCmd.label;" oncommand="NotImplementedYet();"/>
1999-07-31 11:29:56 +04:00
</menupopup>
</menu>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&printSetupCmd.label;" oncommand=";"/>
<menuitem value="&printPreviewCmd.label;" oncommand=""/>
<menuitem value="&printCmd.label;" oncommand="BrowserPrint()"/>
1999-07-31 11:29:56 +04:00
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&closeCmd.label;" oncommand="BrowserClose();"/>
<menuitem value="&quitCmd.label;" oncommand="BrowserExit();"/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
1999-07-31 11:29:56 +04:00
<menu value="&editMenu.label;">
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&undoCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&redoCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&cutCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&copyCmd.label;" oncommand="BrowserCopy();"/>
<menuitem value="&pasteCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&deleteCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&selectAllCmd.label;" oncommand="NotImplementedYet();"/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&preferences.label;" oncommand="DoPreferences();"/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&viewMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&toolbarsCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&sidebarCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&enlargeTextSizeCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="Reduce Text Size" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menu value="&useStyleSheetMenu.label;" oncommand="NotImplementedYet();">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&useStyleSheetDefaultCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&useStyleSheetEasyReadingCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&useStyleSheetMaximumInformationCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&useStlyleSheetBizarreCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
</menu>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&reloadCmd.label;" oncommand="BrowserReload();" disabled=""/>
<menuitem value="&showImagesCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&stopCmd.label;" oncommand="NotImplementedYet();"/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&pageSourceCmd.label;" oncommand="BrowserViewSource();" disabled=""/>
<menuitem value="&pageInfoCmd.label;" oncommand="NotImplementedYet();"/>
<menuseparator />
<menu value="&charSetMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&charWesternCmd.label;" oncommand="BrowserSetDocumentCharacterSet('ISO-8859-1');"/>
<menuitem value="&charJapaneseCmd.label;" oncommand="BrowserSetDocumentCharacterSet('ISO-2022-JP');"/>
<menuitem value="&charShiftJisCmd.label;" oncommand="BrowserSetDocumentCharacterSet('Shift_JIS');"/>
<menuitem value="&charEupCmd.label;" oncommand="BrowserSetDocumentCharacterSet('EUC-JP');"/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&searchMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&findOnCmd.label;" oncommand="BrowserFind();;" disabled=""/>
<menuitem value="&findAgainCmd.label;" oncommand="BrowserFindAgain();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&searchParentCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&searchParenet2Cmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&appSpecificCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&appSpecificCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&searchInternetCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&searchAllMailCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&searchBookmarksCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&searchPeopleCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&searchComputerCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&goMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&goBackCmd.label;" oncommand="BrowserBack();" disabled=""/>
<menuitem value="&goForwardCmd.label;" oncommand="BrowserForward();" disabled=""/>
<menuitem value="&goHomeCmd.label;" oncommand="BrowserHome();" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&tasksMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&navigatorCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&messengerCmd.label;" oncommand="OpenMessenger();" />
<menuitem value="&editorCmd.label;" oncommand="OpenEditor();" />
<menuitem value="&manageHistoryCmd.label;" oncommand="OpenHistoryView();" />
<menuitem value="&chatCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&shoppingCartCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menu value="&toolsMenu.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&toolsPluginsInfoCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&toolsServerToolsCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&toolsJavaConsoleCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&toolsJavascriptDebuggerCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&securityInfo.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator/>
1999-08-21 02:58:32 +04:00
<menuitem value="&window1Cmd.label;" oncommand="NotImplementedYet();" key="1" disabled=""/>
<menuitem value="&window2Cmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&window3Cmd.label;" oncommand="NotImplementedYet();" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</menu>
<menu value="&helpMenuCmd.label;">
1999-07-31 11:29:56 +04:00
<menupopup>
1999-08-21 02:58:32 +04:00
<menuitem value="&helpContentsCmd.label;" oncommand="window.frames[0].location.href = 'http://www.mozilla.org/projects/user-docs/local/browserhelp/browsertop.html'" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&howTutorialCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&helpChannelCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuseparator />
1999-08-21 02:58:32 +04:00
<menuitem value="&softwareUpdatesCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&technicalSupportCmd.label;" oncommand="NotImplementedYet();" disabled=""/>
<menuitem value="&releaseNotesCmd.label;"
1999-08-21 02:58:32 +04:00
oncommand="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'" disabled=""/>
1999-07-02 02:56:04 +04:00
<menuseparator />
<menuitem value="&aboutCommunicatorCmd.label;"
1999-08-21 02:58:32 +04:00
oncommand="window.frames[0].location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'" disabled=""/>
1999-07-31 11:29:56 +04:00
</menupopup>
1999-07-02 02:56:04 +04:00
</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" onbroadcast="onProgress()"/>
1999-07-02 02:56:04 +04:00
</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" onbroadcast="onStatus()"/>
1999-07-02 02:56:04 +04:00
</titledbutton>
<spring flex="100%"/>
<titledbutton align="right" value="Build ID: 1999082316" style="font-family:sans-serif;font-size:2.5mm;"/>
1999-07-02 02:56:04 +04:00
</box>
</box>
</window>