home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / toolkit.jar / content / global / customizeCharset.xul < prev    next >
Extensible Markup Language  |  2004-11-25  |  2KB  |  65 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://global/skin/arrow.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://global/locale/customizeCharset.dtd">
  7.  
  8. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         title="&title.label;"
  10.         onload="Init();"
  11.         ondialogaccept="return Save();"
  12.         persist="width height"
  13.         headertitle="&left.header;"
  14.         width="500" height="394">
  15.  
  16.   <script type="application/x-javascript" src="chrome://global/content/customizeCharset.js"/>
  17.   <script type="application/x-javascript">
  18.   <![CDATA[
  19.     var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
  20.     observerService.notifyObservers(null, "charsetmenu-selected", "other");
  21.   ]]>
  22.   </script>
  23.   
  24.   <!-- The two-pane -->
  25.   <hbox flex="1">
  26.     <vbox flex="1">
  27.       <label value="&additional.label;"/>
  28.       <!-- Available Charsets Tree -->
  29.       <listbox id="available_charsets" flex="1" seltype="multiple"
  30.             onselect="SelectAvailableCharset();" 
  31.             ondblclick="AddAvailableCharset();"/>
  32.       
  33.       <separator class="thin"/>
  34.       
  35.       <hbox align="center">
  36.         <button id="add_button" oncommand="AddAvailableCharset();"
  37.                 label="&add.label;" disabled="true"/>
  38.       </hbox>
  39.     </vbox>
  40.     
  41.     <separator orient="vertical"/>
  42.     
  43.     <vbox flex="1">
  44.       <label value="¤t.label;"/>
  45.       <listbox id="active_charsets" flex="1" seltype="multiple"
  46.             onselect="SelectActiveCharset();"
  47.             ondblclick="RemoveActiveCharset();"/>
  48.       
  49.       <separator class="thin"/>
  50.       <hbox align="center">
  51.         <button id="remove_button" oncommand="RemoveActiveCharset();"
  52.                 disabled="true"
  53.                 label="&remove.label;"/>
  54.       </hbox>
  55.     </vbox> 
  56.     <vbox>
  57.       <spacer flex="1"/>
  58.       <button id="up_button" class="up" disabled="true"
  59.               oncommand="MoveUp();"/>
  60.       <button id="down_button" class="down" disabled="true"
  61.               oncommand="MoveDown();"/>
  62.       <spacer flex="1"/>
  63.     </vbox>
  64.   </hbox>
  65. </dialog>