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 / charsetOverlay.xul < prev    next >
Extensible Markup Language  |  2004-11-25  |  18KB  |  344 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.                 <menu label="&charsetMenuUnicode.label;" accesskey="&charsetMenuUnicode.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserUnicodeCharsetMenuRoot">
  103.                     <template>
  104.                         <rule>
  105.                             <menupopup>
  106.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  107.                             </menupopup>
  108.                         </rule>
  109.                     </template>
  110.                     <menupopup>
  111.                     </menupopup>
  112.                 </menu>
  113.                 <menuseparator />
  114.             </menupopup>
  115.         </menu>
  116.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  117.         </menupopup>
  118.     </menu>
  119.  
  120.     <!-- Mail View Charset Menu -->
  121.     <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');">
  122.         <template>
  123.             <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  124.                 <menupopup>
  125.                 <menuseparator uri="..." />
  126.                 </menupopup>
  127.             </rule>
  128.             <rule>
  129.                 <menupopup>
  130.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  131.                 </menupopup>
  132.             </rule>
  133.         </template>
  134.  
  135.         <menupopup>
  136.         <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
  137.             <template>
  138.                 <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
  139.                     <menupopup>
  140.                     <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  141.                     </menupopup>
  142.                 </rule>
  143.             </template>
  144.             <menupopup>
  145.             </menupopup>
  146.         </menu>
  147.         <menu label="&charsetMenuMore.label;"  accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
  148.             <template>
  149.                 <rule>
  150.                     <menupopup>
  151.                     <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  152.                     </menupopup>
  153.                 </rule>
  154.             </template>
  155.             <menupopup>
  156.                 <menu label="&charsetMenuMore1.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
  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="&charsetMenuMore2.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
  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="&charsetMenuMore3.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
  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="&charsetMenuMore4.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
  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.                 <menu label="&charsetMenuMore5.label;"  datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
  201.                     <template>
  202.                         <rule>
  203.                             <menupopup>
  204.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  205.                             </menupopup>
  206.                         </rule>
  207.                     </template>
  208.                     <menupopup>
  209.                     </menupopup>
  210.                 </menu>
  211.                 <menuseparator />
  212.             </menupopup>
  213.         </menu>
  214.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  215.         </menupopup>
  216.     </menu>
  217.  
  218.     <!-- Mail Edit Charset Menu -->
  219.     <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');">
  220.         <template>
  221.             <rule>
  222.                 <menupopup>
  223.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  224.                 </menupopup>
  225.             </rule>
  226.         </template>
  227.  
  228.         <menupopup>
  229.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'mailedit')"/>
  230.         <menuseparator />
  231.         </menupopup>
  232.     </menu>
  233.  
  234.     <!-- Charset Menu -->
  235.     <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');">
  236.         <template>
  237.             <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  238.                 <menupopup>
  239.                 <menuseparator uri="..." />
  240.                 </menupopup>
  241.             </rule>
  242.             <rule>
  243.                 <menupopup>
  244.                 <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  245.                 </menupopup>
  246.             </rule>
  247.         </template>
  248.  
  249.         <menupopup>
  250.         <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
  251.             <template>
  252.                 <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
  253.                     <menupopup>
  254.                     <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  255.                     </menupopup>
  256.                 </rule>
  257.             </template>
  258.             <menupopup>
  259.             </menupopup>
  260.         </menu>
  261.         <menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
  262.             <template>
  263.                 <rule>
  264.                     <menupopup>
  265.                     <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  266.                     </menupopup>
  267.                 </rule>
  268.             </template>
  269.             <menupopup>
  270.                 <menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
  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="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
  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="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
  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="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
  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.                 <menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
  315.                     <template>
  316.                         <rule>
  317.                             <menupopup>
  318.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  319.                             </menupopup>
  320.                         </rule>
  321.                     </template>
  322.                     <menupopup>
  323.                     </menupopup>
  324.                 </menu>
  325.                 <menu label="&charsetMenuUnicode.label;" accesskey="&charsetMenuUnicode.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserUnicodeCharsetMenuRoot">
  326.                     <template>
  327.                         <rule>
  328.                             <menupopup>
  329.                             <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  330.                             </menupopup>
  331.                         </rule>
  332.                     </template>
  333.                     <menupopup>
  334.                     </menupopup>
  335.                 </menu>
  336.                 <menuseparator />
  337.             </menupopup>
  338.         </menu>
  339.         <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
  340.         </menupopup>
  341.     </menu>
  342.  
  343. </overlay>      
  344.