home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / toolkit.jar / content / global / platformDialogOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-04  |  3.8 KB  |  75 lines

  1. <?xml version="1.0"?> 
  2. <!-- The contents of this file are subject to the Netscape Public
  3.    - License Version 1.1 (the "License"); you may not use this file
  4.    - except in compliance with the License. You may obtain a copy of
  5.    - the License at http://www.mozilla.org/NPL/
  6.    - 
  7.    - Software distributed under the License is distributed on an "AS
  8.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.    - implied. See the License for the specific language governing
  10.    - rights and limitations under the License.
  11.    - 
  12.    - The Original Code is Mozilla Communicator client code, released
  13.    - March 31, 1998.
  14.    - 
  15.    - The Initial Developer of the Original Code is Netscape
  16.    - Communications Corporation. Portions created by Netscape are
  17.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.    - Rights Reserved.
  19.    - 
  20.    - Contributor(s):
  21.    -->
  22.  
  23. <!-- win version of platformDialogOverlay.xul -->
  24.  
  25. <!DOCTYPE window SYSTEM "chrome://global-platform/locale/platformDialogOverlay.dtd">
  26.  
  27. <overlay id="platformDialogOverlay"
  28.              xmlns:html="http://www.w3.org/1999/xhtml"
  29.              xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  30.  
  31.   <hbox id="okCancelButtons">
  32.     <spring flex="1"/>
  33.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  34.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  35.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  36.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  37.     <spring flex="1"/>
  38.   </hbox>
  39.  
  40.   <hbox id="okCancelHelpButtons">
  41.     <spring flex="1"/>
  42.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  43.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  44.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  45.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  46.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  47.     <spring flex="1"/>
  48.   </hbox>
  49.  
  50.  
  51.   <hbox id="okCancelButtonsRight">
  52.     <spring flex="1"/>
  53.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  54.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  55.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  56.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  57.   </hbox>
  58.   
  59.   <hbox id="okCancelHelpButtonsRight">
  60.     <spring flex="1"/>
  61.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  62.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  63.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  64.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  65.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  66.   </hbox>
  67.  
  68.   <keyset id="dialogKeys">
  69.     <key keycode="VK_ENTER" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  70.     <key keycode="VK_RETURN" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  71.     <key keycode="VK_ESCAPE" oncommand="doCancelButton();"/>
  72.  </keyset>
  73.  
  74. </overlay>    
  75.