~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/editor/ui/dialogs/content/EdDialogOverlay.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> 
 
2
 
 
3
<!--
 
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/
 
8
   -  
 
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.
 
13
   -  
 
14
   - The Original Code is Mozilla Communicator client code, released
 
15
   - March 31, 1998.
 
16
   - 
 
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
 
20
   - Rights Reserved.
 
21
   - 
 
22
   - Contributor(s): 
 
23
  -->
 
24
 
 
25
<!DOCTYPE overlay SYSTEM "chrome://editor/locale/EdDialogOverlay.dtd">
 
26
 
 
27
<overlay id="EdDialogOverlay"
 
28
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
29
 
 
30
<vbox id="AdvancedEdit">
 
31
  <hbox flex="1" style="margin-top: 0.2em" align="center">
 
32
    <!-- This will right-align the button -->
 
33
    <spacer flex="1"/>
 
34
    <button id="AdvancedEditButton1" oncommand="onAdvancedEdit()" label="&AdvancedEditButton.label;"
 
35
            accesskey="&AdvancedEditButton.accessKey;" tooltiptext="&AdvancedEditButton.tooltip;"/>
 
36
  </hbox>
 
37
  <separator class="groove"/>
 
38
</vbox>
 
39
 
 
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
 
43
-->
 
44
<button
 
45
  id        = "AdvancedEditButton"
 
46
  oncommand = "onAdvancedEdit();"
 
47
  label     = "&AdvancedEditButton.label;"
 
48
  accesskey = "&AdvancedEditButton.accessKey;"
 
49
  tooltiptext="&AdvancedEditButton.tooltip;"/>
 
50
 
 
51
<button 
 
52
  id        = "AdvancedEditButton2" 
 
53
  oncommand = "onAdvancedEdit()" 
 
54
  label     = "&AdvancedEditButton.label;"
 
55
  accesskey = "&AdvancedEditButton.accessKey;"
 
56
  tooltiptext="&AdvancedEditButton.tooltip;"/>
 
57
 
 
58
<!-- button // Kaze: replaced by a toolbar button
 
59
  id        = "ChooseFile" 
 
60
  oncommand = "chooseFile()"
 
61
  label     = "&chooseButton.label;"
 
62
  accesskey = "&chooseFile.accessKey;"/ -->
 
63
<toolbarbutton 
 
64
  id        = "ChooseFile" 
 
65
  oncommand = "chooseFile()"
 
66
  style     = "list-style-image: url(chrome://editor/skin/icons/filePicker.gif);"
 
67
  tooltiptext= "&chooseButton.label;"
 
68
  accesskey = "&chooseFile.accessKey;"/>
 
69
 
 
70
<checkbox
 
71
  id        = "MakeRelativeCheckbox"
 
72
  label     = "&makeUrlRelative.label;"
 
73
  accesskey = "&makeUrlRelative.accessKey;"
 
74
  oncommand = "MakeInputValueRelativeOrAbsolute(this);"
 
75
  tooltiptext = "&makeUrlRelative.tooltip;"/>
 
76
 
 
77
<vbox id="LinkLocationBox">
 
78
  <label control="hrefInput" accesskey="&LinkURLEditField.accessKey;" width="1">&LinkURLEditField.label;</label>
 
79
  <hbox>
 
80
    <vbox flex="1">
 
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');"/>
 
88
      </textbox>
 
89
    </vbox>
 
90
    <toolbarbutton tooltiptext="&chooseButton.label;" accesskey="&chooseFileLink.accessKey;" oncommand="chooseLinkFile();"
 
91
      style="list-style-image: url(chrome://editor/skin/icons/filePicker.gif);"/>
 
92
  </hbox>
 
93
  <checkbox id="IsMailAddress"
 
94
            for="hrefInput"
 
95
            label="&isMailAddress.label;" />
 
96
  <!-- <hbox align="center">
 
97
    from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
 
98
    <checkbox id="MakeRelativeLink"
 
99
              for="hrefInput"
 
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();"/
 
106
  </hbox> -->
 
107
</vbox>  
 
108
 
 
109
</overlay>