Revision control

Copy as Markdown

Other Tools

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE overlay SYSTEM "chrome://editor/locale/editingOverlay.dtd">
<overlay id="editingOverlay"
<stringbundleset>
<stringbundle id="bundle_viewZoom"/>
</stringbundleset>
<keyset id="editorKeys">
<key id="key_openRemoteEditor"
key="&openRemoteCmd.key;"
command="cmd_openRemote"
modifiers="accel,shift"/>
<key id="key_openEditor"
key="&openFileCmd.key;"
command="cmd_open"
modifiers="accel"/>
<key id="key_publish"
key="&publishCmd.key;"
command="cmd_publish"
modifiers="accel,shift"/>
<keyset id="viewZoomKeys"/>
</keyset>
<!-- commands updated when the editor gets created -->
<commandset id="commonEditorMenuItems">
<command id="cmd_open"
oncommand="goDoCommand('cmd_open');"/>
<command id="cmd_openRemote"
oncommand="goDoCommand('cmd_openRemote');"/>
</commandset>
<commandset id="composerSaveMenuItems"
commandupdater="true"
events="create, save"
oncommandupdate="goUpdateComposerMenuItems(this);">
<command id="cmd_save"
label="&saveCmd.label;"
oncommand="goDoCommand('cmd_save');"/>
<command id="cmd_saveAs"
oncommand="goDoCommand('cmd_saveAs');"/>
<command id="cmd_saveAndChangeEncoding"
oncommand="goDoCommand('cmd_saveAndChangeEncoding');"/>
<command id="cmd_publish"
label="&publishCmd.label;"
oncommand="goDoCommand('cmd_publish');"/>
<command id="cmd_publishAs"
oncommand="goDoCommand('cmd_publishAs');"/>
<command id="cmd_revert"
oncommand="goDoCommand('cmd_revert');"/>
</commandset>
<commandset id="composerEditMenuItems">
<command id="cmd_publishSettings"
oncommand="goDoCommand('cmd_publishSettings');"/>
</commandset>
<commandset id="composerMenuItems">
<command id="cmd_form"
oncommand="goDoCommand('cmd_form');"/>
<command id="cmd_inputtag"
oncommand="goDoCommand('cmd_inputtag');"/>
<command id="cmd_inputimage"
oncommand="goDoCommand('cmd_inputimage');"/>
<command id="cmd_textarea"
oncommand="goDoCommand('cmd_textarea');"/>
<command id="cmd_select"
oncommand="goDoCommand('cmd_select');"/>
<command id="cmd_button"
oncommand="goDoCommand('cmd_button');"/>
<command id="cmd_label"
oncommand="goDoCommand('cmd_label');"/>
<command id="cmd_fieldset"
oncommand="goDoCommand('cmd_fieldset');"/>
</commandset>
<commandset id="editorCommands">
<command id="cmd_CustomizeToolbars"
oncommand="goCustomizeToolbar(getEditorToolbox());"/>
<commandset id="viewZoomCommands"/>
</commandset>
<!-- File menu items -->
<menu id="menu_File">
<menupopup id="menu_FilePopup" onpopupshowing="EditorInitFileMenu();">
<menu id="menu_New" class="menu-iconic">
<menupopup id="menu_NewPopup">
<menuitem id="menu_newEditor"/>
<menuseparator id="sep_NewPopup"/>
<menuitem id="menu_newNavigator"/>
<menuitem id="menu_newPrivateWindow"/>
</menupopup>
</menu>
<menuitem id="menu_openRemote"
label="&openRemoteCmd.label;"
accesskey="&openRemoteCmd.accesskey;"
key="key_openRemoteEditor"
command="cmd_openRemote"/>
<menuitem id="menu_openFile"
label="&openFileCmd.label;"
accesskey="&openFileCmd.accesskey;"
key="key_openEditor"
command="cmd_open"/>
<menu id="menu_RecentFiles"
label="&fileRecentMenu.label;"
accesskey="&fileRecentMenu.accesskey;"
onpopupshowing="BuildRecentPagesMenu();">
<menupopup id="menupopup_RecentFiles"
oncommand="editPage(event.target.getAttribute('value'),
event.target.getAttribute('fileType'));"/>
<!-- menuitems appended at runtime -->
</menu>
<menuitem id="menu_close" class="menuitem-iconic"/>
<menuseparator id="sep_close"/>
<menuitem id="menu_saveCmd"
accesskey="&saveCmd.accesskey;"
key="key_save"
command="cmd_save"
class="menuitem-iconic"/>
<menuitem id="menu_saveAsCmd"
label="&saveAsCmd.label;"
accesskey="&saveAsCmd.accesskey;"
command="cmd_saveAs"
class="menuitem-iconic"/>
<menuitem id="menu_saveAsChangeEncoding"
label="&saveAsChangeEncodingCmd2.label;"
accesskey="&saveAsChangeEncodingCmd2.accesskey;"
command="cmd_saveAndChangeEncoding"/>
<menuseparator id="sep_saveCmd"/>
<menuitem id="menu_publish"
accesskey="&publishCmd.accesskey;"
key="key_publish"
command="cmd_publish"/>
<menuitem id="menu_publishAs"
label="&publishAsCmd.label;"
accesskey="&publishAsCmd.accesskey;"
command="cmd_publishAs"/>
<menuseparator id="sep_publishAs"/>
<menuitem id="menu_fileRevert"
label="&fileRevert.label;"
accesskey="&fileRevert.accesskey;"
command="cmd_revert"/>
<menuseparator id="sep_print"/>
<!-- menuitems are merged in here from composerOverlay.xhtml -->
<menuitem id="menu_printSetup"/>
<menuitem id="menu_printPreview" class="menuitem-iconic"/>
<menuitem id="menu_print" class="menuitem-iconic"/>
<!-- The Exit/Quit item is merged from platformGlobalOverlay.xhtml -->
</menupopup>
</menu>
<!-- Edit menu items -->
<menupopup id="menu_EditPopup">
<menuitem id="menu_inlineSpellCheck"
oncommand="InlineSpellCheckerUI.enabled = !InlineSpellCheckerUI.enabled"
class="menuitem-iconic"/>
<menuitem id="menu_publishSettings"
insertafter="sep_preferences"
label="&publishSettings.label;"
accesskey="&publishSettings.accesskey;"
command="cmd_publishSettings"/>
</menupopup>
<menupopup id="menu_View_Popup">
<menu id="menu_zoom" insertbefore="charsetMenu"/>
</menupopup>
<menupopup id="insertMenuPopup">
<menu id="insertFormMenu"
insertafter="insertTOC"
label="&insertFormMenu.label;"
accesskey="&insertFormMenu.accesskey;">
<menupopup id="formMenuPopup">
<menuitem label="&insertFormCmd.label;"
accesskey="&insertFormCmd.accesskey;"
command="cmd_form"/>
<menuseparator/>
<menuitem label="&insertInputTagCmd.label;"
accesskey="&insertInputTagCmd.accesskey;"
command="cmd_inputtag"/>
<menuitem label="&insertInputImageCmd.label;"
accesskey="&insertInputImageCmd.accesskey;"
command="cmd_inputimage"/>
<menuitem label="&insertTextAreaCmd.label;"
accesskey="&insertTextAreaCmd.accesskey;"
command="cmd_textarea"/>
<menuitem label="&insertSelectCmd.label;"
accesskey="&insertSelectCmd.accesskey;"
command="cmd_select"/>
<menuitem label="&insertButtonCmd.label;"
accesskey="&insertButtonCmd.accesskey;"
command="cmd_button"/>
<menuitem label="&insertLabelCmd.label;"
accesskey="&insertLabelCmd.accesskey;"
command="cmd_label"/>
<menuitem label="&insertFieldSetCmd.label;"
accesskey="&insertFieldSetCmd.accesskey;"
command="cmd_fieldset"/>
</menupopup>
</menu>
</menupopup>
<!-- Toolbar buttons/items -->
<toolbarbutton id="newButton"
class="toolbarbutton-1"
label="&newToolbarCmd.label;"
removable="true"
command="cmd_newEditor"
tooltiptext="&newToolbarCmd.tooltip;"/>
<toolbarbutton id="openButton"
class="toolbarbutton-1"
label="&openToolbarCmd.label;"
removable="true"
command="cmd_open"
tooltiptext="&openToolbarCmd.tooltip;"/>
<toolbarbutton id="saveButton"
class="toolbarbutton-1"
removable="true"
command="cmd_save"
tooltiptext="&saveToolbarCmd.tooltip;"/>
<toolbarbutton id="publishButton"
class="toolbarbutton-1"
removable="true"
command="cmd_publish"
tooltiptext="&publishToolbarCmd.tooltip;"/>
<toolbarbutton id="print-button"
label="&printToolbarCmd.label;"
removable="true"
tooltiptext="&printToolbarCmd.tooltip;"/>
<!-- 'print-button' is merged in here from utilityOverlay.xhtml -->
<toolbarbutton id="formButton"
class="toolbarbutton-1"
removable="true"
label="&formToolbarCmd.label;"
command="cmd_form"
tooltiptext="&formToolbarCmd.tooltip;"/>
</overlay>