Character Set Menu XUL - accomodating the changes in the RDF data source.

This commit is contained in:
cata%netscape.com 1999-12-02 06:43:18 +00:00
Родитель f002fe1d41
Коммит f9865e541b
1 изменённых файлов: 38 добавлений и 13 удалений

Просмотреть файл

@ -7,23 +7,48 @@
<overlay id="charsetOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/charsetOverlay.js"/>
<!-- Charset Menu -->
<menu id="charsetMenu" value="&charsetMenu.label;" datasources="rdf:charset-menu" ref="NC:CharsetMenuRoot">
<template>
<rule>
<menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/>
</menupopup>
</rule>
</template>
<menupopup>
</menupopup>
<menu id="charsetMenu" value="&charsetMenu.label;">
<menupopup>
<menu value="Static" datasources="rdf:charset-menu" ref="NC:BSCharsetMenuRoot">
<template>
<rule>
<menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/>
</menupopup>
</rule>
</template>
<menupopup>
</menupopup>
</menu>
<menu value="Dynamic" datasources="rdf:charset-menu" ref="NC:BDCharsetMenuRoot">
<template>
<rule>
<menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/>
</menupopup>
</rule>
</template>
<menupopup>
</menupopup>
</menu>
<menu value="More" datasources="rdf:charset-menu" ref="NC:BMCharsetMenuRoot">
<template>
<rule>
<menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/>
</menupopup>
</rule>
</template>
<menupopup>
</menupopup>
</menu>
</menupopup>
</menu>
</overlay>