86 lines
3.6 KiB
XML

<?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):
-->
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorLinkProperties.dtd">
<window title="&windowTitle.label;"
class="dialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40"
onload = "Startup()"
align="vertical" >
<html:script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js"/>
<html:script language="JavaScript" src="chrome://editor/content/EdLinkProps.js"/>
<html:script language="JavaScript" src="chrome://global/content/dialogOverlay.js" />
<broadcaster id="args" value=""/>
<keyset id="keyset"/>
<box align="vertical" style="min-width: 20em">
<text id="linkTextCaption" value="&LinkTitle.label;" align="left" valign="bottom"/>
<text id="linkTextMessage" style="min-width: 200px;" align="left"/>
<html:input type="text" id="linkTextInput"/>
<spring class="spacer"/>
<titledbox orient="vertical"><title><text value="&LinkURLBox.label;"/></title>
<text align="left" value="&LinkURLEditField.label;"/>
<spring class="spacer"/>
<box autostretch="never" valign="middle">
<html:input type="text" style="min-width: 200px; margin-left:2px; margin-right:2px" id="hrefInput"></html:input>
<spring class="spacer"/>
<!-- from EdDialogOverlay.xul -->
<!-- The style: width setting is need to cover a bug in button width resizing when text changes -->
<titledbutton id="ChooseFile" style="width: 7em"/>
</box>
<spring class="spacer"/>
<box>
<titledbutton class="push" id="MoreFewerButton" align="left" onclick="onMoreFewer()" persist="more"/>
<spring flex="1"/>
<titledbutton class="push" id="RemoveLink" onclick="RemoveLink()" value="&RemoveLinkButton.label;" style="width: 7em"/>
</box>
<box id="MoreSection" align="vertical">
<spring class="bigspacer"/>
<text align="left" value="&NamedAnchorMsg.label;"/>
<html:select id="NamedAnchorList" size="3" onchange="SelectNamedAnchor()"/>
<spring class="spacer"/>
<text align="left" value="&HeadingMsg.label;"/>
<html:select id="HeadingsList" size="3" onchange="SelectHeading()"/>
<!-- Use div so it can wrap -->
<html:div>&HeadingMsg2.label;</html:div>
</box>
</titledbox>
</box>
<!-- from EdDialogOverlay -->
<box id="AdvancedEdit"/>
<!-- from global dialogOverlay -->
<box id="okCancelButtons"/>
</window>