home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EdDialogOverlay.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  90 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://editor/locale/EdDialogOverlay.dtd">
  4.  
  5. <!--
  6.    - The contents of this file are subject to the Netscape Public
  7.    - License Version 1.1 (the "License"); you may not use this file
  8.    - except in compliance with the License. You may obtain a copy of
  9.    - the License at http://www.mozilla.org/NPL/
  10.    -  
  11.    - Software distributed under the License is distributed on an "AS
  12.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  13.    - implied. See the License for the specific language governing
  14.    - rights and limitations under the License.
  15.    -  
  16.    - The Original Code is Mozilla Communicator client code, released
  17.    - March 31, 1998.
  18.    - 
  19.    - The Initial Developer of the Original Code is Netscape
  20.    - Communications Corporation. Portions created by Netscape are
  21.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  22.    - Rights Reserved.
  23.    - 
  24.    - Contributor(s): 
  25.   -->
  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 
  59.   id        = "ChooseFile" 
  60.   oncommand = "chooseFile()"
  61.   label     = "&chooseButton.label;"
  62.   accesskey = "&chooseFile.accessKey;"/>
  63.  
  64. <checkbox
  65.   id        = "MakeRelativeCheckbox"
  66.   label     = "&makeUrlRelative.label;"
  67.   accesskey = "&makeUrlRelative.accessKey;"
  68.   oncommand = "MakeInputValueRelativeOrAbsolute(this);"
  69.   tooltiptext = "&makeUrlRelative.tooltip;"/>
  70.  
  71. <vbox id="LinkLocationBox">
  72.   <label control="hrefInput" accesskey="&LinkURLEditField.accessKey;" width="1">&LinkURLEditField.label;</label>
  73.   <menulist editable="true" id="hrefInput" style="min-width: 30em" class="uri-element" oninput="ChangeLinkLocation();">
  74.     <menupopup/>
  75.   </menulist>
  76.   <hbox align="center">
  77.     <!-- from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
  78.     <checkbox id="MakeRelativeLink"
  79.               for="hrefInput"
  80.               label="&makeUrlRelative.label;"
  81.               accesskey="&makeUrlRelative.accessKey;"
  82.               oncommand="MakeInputValueRelativeOrAbsolute(this);"
  83.               tooltiptext="&makeUrlRelative.tooltip;"/>
  84.     <spacer flex="1"/>
  85.     <button label="&chooseButton.label;" accesskey="&chooseFileLink.accessKey;" oncommand="chooseLinkFile();"/>
  86.   </hbox>
  87. </vbox>  
  88.  
  89. </overlay>    
  90.