Mozilla/mozilla/editor/ui/dialogs/content/EdSelectProps.xul
heikki%netscape.com 10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +00:00

179 lines
7.5 KiB
XML

<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla 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/MPL/
-
- 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 Selection List Properties Dialog.
-
- The Initial Developer of the Original Code is
- Neil Rashbrook.
- Portions created by the Initial Developer are Copyright (C) 2001
- the Initial Developer. All Rights Reserved.
-
- Contributor(s): Neil Rashbrook <neil@parkwaycc.co.uk>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorSelectProperties.dtd">
<dialog title="&windowTitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Startup();"
buttons="accept,cancel"
ondialogaccept="return onAccept();"
ondialogcancel="return onCancel();">
<!-- Methods common to all editor dialogs -->
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EdSelectProps.js"/>
<broadcaster id="args" value=""/>
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<!-- Setting rows="7" on tree isn't working, equalsize vbox sets tree height. -->
<vbox equalsize="always">
<tree id="SelectTree" class="inset" height="0" onselect="onTreeSelect(event);" onkeyup="onTreeKeyUp(event);">
<treecolgroup id="SelectCols" flex="1">
<treecol flex="3"/>
<treecol flex="2"/>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header treecell-inset-header" label="&TextHeader.label;"/>
<treecell class="treecell-header treecell-inset-header" label="&ValueHeader.label;"/>
<treecell class="treecell-header treecell-inset-header" label="&SelectedHeader.label;"/>
</treerow>
</treehead>
<treechildren flex="1" onclick="onTreeClicked(event);">
<treeitem id="SelectItem" container="true" empty="true" open="true" index="0">
<treerow>
<treecell id="SelectCell"/>
<treecell style="visibility: hidden;">
<checkbox/>
</treecell>
</treerow>
<treechildren id="SelectChildren"/>
</treeitem>
</treechildren>
</tree>
<hbox flex="1">
<deck orient="vertical" flex="1" id="SelectDeck" index="0">
<groupbox orient="vertical" flex="1"><caption label="&Select.label;"/>
<grid flex="1"><columns><column flex="1"/><column/></columns>
<rows>
<row align="center">
<label value="&SelectName.label;"/>
<textbox id="SelectName" flex="1" oninput="onNameInput();" onchange="onNameChange();"/>
</row>
<row align="center">
<label value="&SelectSize.label;"/>
<hbox>
<textbox id="SelectSize" class="narrow" oninput="forceInteger(this.id);"/>
</hbox>
</row>
<row>
<spacer/>
<checkbox id="SelectMultiple" flex="1" label="&SelectMultiple.label;" oncommand="onSelectMultipleClick();"/>
</row>
<row>
<spacer/>
<checkbox id="SelectDisabled" flex="1" label="&SelectDisabled.label;"/>
</row>
<row align="center">
<label value="&SelectTabIndex.label;"/>
<hbox>
<textbox id="SelectTabIndex" class="narrow" oninput="forceInteger(this.id);"/>
</hbox>
</row>
</rows>
</grid>
</groupbox>
<groupbox flex="1"><caption label="&OptGroup.label;"/>
<grid flex="1"><columns><column flex="1"/><column/></columns>
<rows>
<row align="center">
<label value="&OptGroupLabel.label;"/>
<textbox id="OptGroupLabel" oninput="onLabelInput();" onchange="onLabelChange();"/>
</row>
<row>
<spacer/>
<checkbox id="OptGroupDisabled" label="&OptGroupDisabled.label;"/>
</row>
</rows>
</grid>
</groupbox>
<groupbox flex="1"><caption label="&Option.label;"/>
<grid flex="1"><columns><column flex="1"/><column/></columns>
<rows>
<row align="center">
<label value="&OptionText.label;"/>
<textbox id="OptionText" oninput="onTextInput();" onchange="onTextChange();"/>
</row>
<row align="center">
<checkbox id="OptionHasValue" label="&OptionValue.label;" oncommand="onHasValueClick();"/>
<textbox id="OptionValue" oninput="onValueInput();" onchange="onValueChange();"/>
</row>
<row>
<spacer/>
<checkbox id="OptionSelected" label="&OptionSelected.label;" oncommand="currentObject.onSpace();"/>
</row>
<row>
<spacer/>
<checkbox id="OptionDisabled" label="&OptionDisabled.label;"/>
</row>
</rows>
</grid>
</groupbox>
</deck>
<vbox>
<button label="&AddOption.label;" oncommand="AddOption();"/>
<button label="&AddOptGroup.label;" oncommand="AddOptGroup();"/>
<button label="&RemoveElement.label;" oncommand="RemoveElement();"
id="RemoveButton" disabled="true"/>
<button label="&MoveElementUp.label;" oncommand="currentObject.moveUp();"
id="PreviousButton" disabled="true" type="row"/>
<button label="&MoveElementDown.label;" oncommand="currentObject.moveDown();"
id="NextButton" disabled="true" type="row"/>
<spacer flex="1"/>
<button id="AdvancedEditButton"/>
</vbox>
</hbox>
</vbox>
<separator class="groove"/>
</dialog>