home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / nvu / nvu-1.0-cs-CZ.win32.installer.exe / chrome / toolkit.jar / content / global / dialogOverlay.xul < prev    next >
Extensible Markup Language  |  2003-08-16  |  3KB  |  53 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay SYSTEM "chrome://global/locale/dialogOverlay.dtd">
  4.  
  5. <overlay id="dialogOverlay"
  6.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8.   <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
  9.  
  10.   <hbox id="okCancelButtons">
  11.     <spacer flex="1"/>
  12.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  13.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  14.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  15.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  16.     <spacer flex="1"/>
  17.   </hbox>
  18.  
  19.   <hbox id="okCancelHelpButtons">
  20.     <spacer flex="1"/>
  21.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  22.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  23.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  24.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  25.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  26.     <spacer flex="1"/>
  27.   </hbox>
  28.  
  29.   <hbox id="okCancelButtonsRight">
  30.     <spacer flex="1"/>
  31.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/> 
  32.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/> 
  33.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/> 
  34.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  35.   </hbox>
  36.  
  37.   <hbox id="okCancelHelpButtonsRight">
  38.     <spacer flex="1"/>
  39.     <button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
  40.     <button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
  41.     <button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
  42.     <button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
  43.     <button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
  44.   </hbox>
  45.  
  46.   <keyset id="dialogKeys">
  47.     <key keycode="VK_ENTER" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  48.     <key keycode="VK_RETURN" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
  49.     <key keycode="VK_ESCAPE" oncommand="doCancelButton();"/>
  50.   </keyset>
  51.  
  52. </overlay>
  53.