home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / communicator / openLocation.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-06  |  3.6 KB  |  98 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!-- 
  4.   The contents of this file are subject to the Netscape Public
  5.   License Version 1.1 (the "License"); you may not use this file
  6.   except in compliance with the License. You may obtain a copy of
  7.   the License at http://www.mozilla.org/NPL/
  8.   
  9.   Software distributed under the License is distributed on an "AS
  10.   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.   implied. See the License for the specific language governing
  12.   rights and limitations under the License.
  13.   
  14.   The Original Code is Mozilla Communicator client code, released
  15.   March 31, 1998.
  16.   
  17.   The Initial Developer of the Original Code is Netscape
  18.   Communications Corporation. Portions created by Netscape are
  19.   Copyright (C) 1998-1999 Netscape Communications Corporation. All
  20.   Rights Reserved.
  21.   
  22.   Contributor(s): 
  23.     Ben Goodger <ben@netscape.com>
  24.     Michael Lowe <michael.lowe@bigfoot.com> 
  25.  
  26. -->
  27.  
  28. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  29. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  30.  
  31. <!DOCTYPE window [
  32.   <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  33.   %brandDTD;
  34.   <!ENTITY % openDialogDTD SYSTEM "chrome://communicator/locale/openLocation.dtd" >
  35.   %openDialogDTD;
  36. ]>            
  37.  
  38. <window id="openLocation"
  39.         xmlns:html="http://www.w3.org/1999/xhtml"
  40.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  41.         title="&caption.label;"
  42.         onload="onLoad()"
  43.         style="width: 40em;"
  44.         class="dialog"
  45.         orient="vertical"
  46.         persist="screenX screenY"
  47.         screenX="24" screenY="24">
  48.               
  49.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>  
  50.   <script type="application/x-javascript" src="chrome://communicator/content/openLocation.js"/>
  51.   <script type="application/x-javascript" src="chrome://communicator/content/utilityOverlay.js"/>
  52.   <script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
  53.   
  54.   <stringbundle id="openLocationBundle" src="chrome://communicator/locale/openLocation.properties"/>
  55.   <keyset id="dialogKeys"/>
  56.  
  57.   <hbox>
  58.     <vbox>
  59.       <image class="question-icon"/>
  60.       <spring flex="1"/>
  61.     </vbox>
  62.     <separator orient="vertical" class="thin"/>
  63.     <vbox flex="1">
  64.       <html>&enter.label;</html>
  65.       <separator class="thin"/>
  66.  
  67.       <hbox align="center">
  68.         <textbox id="dialog.input" flex="1" type="autocomplete"
  69.                     searchSessions="history" timeout="50" maxrows="6"
  70.                     oninput="doEnabling();">
  71.           <menupopup id="ubhist-popup" class="autocomplete-history-popup"
  72.                      popupalign="topleft" popupanchor="bottomleft"
  73.                      onpopupshowing="createUBHistoryMenu(event.target);"
  74.                      oncommand="useUBHistoryItem(event.target)"/>
  75.         </textbox>
  76.         <button label="&chooseFile.label;" oncommand="onChooseFile();"/>
  77.       </hbox>
  78.       <hbox align="center">
  79.         <text class="label" value="&openWhere.label;"/>
  80.         <menulist id="openAppList">
  81.           <menupopup>
  82.             <menuitem value="0" id="currentWindow" label="&topWindow.label;"/>
  83.             <menuitem value="1" label="&newWindow.label;"/>
  84.             <menuseparator/>
  85.             <menuitem value="2" id="editWindow" label="&editNewWindow.label;"/>
  86.           </menupopup>
  87.         </menulist>
  88.         <spring flex="1"/>
  89.       </hbox>
  90.     </vbox>
  91.   </hbox> 
  92.  
  93.   <separator/>
  94.  
  95.   <hbox id="okCancelButtonsRight"/>
  96.            
  97.  </window>
  98.