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/. -->
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/menulist.css" type="text/css"?>
<!DOCTYPE dialog [
<!ENTITY % edFormProperties SYSTEM "chrome://editor/locale/EditorFormProperties.dtd">
%edFormProperties;
<!ENTITY % edDialogOverlay SYSTEM "chrome://editor/locale/EdDialogOverlay.dtd">
%edDialogOverlay;
]>
<dialog title="&windowTitle.label;"
onload="Startup();"
buttons="accept,cancel">
<!-- Methods common to all editor dialogs -->
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<groupbox>
<hbox class="groupbox-title">
<label class="header">&Settings.label;</label>
</hbox>
<grid><columns><column/><column/></columns>
<rows>
<row align="center">
<label control="FormName" value="&FormName.label;" accesskey="&FormName.accesskey;"/>
<textbox id="FormName"/>
</row>
<row align="center">
<label control="FormAction" value="&FormAction.label;" accesskey="&FormAction.accesskey;"/>
<textbox id="FormAction"/>
</row>
<row align="center">
<label control="FormMethod" value="&FormMethod.label;" accesskey="&FormMethod.accesskey;"/>
<hbox>
<menulist is="menulist-editable" id="FormMethod" editable="true" autoSelectMenuitem="true">
<menupopup>
<menuitem label="GET"/>
<menuitem label="POST"/>
</menupopup>
</menulist>
</hbox>
</row>
<hbox>
<button id="MoreFewerButton" oncommand="onMoreFewer();" persist="more"/>
</hbox>
<rows id="MoreSection">
<row align="center">
<label control="FormEncType" value="&FormEncType.label;" accesskey="&FormEncType.accesskey;"/>
<menulist is="menulist-editable" id="FormEncType" editable="true" autoSelectMenuitem="true">
<menupopup>
<menuitem label="application/x-www-form-urlencoded"/>
<menuitem label="multipart/form-data"/>
<menuitem label="text/plain"/>
</menupopup>
</menulist>
</row>
<row align="center">
<label control="FormTarget" value="&FormTarget.label;" accesskey="&FormTarget.accesskey;"/>
<menulist is="menulist-editable" id="FormTarget" editable="true" autoSelectMenuitem="true">
<menupopup>
<menuitem label="_blank"/>
<menuitem label="_self"/>
<menuitem label="_parent"/>
<menuitem label="_top"/>
</menupopup>
</menulist>
</row>
</rows>
</rows>
</grid>
</groupbox>
<!-- from EdDialogOverlay -->
<hbox flex="1" style="margin-top: 0.2em">
<button id="RemoveForm" label="&RemoveForm.label;" accesskey="&RemoveForm.accesskey;" oncommand="RemoveForm();"/>
<!-- This will right-align the button -->
<spacer flex="1"/>
<button id="AdvancedEditButton"
oncommand="onAdvancedEdit();"
label="&AdvancedEditButton.label;"
accesskey="&AdvancedEditButton.accessKey;"
tooltiptext="&AdvancedEditButton.tooltip;"/>
</hbox>
<separator class="groove"/>
</dialog>