openLocation.xul 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <!DOCTYPE dialog SYSTEM "chrome://browser/locale/openLocation.dtd">
  7. <dialog id="openLocation"
  8. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9. title="&caption.label;"
  10. onload="onLoad()"
  11. buttonlabelaccept="&openBtn.label;"
  12. buttoniconaccept="open"
  13. ondialogaccept="open()"
  14. style="width: 40em;"
  15. persist="screenX screenY"
  16. screenX="24" screenY="24">
  17. <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  18. <script type="application/javascript" src="chrome://browser/content/openLocation.js"/>
  19. <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
  20. <stringbundle id="openLocationBundle" src="chrome://browser/locale/openLocation.properties"/>
  21. <hbox>
  22. <separator orient="vertical" class="thin"/>
  23. <vbox flex="1">
  24. <description>&enter.label;</description>
  25. <separator class="thin"/>
  26. <hbox align="center">
  27. <textbox id="dialog.input" flex="1" type="autocomplete"
  28. completeselectedindex="true"
  29. autocompletesearch="urlinline history"
  30. enablehistory="true"
  31. class="uri-element"
  32. oninput="doEnabling();"/>
  33. <button label="&chooseFile.label;" oncommand="onChooseFile();"/>
  34. </hbox>
  35. <hbox align="center">
  36. <label value="&openWhere.label;"/>
  37. <menulist id="openWhereList">
  38. <menupopup>
  39. <menuitem value="0" id="currentWindow" label="&topTab.label;"/>
  40. <menuitem value="3" label="&newTab.label;"/>
  41. <menuitem value="1" label="&newWindow.label;"/>
  42. </menupopup>
  43. </menulist>
  44. <spacer flex="1"/>
  45. </hbox>
  46. </vbox>
  47. </hbox>
  48. </dialog>