4
- The contents of this file are subject to the Netscape Public
5
- License Version 1.1 (the "License"); you may not use this file
6
- except in compliance with the License. You may obtain a copy of
7
- the License at http://www.mozilla.org/NPL/
9
- Software distributed under the License is distributed on an "AS
10
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
- implied. See the License for the specific language governing
12
- rights and limitations under the License.
14
- The Original Code is Mozilla Communicator client code, released
17
- The Initial Developer of the Original Code is Netscape
18
- Communications Corporation. Portions created by Netscape are
19
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
25
<!DOCTYPE overlay SYSTEM "chrome://editor/locale/EdDialogOverlay.dtd">
27
<overlay id="EdDialogOverlay"
28
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
30
<vbox id="AdvancedEdit">
31
<hbox flex="1" style="margin-top: 0.2em" align="center">
32
<!-- This will right-align the button -->
34
<button id="AdvancedEditButton1" oncommand="onAdvancedEdit()" label="&AdvancedEditButton.label;"
35
accesskey="&AdvancedEditButton.accessKey;" tooltiptext="&AdvancedEditButton.tooltip;"/>
37
<separator class="groove"/>
40
<!-- Extra buttons to use when just button is needed
41
E.g. Image Properties Dialog switches position between 2 locations
42
Placed here to use same attributes as AdvancedEditButton button
45
id = "AdvancedEditButton"
46
oncommand = "onAdvancedEdit();"
47
label = "&AdvancedEditButton.label;"
48
accesskey = "&AdvancedEditButton.accessKey;"
49
tooltiptext="&AdvancedEditButton.tooltip;"/>
52
id = "AdvancedEditButton2"
53
oncommand = "onAdvancedEdit()"
54
label = "&AdvancedEditButton.label;"
55
accesskey = "&AdvancedEditButton.accessKey;"
56
tooltiptext="&AdvancedEditButton.tooltip;"/>
58
<!-- button // Kaze: replaced by a toolbar button
60
oncommand = "chooseFile()"
61
label = "&chooseButton.label;"
62
accesskey = "&chooseFile.accessKey;"/ -->
65
oncommand = "chooseFile()"
66
style = "list-style-image: url(chrome://editor/skin/icons/filePicker.gif);"
67
tooltiptext= "&chooseButton.label;"
68
accesskey = "&chooseFile.accessKey;"/>
71
id = "MakeRelativeCheckbox"
72
label = "&makeUrlRelative.label;"
73
accesskey = "&makeUrlRelative.accessKey;"
74
oncommand = "MakeInputValueRelativeOrAbsolute(this);"
75
tooltiptext = "&makeUrlRelative.tooltip;"/>
77
<vbox id="LinkLocationBox">
78
<label control="hrefInput" accesskey="&LinkURLEditField.accessKey;" width="1">&LinkURLEditField.label;</label>
81
<textbox id="hrefInput" type="autocomplete" flex="1"
82
searchSessions="history" timeout="50" maxrows="6"
83
disablehistory="false" class="uri-element"
84
oninput="ChangeLinkLocation();">
85
<menupopup class="autocomplete-history-popup"
86
popupalign="topleft" popupanchor="bottomleft"
87
oncommand="this.parentNode.value = event.target.getAttribute('label');"/>
90
<toolbarbutton tooltiptext="&chooseButton.label;" accesskey="&chooseFileLink.accessKey;" oncommand="chooseLinkFile();"
91
style="list-style-image: url(chrome://editor/skin/icons/filePicker.gif);"/>
93
<checkbox id="IsMailAddress"
95
label="&isMailAddress.label;" />
96
<!-- <hbox align="center">
97
from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
98
<checkbox id="MakeRelativeLink"
100
label="&makeUrlRelative.label;"
101
accesskey="&makeUrlRelative.accessKey;"
102
oncommand="MakeInputValueRelativeOrAbsolute(this);"
103
tooltiptext="&makeUrlRelative.tooltip;"/>
104
<!-- <spacer flex="1"/>
105
button label="&chooseButton.label;" accesskey="&chooseFileLink.accessKey;" oncommand="chooseLinkFile();"/