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 / customizeToolbar.xul < prev    next >
Extensible Markup Language  |  2005-01-26  |  2KB  |  63 lines

  1. <?xml version="1.0"?> 
  2.  
  3.  
  4. <!DOCTYPE dialog [
  5. <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
  6.   %customizeToolbarDTD;
  7. ]>
  8.  
  9. <?xml-stylesheet href="chrome://editor/skin/" type="text/css"?> 
  10. <?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?>
  11. <?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?>
  12. <?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
  13. <?xml-stylesheet href="chrome://editor/skin/editorFormatToolbar.css" type="text/css"?>
  14.  
  15. <window id="CustomizeToolbarWindow"
  16.         title="&dialog.title;"
  17.         onload="onLoad();"
  18.         onunload="onUnload();"
  19.         onclose="onAccept(); return false;"
  20.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  21.  
  22. <script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
  23. <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  24. <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  25.  
  26. <stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
  27.  
  28. <vbox id="main-box" flex="1" collapsed="true">
  29.   <description id="instructions">
  30.   &instructions.description;
  31.   </description>
  32.  
  33.   <vbox flex="1" id="palette-box"
  34.         ondraggesture="gDraggingFromPalette = true; nsDragAndDrop.startDrag(event, dragStartObserver);"
  35.         ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
  36.         ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
  37.  
  38.   <box align="center">
  39.     <label id="modelabel" value="&show.label;"/>
  40.     <menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
  41.       <menupopup>
  42.         <menuitem value="full" label="&iconsAndText.label;"/>
  43.         <menuitem value="icons" label="&icons.label;"/>
  44.         <menuitem value="text" label="&text.label;"/>
  45.       </menupopup>
  46.     </menulist>
  47.     
  48.     <checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/>
  49.     <spacer flex="1"/>
  50.  
  51.     <button id="newtoolbars" label="&addNewToolbar.label;" oncommand="addNewToolbar();"/>
  52.     <button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
  53.   </box>
  54.  
  55.   <separator class="groove"/>
  56.  
  57.   <hbox align="center" pack="end">
  58.     <button label="&saveChanges.label;" oncommand="onAccept();" default="true"/>
  59.   </hbox>
  60. </vbox>
  61.  
  62. </window>
  63.