home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / pref / pref-charset.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  2KB  |  66 lines

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