home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / EdDialogOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-09-24  |  2.6 KB  |  76 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:html="http://www.w3.org/1999/xhtml"
  29.      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  30.  
  31. <vbox id="AdvancedEdit"  flex="1">
  32.   <hbox flex="1" style="margin-top: 0.2em" autostretch="never">
  33.     <!-- This will right-align the button -->
  34.     <spring flex="1"/>
  35.     <button class="dialog" id="AdvancedEditButton1" oncommand="onAdvancedEdit()" label="&AdvancedEditButton.label;"
  36.             tooltip="aTooltip" tooltiptext="&AdvancedEditButton.tooltip;"/>
  37.   </hbox>
  38.   <separator class="groove"/>
  39. </vbox>
  40.  
  41. <!-- Extra buttons to use when just button is needed
  42.      E.g. Image Properties Dialog switches position between 2 locations
  43.      Placed here to use same attributes as AdvancedEditButton button
  44. -->
  45. <button
  46.   id        = "AdvancedEditButton"
  47.   class     = "dialog"
  48.   oncommand = "onAdvancedEdit();"
  49.   label     = "&AdvancedEditButton.label;"
  50.   tooltip   = "aTooltip" 
  51.   tooltiptext="&AdvancedEditButton.tooltip;"/>
  52.  
  53. <button 
  54.   id        = "AdvancedEditButton2" 
  55.   class     = "dialog" 
  56.   oncommand = "onAdvancedEdit()" 
  57.   label     = "&AdvancedEditButton.label;"
  58.   tooltip   = "aTooltip"
  59.   tooltiptext="&AdvancedEditButton.tooltip;"/>
  60.  
  61. <button 
  62.   id        = "ChooseFile" 
  63.   class     = "dialog" 
  64.   oncommand = "chooseFile()"
  65.   label     = "&chooseButton.label;"/>
  66.  
  67. <checkbox
  68.   id        = "MakeRelativeCheckbox"
  69.   label     = "&makeUrlRelative.label;"
  70.   oncommand = "MakeInputValueRelativeOrAbsolute()"
  71.   tooltip   = "aTooltip"
  72.   tooltiptext = "&makeUrlRelative.tooltip;"
  73.   style     = "margin-top: 0px"/>
  74.  
  75. </overlay>    
  76.