home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / toolkit.jar / content / global / platformDialogOverlay.xul < prev    next >
Extensible Markup Language  |  2002-09-01  |  4KB  |  74 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 overlay SYSTEM "chrome://global-platform/locale/platformDialogOverlay.dtd">
  26.  
  27. <overlay id="platformDialogOverlay"
  28.              xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  29.  
  30.   <hbox id="okCancelButtons">
  31.     <spacer flex="1"/>
  32.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  33.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  34.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  35.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  36.     <spacer flex="1"/>
  37.   </hbox>
  38.  
  39.   <hbox id="okCancelHelpButtons">
  40.     <spacer flex="1"/>
  41.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  42.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  43.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  44.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  45.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  46.     <spacer flex="1"/>
  47.   </hbox>
  48.  
  49.  
  50.   <hbox id="okCancelButtonsRight">
  51.     <spacer flex="1"/>
  52.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  53.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  54.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  55.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  56.   </hbox>
  57.   
  58.   <hbox id="okCancelHelpButtonsRight">
  59.     <spacer flex="1"/>
  60.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  61.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  62.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  63.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  64.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  65.   </hbox>
  66.  
  67.   <keyset id="dialogKeys">
  68.     <key keycode="VK_ENTER" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  69.     <key keycode="VK_RETURN" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  70.     <key keycode="VK_ESCAPE" oncommand="doCancelButton();"/>
  71.  </keyset>
  72.  
  73. </overlay>    
  74.