home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / toolkit.jar / content / global / customizeToolbar.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  2KB  |  60 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://browser/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.  
  13. <window id="CustomizeToolbarWindow"
  14.         title="&dialog.title;"
  15.         onload="onLoad();"
  16.         onunload="onUnload();"
  17.         onclose="onAccept(); return false;"
  18.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  19.  
  20. <script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
  21. <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  22. <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  23.  
  24. <stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
  25.  
  26. <vbox id="main-box" flex="1" collapsed="true">
  27.   <description id="instructions">
  28.   &instructions.description;
  29.   </description>
  30.  
  31.   <vbox flex="1" id="palette-box"
  32.         ondraggesture="gDraggingFromPalette = true; nsDragAndDrop.startDrag(event, dragStartObserver);"
  33.         ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
  34.         ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
  35.  
  36.   <box align="center">
  37.     <label value="&show.label;"/>
  38.     <menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
  39.       <menupopup>
  40.         <menuitem value="full" label="&iconsAndText.label;"/>
  41.         <menuitem value="icons" label="&icons.label;"/>
  42.         <menuitem value="text" label="&text.label;"/>
  43.       </menupopup>
  44.     </menulist>
  45.     
  46.     <checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/>
  47.     
  48.     <button label="&addNewToolbar.label;" oncommand="addNewToolbar();"/>
  49.     <button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
  50.   </box>
  51.  
  52.   <separator class="groove"/>
  53.  
  54.   <hbox align="center" pack="end">
  55.     <button label="&saveChanges.label;" oncommand="onAccept();" default="true"/>
  56.   </hbox>
  57. </vbox>
  58.  
  59. </window>
  60.