mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
194 lines
6.0 KiB
XML
194 lines
6.0 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="preftree.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window
|
|
[
|
|
<!ENTITY appear.label "Appearance">
|
|
<!ENTITY fonts.label "Fonts">
|
|
<!ENTITY colors.label "Colors">
|
|
<!ENTITY navigator.label "Navigator">
|
|
<!ENTITY languages.label "Languages">
|
|
<!ENTITY applications.label "Applications">
|
|
<!ENTITY smartBrowse.label "Smart Browsing">
|
|
<!ENTITY mail.label "Mail & News">
|
|
<!ENTITY identity.label "Identity">
|
|
<!ENTITY mailServer.label "Mail Servers">
|
|
<!ENTITY newsServer.label "News Servers">
|
|
<!ENTITY address.label "Addressing">
|
|
<!ENTITY mess.label "Messages">
|
|
<!ENTITY windowSet.label "Window Settings">
|
|
<!ENTITY copyFolder.label "Copies & Folders">
|
|
<!ENTITY format.label "Formatting">
|
|
<!ENTITY return.label "Return Receipts">
|
|
<!ENTITY disk.label "Disk Space">
|
|
<!ENTITY compose.label "Composer">
|
|
<!ENTITY publish.label "Publish">
|
|
<!ENTITY offline.label "Offline">
|
|
<!ENTITY advance.label "Advanced">
|
|
<!ENTITY down.label "Download">
|
|
<!ENTITY cache.label "Cache">
|
|
<!ENTITY proxies.label "Proxies">
|
|
<!ENTITY smart.label "Smart Update">
|
|
|
|
]
|
|
|
|
>
|
|
|
|
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload = "ChangePanelURL(pref-appearance.html);">
|
|
|
|
<html:script>
|
|
|
|
function ClickChangePanel(node)
|
|
{
|
|
url = node.getAttribute('name');
|
|
ChangePanelURL(url);
|
|
}
|
|
|
|
function ChangePanelURL(url)
|
|
{
|
|
dump("ChangePanel(" + url + ")\n");
|
|
var prefsCore = XPAppCoresManager.Find("PrefsCore");
|
|
if (!prefsCore)
|
|
{
|
|
prefsCore = new PrefsCore();
|
|
if (prefsCore)
|
|
{
|
|
prefsCore.Init("PrefsCore");
|
|
}
|
|
}
|
|
if (prefsCore)
|
|
{
|
|
prefsCore.ChangePanel(url);
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
</html:script>
|
|
|
|
<tree onclick="return ClickChangePanel(event.target);">
|
|
|
|
<treebody>
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="resource://res/samples/pref-appearance.html"><treeindentation/>&appear.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-fonts.html"><treeindentation/>&fonts.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-colors.html"><treeindentation/>&colors.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="resource://res/samples/pref-navigator.html"><treeindentation/>&navigator.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell><treeindentation/>&languages.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-applications.html"><treeindentation/>&applications.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-smart_browsing.html"><treeindentation/>&smartBrowse.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="chrome://messenger/content/pref-mailnews.html"><treeindentation/>&mail.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-identity.html"><treeindentation/>&identity.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-mailservers.html"><treeindentation/>&mailServer.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-newsservers.html"><treeindentation/>&newsServer.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://addressbook/content/pref-addressing.html"><treeindentation/>&address.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messengercompose/content/pref-messages.html"><treeindentation/>&mess.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-winsetting.html"><treeindentation/>&windowSet.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messengercompose/content/pref-copiesfolders.html"><treeindentation/>©Folder.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messengercompose/content/pref-formatting.html"><treeindentation/>&format.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-receipts.html"><treeindentation/>&return.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="chrome://messenger/content/pref-diskspace.html"><treeindentation/>&disk.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="resource://res/samples/pref-composer.html"><treeindentation/>&compose.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-publish.html"><treeindentation/>&publish.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="resource://res/samples/pref-offline.html"><treeindentation/>&offline.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-download.html"><treeindentation/>&down.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
<treeitem>
|
|
|
|
<treecell name="resource://res/samples/pref-advanced.html"><treeindentation/>&advance.label;</treecell>
|
|
|
|
<treechildren>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-cache.html"><treeindentation/>&cache.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-proxies.html"><treeindentation/>&proxies.label;</treecell>
|
|
</treeitem>
|
|
<treeitem>
|
|
<treecell name="resource://res/samples/pref-smartupdate.html"><treeindentation/>&smart.label;</treecell>
|
|
</treeitem>
|
|
</treechildren>
|
|
|
|
</treeitem>
|
|
|
|
</treebody>
|
|
|
|
</tree>
|
|
|
|
</xul:window> |