1999-09-01 23:58:25 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
- The contents of this file are subject to the Netscape 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/NPL/
|
|
|
|
-
|
|
|
|
- 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 Mozilla Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Netscape
|
|
|
|
- Communications Corporation. Portions created by Netscape are
|
|
|
|
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
1999-12-02 13:22:31 +03:00
|
|
|
- Ben "Count XULula" Goodger
|
1999-09-01 23:58:25 +04:00
|
|
|
-->
|
|
|
|
|
1999-12-31 14:53:03 +03:00
|
|
|
<!-- first checkin of the year 2000! -->
|
|
|
|
<!-- Ben Goodger, 12:50AM, 01/00/00 NZST -->
|
1999-09-01 23:58:25 +04:00
|
|
|
|
2000-04-20 01:42:30 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
1999-09-01 23:58:25 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
|
|
|
|
1999-09-08 03:49:46 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
1999-09-01 23:58:25 +04:00
|
|
|
<!-- May not need this here -->
|
|
|
|
<!-- <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> -->
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EdAdvancedEdit.dtd">
|
1999-09-08 03:49:46 +04:00
|
|
|
<window class="dialog" title="&WindowTitle.label;"
|
2000-08-28 08:38:20 +04:00
|
|
|
style="width: 40em;"
|
1999-09-08 03:49:46 +04:00
|
|
|
xmlns ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2001-10-11 00:07:06 +04:00
|
|
|
buttonpack="end"
|
2000-08-28 08:38:20 +04:00
|
|
|
onload="Startup()"
|
2001-10-11 00:07:06 +04:00
|
|
|
onunload="onCancel()"
|
2000-04-21 19:00:23 +04:00
|
|
|
orient="vertical">
|
1999-09-01 23:58:25 +04:00
|
|
|
|
2001-04-05 23:53:13 +04:00
|
|
|
<keyset id="dialogKeys"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
<popupset id="aTooltipSet" />
|
2000-05-25 09:56:25 +04:00
|
|
|
|
1999-12-02 13:22:31 +03:00
|
|
|
<!-- Methods common to all editor dialogs -->
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
1999-12-02 13:22:31 +03:00
|
|
|
<!-- element page functions -->
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdAEHTMLAttributes.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdAECSSAttributes.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdAEJSEAttributes.js"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdAEAttributes.js"/>
|
1999-09-30 01:45:50 +04:00
|
|
|
|
2001-06-13 05:04:39 +04:00
|
|
|
<!-- global dialog functions -->
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdAdvancedEdit.js"/>
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
2001-06-28 17:48:52 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
1999-09-01 23:58:25 +04:00
|
|
|
|
1999-12-02 13:22:31 +03:00
|
|
|
<broadcaster id="args" value=""/>
|
1999-09-02 05:47:18 +04:00
|
|
|
|
2001-10-11 00:07:06 +04:00
|
|
|
<hbox>
|
2000-05-25 09:56:25 +04:00
|
|
|
<text class="label" value="¤tattributesfor.label;"/>
|
|
|
|
<text class="label header" id="tagLabel"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2000-05-25 09:56:25 +04:00
|
|
|
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
2001-09-23 11:16:02 +04:00
|
|
|
<tabbox flex="1">
|
2001-04-18 10:59:04 +04:00
|
|
|
<tabs>
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab label="&tabHTML.label;"/>
|
|
|
|
<tab label="&tabCSS.label;"/>
|
Fixed Advanced Editor dialog bugs (fixed warnings, user input filter rules, dynamic value menulist for particular attributes): bugs 86710, 86712, 86713, 86934, 88878, 88888, 88917, 88923, 88930, 88935, 89445, 92554 (includes help from stephend), r=brade (86713=rcassin, 92554=glazman), sr=kin; fix to 95085 by neil@parkwayscc.co.uk, r=cmanske, sr=kin
2001-08-18 02:41:52 +04:00
|
|
|
<tab label="&tabJSE.label;" id="tabJSE"/>
|
2001-04-18 10:59:04 +04:00
|
|
|
</tabs>
|
|
|
|
<tabpanels flex="1">
|
1999-12-02 13:22:31 +03:00
|
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- HTML Attributes -->
|
|
|
|
<!-- ============================================================== -->
|
2001-07-09 22:41:07 +04:00
|
|
|
<vbox flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<tree id="HTMLATree"
|
|
|
|
class="AttributesTree inset"
|
|
|
|
flex="1"
|
2001-06-13 05:04:39 +04:00
|
|
|
onselect="onSelectHTMLTreeItem();"
|
|
|
|
onclick="onSelectHTMLTreeItem();"
|
|
|
|
ondblclick="editHTMLAttributeValue(event.target);">
|
|
|
|
<treecolgroup>
|
2000-09-12 04:35:42 +04:00
|
|
|
<treecol flex="35" width="0"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol flex="65" width="0"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
</treecolgroup>
|
2000-09-12 04:35:42 +04:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
2001-06-13 05:04:39 +04:00
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.attributeHeader.label;"/>
|
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.valueHeader.label;"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
|
|
|
<treechildren id="HTMLAList" flex="1"/>
|
|
|
|
</tree>
|
2001-10-11 00:07:06 +04:00
|
|
|
<hbox align="center" flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" value="&editAttribute.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-10-11 00:07:06 +04:00
|
|
|
<button label="&removeAttribute.label;" oncommand="RemoveHTMLAttribute();"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2001-06-13 05:04:39 +04:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column flex="1"/><column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row equalsize="always">
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" for="AddHTMLAttributeNameInput" value="&AttName.label;"/>
|
|
|
|
<text class="label" for="AddHTMLAttributeValueInput" value="&AttValue.label;"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center" equalsize="always">
|
2001-06-13 05:04:39 +04:00
|
|
|
<!-- Lists are built at runtime -->
|
|
|
|
<menulist id="AddHTMLAttributeNameInput" editable="true" flex="1"
|
|
|
|
oninput="onInputHTMLAttributeName();"
|
|
|
|
onchange="onChangeHTMLAttribute();"/>
|
2001-10-21 07:59:20 +04:00
|
|
|
<deck id="AddHTMLAttributeValueDeck" flex="1" selectedIndex="0">
|
2001-06-13 05:04:39 +04:00
|
|
|
<textbox id="AddHTMLAttributeValueTextbox" flex="1"
|
|
|
|
oninput="onInputHTMLAttributeValue();"/>
|
|
|
|
<menulist id="AddHTMLAttributeValueMenulist" editable="true" flex="1"
|
|
|
|
oninput="onInputHTMLAttributeValue();"/>
|
|
|
|
</deck>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2001-07-09 22:41:07 +04:00
|
|
|
</vbox>
|
1999-12-02 13:22:31 +03:00
|
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- CSS Attributes -->
|
|
|
|
<!-- ============================================================== -->
|
2001-07-09 22:41:07 +04:00
|
|
|
<vbox flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<tree id="CSSATree" class="AttributesTree inset" flex="1"
|
2001-06-13 05:04:39 +04:00
|
|
|
onselect="onSelectCSSTreeItem();"
|
|
|
|
onclick="onSelectCSSTreeItem();"
|
|
|
|
ondblclick="editCSSAttributeValue(event.target);">
|
2000-09-12 04:35:42 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="35" width="0"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol flex="65" width="0"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treehead>
|
|
|
|
<treerow>
|
Fixed Advanced Editor dialog bugs (fixed warnings, user input filter rules, dynamic value menulist for particular attributes): bugs 86710, 86712, 86713, 86934, 88878, 88888, 88917, 88923, 88930, 88935, 89445, 92554 (includes help from stephend), r=brade (86713=rcassin, 92554=glazman), sr=kin; fix to 95085 by neil@parkwayscc.co.uk, r=cmanske, sr=kin
2001-08-18 02:41:52 +04:00
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.propertyHeader.label;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.valueHeader.label;"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
|
|
|
<treechildren id="CSSAList" flex="1"/>
|
|
|
|
</tree>
|
2001-10-11 00:07:06 +04:00
|
|
|
<hbox align="center" flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" value="&editAttribute.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-10-11 00:07:06 +04:00
|
|
|
<button label="&removeAttribute.label;" oncommand="RemoveCSSAttribute();"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2001-06-13 05:04:39 +04:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column flex="1"/><column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row equalsize="always">
|
Fixed Advanced Editor dialog bugs (fixed warnings, user input filter rules, dynamic value menulist for particular attributes): bugs 86710, 86712, 86713, 86934, 88878, 88888, 88917, 88923, 88930, 88935, 89445, 92554 (includes help from stephend), r=brade (86713=rcassin, 92554=glazman), sr=kin; fix to 95085 by neil@parkwayscc.co.uk, r=cmanske, sr=kin
2001-08-18 02:41:52 +04:00
|
|
|
<text class="label" for="AddCSSAttributeNameInput" value="&PropertyName.label;"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" for="AddCSSAttributeValueInput" value="&AttValue.label;"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row equalsize="always">
|
2001-06-13 05:04:39 +04:00
|
|
|
<textbox id="AddCSSAttributeNameInput" flex="1"
|
|
|
|
oninput="onInputCSSAttributeName();"
|
|
|
|
onchange="onChangeCSSAttribute();"/>
|
|
|
|
<textbox id="AddCSSAttributeValueInput" flex="1"
|
2001-10-17 01:51:12 +04:00
|
|
|
oninput="onChangeCSSAttribute();"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2001-07-09 22:41:07 +04:00
|
|
|
</vbox>
|
1999-12-02 13:22:31 +03:00
|
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- JavaScript Event Handlers -->
|
|
|
|
<!-- ============================================================== -->
|
2001-07-09 22:41:07 +04:00
|
|
|
<vbox flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<tree id="JSEATree" class="AttributesTree inset" flex="1"
|
2001-06-13 05:04:39 +04:00
|
|
|
onselect="onSelectJSETreeItem();"
|
|
|
|
onclick="onSelectJSETreeItem();"
|
|
|
|
ondblclick="editJSEAttributeValue(event.target);">
|
2000-09-12 04:35:42 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="35" width="0"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol flex="65" wdith="0"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treehead>
|
|
|
|
<treerow>
|
2001-03-22 03:59:29 +03:00
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.attributeHeader.label;"/>
|
|
|
|
<treecell class="treecell-header treecell-inset-header" label="&tree.valueHeader.label;"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
|
|
|
<treechildren id="JSEAList" flex="1"/>
|
|
|
|
</tree>
|
2001-10-11 00:07:06 +04:00
|
|
|
<hbox align="center" flex="1">
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" value="&editAttribute.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-10-11 00:07:06 +04:00
|
|
|
<button label="&removeAttribute.label;" oncommand="RemoveJSEAttribute()"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2001-06-13 05:04:39 +04:00
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column flex="1"/><column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row equalsize="always">
|
2001-06-13 05:04:39 +04:00
|
|
|
<text class="label" for="AddJSEAttributeNameList" value="&AttName.label;"/>
|
2000-09-12 04:35:42 +04:00
|
|
|
<text class="label" for="AddJSEAttributeValueInput" value="&AttValue.label;"/>
|
2001-06-13 05:04:39 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center" equalsize="always">
|
2001-06-13 05:04:39 +04:00
|
|
|
<!-- List is built at runtime -->
|
|
|
|
<menulist id="AddJSEAttributeNameList" flex="1"
|
|
|
|
oncommand="onSelectJSEAttribute();"/>
|
|
|
|
<textbox id="AddJSEAttributeValueInput" flex="1"
|
|
|
|
oninput="onInputJSEAttributeValue();"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2001-07-09 22:41:07 +04:00
|
|
|
</vbox>
|
2001-04-18 10:59:04 +04:00
|
|
|
</tabpanels>
|
|
|
|
</tabbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer class="spacer"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox id="okCancelHelpButtonsRight"/>
|
2000-05-25 09:56:25 +04:00
|
|
|
|
1999-09-08 03:49:46 +04:00
|
|
|
</window>
|