Working on the extensions prefs panel.
git-svn-id: svn://10.0.0.236/trunk@130320 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c91ae8279f
commit
3b68383aba
@ -25,7 +25,7 @@
|
||||
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % themesDTD SYSTEM "chrome://communicator/locale/pref/pref-themes.dtd" >
|
||||
<!ENTITY % themesDTD SYSTEM "chrome://browser/locale/pref/pref-themes.dtd" >
|
||||
%themesDTD;
|
||||
<!ENTITY % regionDTD SYSTEM "chrome://global-region/locale/region.dtd" >
|
||||
%regionDTD;
|
||||
@ -45,50 +45,63 @@
|
||||
|
||||
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-themes.js"/>
|
||||
|
||||
<description>&skinIntro.label;</description>
|
||||
<tabbox flex="1">
|
||||
<tabs>
|
||||
<tab label="Themes"/>
|
||||
<tab label="Extensions"/>
|
||||
</tabs>
|
||||
<tabpanels flex="1">
|
||||
<vbox flex="1">
|
||||
<description>&skinIntro.label;</description>
|
||||
|
||||
<description>&installedThemes.label;</description>
|
||||
<description>&installedThemes.label;</description>
|
||||
|
||||
<listbox id="skinsList" datasources="rdf:chrome"
|
||||
onselect="themeSelect();"
|
||||
ref="urn:mozilla:skin:root" rows="5">
|
||||
<template>
|
||||
<rule>
|
||||
<listitem uri="..." skin="true"
|
||||
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
author="rdf:http://www.mozilla.org/rdf/chrome#author"
|
||||
displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
name="rdf:http://www.mozilla.org/rdf/chrome#name"
|
||||
description="rdf:http://www.mozilla.org/rdf/chrome#description"
|
||||
image="rdf:http://www.mozilla.org/rdf/chrome#image"
|
||||
loctype="rdf:http://www.mozilla.org/rdf/chrome#locType"/>
|
||||
</rule>
|
||||
</template>
|
||||
</listbox>
|
||||
<listbox id="skinsList" datasources="rdf:chrome"
|
||||
onselect="themeSelect();"
|
||||
ref="urn:mozilla:skin:root" rows="3">
|
||||
<template>
|
||||
<rule>
|
||||
<listitem uri="..." skin="true"
|
||||
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
author="rdf:http://www.mozilla.org/rdf/chrome#author"
|
||||
displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
name="rdf:http://www.mozilla.org/rdf/chrome#name"
|
||||
description="rdf:http://www.mozilla.org/rdf/chrome#description"
|
||||
image="rdf:http://www.mozilla.org/rdf/chrome#image"
|
||||
loctype="rdf:http://www.mozilla.org/rdf/chrome#locType"/>
|
||||
</rule>
|
||||
</template>
|
||||
</listbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox id="previewImageContainer" class="inset" align="center" pack="center">
|
||||
<image id="previewImage"/>
|
||||
</hbox>
|
||||
<hbox id="previewImageContainer" class="inset" align="center" pack="center">
|
||||
<image id="previewImage"/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<vbox flex="1">
|
||||
<label class="header" id="displayName" value=""/>
|
||||
<hbox align="center">
|
||||
<label value="&author.label;"/>
|
||||
<label id="author"/>
|
||||
</hbox>
|
||||
<label id="description" flex="1"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button id="uninstallSkin" label="&uninstallSkin.label;" oncommand="uninstallSkin();"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<separator/>
|
||||
<hbox align="start">
|
||||
<html:a id="themesLink" href="&getNewThemesURL;"
|
||||
style="display: block;" target="_new">&getNewThemes.label;</html:a>
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<vbox flex="1">
|
||||
<label class="header" id="displayName" value=""/>
|
||||
<hbox align="center">
|
||||
<label value="&author.label;"/>
|
||||
<label id="author"/>
|
||||
</hbox>
|
||||
<label id="description" flex="1"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button id="uninstallSkin" label="&uninstallSkin.label;" oncommand="uninstallSkin();"/>
|
||||
<vbox flex="1">
|
||||
<spacer flex="1"/>
|
||||
<hbox align="start">
|
||||
<html:a id="themesLink" href="&getNewThemesURL;"
|
||||
style="padding-left:4px; display: block;" target="_new">&getNewThemes.label;</html:a>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<separator/>
|
||||
</vbox>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</page>
|
||||
|
||||
@ -1,76 +1,87 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Ben Goodger <ben@netscape.com>
|
||||
-->
|
||||
|
||||
<?xul-overlay href="chrome://browser/content/pref/platformPrefOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/preftree.dtd" >
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
var _elementIDs = []; // hack
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<tree id="prefsTree" seltype="single" hidecolumnpicker="true"
|
||||
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
||||
<treecols>
|
||||
<treecol id="categoryCol" label="&category.label;" flex="1" primary="true"/>
|
||||
</treecols>
|
||||
<treechildren id="panelChildren">
|
||||
<treeitem id="navigator">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-navigator.xul" label="&navigator.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-fonts.xul" label="&fonts.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<!-- out until we un-global ourselves
|
||||
<treeitem id="themes-panel">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-themes.xul" label="&themes.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
-->
|
||||
<!-- XXX remove this when overlays.rdf works for navigator -->
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-privacy.xul" label="&privacy.label;" />
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem id="advancedItem">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-advanced.xul" label="&advance.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</tree>
|
||||
|
||||
</overlay>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
Ben Goodger <ben@netscape.com>
|
||||
Dave Hyatt (hyatt@apple.com)
|
||||
-->
|
||||
|
||||
<?xul-overlay href="chrome://browser/content/pref/platformPrefOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/preftree.dtd" >
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
var _elementIDs = []; // hack
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<tree id="prefsTree" seltype="single" hidecolumnpicker="true"
|
||||
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
||||
<treecols>
|
||||
<treecol id="categoryCol" label="&category.label;" flex="1" primary="true"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren id="panelChildren">
|
||||
<treeitem id="navigator">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-navigator.xul" label="&navigator.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-fonts.xul" label="&fonts.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem id="themes-panel">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-themes.xul" label="&themes.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<!-- XXX remove this when overlays.rdf works for navigator -->
|
||||
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-privacy.xul" label="&privacy.label;" />
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem id="advancedItem">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-advanced.xul" label="&advance.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
</treechildren>
|
||||
|
||||
</tree>
|
||||
|
||||
|
||||
|
||||
</overlay>
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<!--LOCALIZATION NOTE : FILE Theme management prefs -->
|
||||
<!ENTITY lHeader "Themes">
|
||||
|
||||
<!ENTITY skinIntro.label "Selecting a new theme changes the look of buttons, dialog boxes, menus, toolbars, and other items. It does not change the way these items function.">
|
||||
<!ENTITY skinIntro.label "Selecting a new theme changes the look of buttons, dialog boxes, menus, toolbars, and other items.">
|
||||
<!ENTITY installedThemes.label "Theme to use:">
|
||||
|
||||
<!ENTITY selectSkin.label "Apply Theme">
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
<!--LOCALIZATION NOTE : FILE Lists preferences categories that appear on the left of the preferences dialog -->
|
||||
<!ENTITY fonts.label "Fonts & Colors">
|
||||
<!ENTITY themes.label "Themes">
|
||||
<!ENTITY themes.label "Themes and Extensions">
|
||||
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
|
||||
<!ENTITY navigator.label "General">
|
||||
<!ENTITY bidi.label "Bidi Options">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user