home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / profile / selectLang.xul < prev   
Extensible Markup Language  |  2003-06-08  |  2KB  |  54 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://communicator/skin/"?>
  3.  
  4. <!DOCTYPE dialog SYSTEM "chrome://communicator/locale/profile/selectLang.dtd">
  5.  
  6. <dialog title="&langSelBox.title.label;"
  7.         style="width: 22em;"
  8.         onload="Startup();"
  9.         ondialogaccept="return onAccept();"
  10.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  11.  
  12.   <script type="application/x-javascript" src="chrome://communicator/content/profile/selectLang.js"/>
  13.        
  14.     <label value="&langList.txt.label;" control="langList"/>
  15.  
  16.     <separator class="thin" />
  17.     
  18.     <listbox id="langList" flex="1" rows="5" 
  19.           ref="urn:mozilla:locale:root" datasources="rdf:chrome"
  20.           sortResource="http://www.mozilla.org/rdf/chrome#name"
  21.           sortDirection="ascending">
  22.       
  23.       <template xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
  24.         <rule chrome:localeType="region"/>
  25.         <rule>
  26.           <listitem id="treechildren" uri="..." 
  27.                     label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  28.                     value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
  29.         </rule>
  30.       </template>
  31.     </listbox>
  32.  
  33.     <separator class="thin" />
  34.  
  35.     <label value="®ionList.txt.label;" control="regionList"/>
  36.  
  37.     <separator class="thin" />
  38.  
  39.     <menulist id="regionList" flex="1">
  40.       <menupopup
  41.             datasources="rdf:chrome"  ref="urn:mozilla:locale:root" 
  42.             sortResource="http://www.mozilla.org/rdf/chrome#name"
  43.             sortDirection="ascending">
  44.         <template xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
  45.           <rule chrome:localeType="region">
  46.             <menuitem class="standard" uri="rdf:*" 
  47.               label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  48.               value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
  49.           </rule>
  50.         </template>
  51.       </menupopup>
  52.     </menulist>             
  53. </dialog>        
  54.