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 / toolkit.jar / content / global / charsetOverlay.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  16KB  |  322 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE  window SYSTEM "chrome://global/locale/charsetOverlay.dtd">
  4.  
  5. <overlay id="charsetOverlay"
  6.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  7.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.     <script type="application/x-javascript" src="chrome://global/content/charsetOverlay.js"/>
  10.  
  11.     <!-- Composer Charset Menu -->
  12.     <menu id="composerCharsetMenu" label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;" datasources="rdf:charset-menu" ref="NC:ComposerCharsetMenuRoot" oncommand="ComposerMultiplexHandler(event)" onpopupshowing="CreateMenu('composer');UpdateMenus()" onpopupshown="CreateMenu('more-menu');">
  13.         <template>
  14.             <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  15.                 <menupopup>
  16.                 <menuseparator uri="..." />
  17.                 </menupopup>
  18.             </rule>
  19.             <rule>
  20.                 <menupopup>
  21.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  22.                 </menupopup>
  23.             </rule>
  24.         </template>
  25.  
  26.         <menupopup id="composerCharsetMenuPopup">
  27.         <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
  28.             <template>
  29.                 <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
  30.                     <menupopup>
  31.                     <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  32.                     </menupopup>
  33.                 </rule>
  34.             </template>
  35.             <menupopup>
  36.             </menupopup>
  37.         </menu>
  38.         <menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
  39.             <template>
  40.                 <rule>
  41.                     <menupopup>
  42.                     <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  43.                     </menupopup>
  44.                 </rule>
  45.             </template>
  46.             <menupopup>
  47.                 <menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
  48.                     <template>
  49.                         <rule>
  50.                             <menupopup>
  51.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  52.                             </menupopup>
  53.                         </rule>
  54.                     </template>
  55.                     <menupopup>
  56.                     </menupopup>
  57.                 </menu>
  58.                 <menu label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
  59.                     <template>
  60.                         <rule>
  61.                             <menupopup>
  62.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  63.                             </menupopup>
  64.                         </rule>
  65.                     </template>
  66.                     <menupopup>
  67.                     </menupopup>
  68.                 </menu>
  69.                 <menu label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
  70.                     <template>
  71.                         <rule>
  72.                             <menupopup>
  73.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  74.                             </menupopup>
  75.                         </rule>
  76.                     </template>
  77.                     <menupopup>
  78.                     </menupopup>
  79.                 </menu>
  80.                 <menu label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
  81.                     <template>
  82.                         <rule>
  83.                             <menupopup>
  84.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  85.                             </menupopup>
  86.                         </rule>
  87.                     </template>
  88.                     <menupopup>
  89.                     </menupopup>
  90.                 </menu>
  91.                 <menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
  92.                     <template>
  93.                         <rule>
  94.                             <menupopup>
  95.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  96.                             </menupopup>
  97.                         </rule>
  98.                     </template>
  99.                     <menupopup>
  100.                     </menupopup>
  101.                 </menu>
  102.                 <menuseparator />
  103.             </menupopup>
  104.         </menu>
  105.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://communicator/content/pref/pref-charset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  106.         </menupopup>
  107.     </menu>
  108.  
  109.     <!-- Mail View Charset Menu -->
  110.     <menu id="mailviewCharsetMenu" label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;" datasources="rdf:charset-menu" ref="NC:MailviewCharsetMenuRoot" oncommand="MailMultiplexHandler(event)" onpopupshowing="CreateMenu('mailview');UpdateMailMenus()" onpopupshown="CreateMenu('more-menu');">
  111.         <template>
  112.             <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  113.                 <menupopup>
  114.                 <menuseparator uri="..." />
  115.                 </menupopup>
  116.             </rule>
  117.             <rule>
  118.                 <menupopup>
  119.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  120.                 </menupopup>
  121.             </rule>
  122.         </template>
  123.  
  124.         <menupopup>
  125.         <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
  126.             <template>
  127.                 <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
  128.                     <menupopup>
  129.                     <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  130.                     </menupopup>
  131.                 </rule>
  132.             </template>
  133.             <menupopup>
  134.             </menupopup>
  135.         </menu>
  136.         <menu label="&charsetMenuMore.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
  137.             <template>
  138.                 <rule>
  139.                     <menupopup>
  140.                     <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  141.                     </menupopup>
  142.                 </rule>
  143.             </template>
  144.             <menupopup>
  145.                 <menu label="&charsetMenuMore1.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
  146.                     <template>
  147.                         <rule>
  148.                             <menupopup>
  149.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  150.                             </menupopup>
  151.                         </rule>
  152.                     </template>
  153.                     <menupopup>
  154.                     </menupopup>
  155.                 </menu>
  156.                 <menu label="&charsetMenuMore2.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
  157.                     <template>
  158.                         <rule>
  159.                             <menupopup>
  160.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  161.                             </menupopup>
  162.                         </rule>
  163.                     </template>
  164.                     <menupopup>
  165.                     </menupopup>
  166.                 </menu>
  167.                 <menu label="&charsetMenuMore3.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
  168.                     <template>
  169.                         <rule>
  170.                             <menupopup>
  171.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  172.                             </menupopup>
  173.                         </rule>
  174.                     </template>
  175.                     <menupopup>
  176.                     </menupopup>
  177.                 </menu>
  178.                 <menu label="&charsetMenuMore4.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
  179.                     <template>
  180.                         <rule>
  181.                             <menupopup>
  182.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  183.                             </menupopup>
  184.                         </rule>
  185.                     </template>
  186.                     <menupopup>
  187.                     </menupopup>
  188.                 </menu>
  189.                 <menu label="&charsetMenuMore5.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
  190.                     <template>
  191.                         <rule>
  192.                             <menupopup>
  193.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  194.                             </menupopup>
  195.                         </rule>
  196.                     </template>
  197.                     <menupopup>
  198.                     </menupopup>
  199.                 </menu>
  200.                 <menuseparator />
  201.             </menupopup>
  202.         </menu>
  203.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://communicator/content/pref/pref-charset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  204.         </menupopup>
  205.     </menu>
  206.  
  207.     <!-- Mail Edit Charset Menu -->
  208.     <menu id="maileditCharsetMenu" label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;" datasources="rdf:charset-menu" ref="NC:MaileditCharsetMenuRoot" oncommand="SetDocumentCharacterSet(event.target.getAttribute('id'));" onpopupshowing="CreateMenu('mailedit');InitCharsetMenuCheckMark();" onpopupshown="CreateMenu('more-menu');">
  209.         <template>
  210.             <rule>
  211.                 <menupopup>
  212.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  213.                 </menupopup>
  214.             </rule>
  215.         </template>
  216.  
  217.         <menupopup>
  218.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://communicator/content/pref/pref-charset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'mailedit')"/>
  219.         <menuseparator />
  220.         </menupopup>
  221.     </menu>
  222.  
  223.     <!-- Charset Menu -->
  224.     <menu id="charsetMenu" label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserCharsetMenuRoot" oncommand="MultiplexHandler(event)" onpopupshowing="CreateMenu('browser');UpdateMenus(event)" onpopupshown="CreateMenu('more-menu');">
  225.         <template>
  226.             <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  227.                 <menupopup>
  228.                 <menuseparator uri="..." />
  229.                 </menupopup>
  230.             </rule>
  231.             <rule>
  232.                 <menupopup>
  233.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  234.                 </menupopup>
  235.             </rule>
  236.         </template>
  237.  
  238.         <menupopup>
  239.         <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
  240.             <template>
  241.                 <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
  242.                     <menupopup>
  243.                     <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  244.                     </menupopup>
  245.                 </rule>
  246.             </template>
  247.             <menupopup>
  248.             </menupopup>
  249.         </menu>
  250.         <menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
  251.             <template>
  252.                 <rule>
  253.                     <menupopup>
  254.                     <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  255.                     </menupopup>
  256.                 </rule>
  257.             </template>
  258.             <menupopup>
  259.                 <menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
  260.                     <template>
  261.                         <rule>
  262.                             <menupopup>
  263.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  264.                             </menupopup>
  265.                         </rule>
  266.                     </template>
  267.                     <menupopup>
  268.                     </menupopup>
  269.                 </menu>
  270.                 <menu label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
  271.                     <template>
  272.                         <rule>
  273.                             <menupopup>
  274.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  275.                             </menupopup>
  276.                         </rule>
  277.                     </template>
  278.                     <menupopup>
  279.                     </menupopup>
  280.                 </menu>
  281.                 <menu label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
  282.                     <template>
  283.                         <rule>
  284.                             <menupopup>
  285.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  286.                             </menupopup>
  287.                         </rule>
  288.                     </template>
  289.                     <menupopup>
  290.                     </menupopup>
  291.                 </menu>
  292.                 <menu label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
  293.                     <template>
  294.                         <rule>
  295.                             <menupopup>
  296.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  297.                             </menupopup>
  298.                         </rule>
  299.                     </template>
  300.                     <menupopup>
  301.                     </menupopup>
  302.                 </menu>
  303.                 <menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
  304.                     <template>
  305.                         <rule>
  306.                             <menupopup>
  307.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  308.                             </menupopup>
  309.                         </rule>
  310.                     </template>
  311.                     <menupopup>
  312.                     </menupopup>
  313.                 </menu>
  314.                 <menuseparator />
  315.             </menupopup>
  316.         </menu>
  317.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://communicator/content/pref/pref-charset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  318.         </menupopup>
  319.     </menu>
  320.  
  321. </overlay>      
  322.