Files
tubestation/browser/components/prefwindow/content/pref-themes.xul
hyatt@netscape.com 03ac4d61c4 Updating extensions.
2002-09-30 23:46:13 +00:00

148 lines
5.4 KiB
XML

<?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):
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % themesDTD SYSTEM "chrome://browser/locale/pref/pref-themes.dtd" >
%themesDTD;
<!ENTITY % regionDTD SYSTEM "chrome://global-region/locale/region.dtd" >
%regionDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="parent.initPanel('chrome://communicator/content/pref/pref-themes.xul'); Startup()"
headertitle="&lHeader;">
<stringbundle id="bundle_prefutilities"
src="chrome://communicator/locale/pref/prefutilities.properties"/>
<stringbundle id="bundle_brand"
src="chrome://global/locale/brand.properties"/>
<stringbundle id="bundle_navigator"
src="chrome://navigator/locale/navigator.properties"/>
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-themes.js"/>
<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>
<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"/>
<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 flex="1">
<spacer flex="1"/>
<hbox align="start">
<html:a class="themesLink" id="themesLink" href="&getNewThemesURL;"
style="padding-left:4px; display: block;" target="_new">&getNewThemes.label;</html:a>
</hbox>
</vbox>
</vbox>
</hbox>
<separator/>
</vbox>
<vbox flex="1">
<listbox id="extList" datasources="rdf:chrome"
onselect="extensionSelect();"
ref="urn:mozilla:package:root" rows="10">
<template xmlns:chrome="http://www.mozilla.org/rdf/chrome">
<rule chrome:extension="true">
<listitem uri="..."
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"
disabledState="rdf:http://www.mozilla.org/rdf/chrome#disabled"/>
</rule>
</template>
</listbox>
<separator class="thin"/>
<hbox>
<vbox flex="1">
<label class="header" id="extDisplayName"/>
<hbox align="center">
<label id="extAuthor"/>
</hbox>
<label id="extDescription" flex="1"/>
</vbox>
<vbox>
<button disabled="true" id="disableExtension" label="Disable Extension" oncommand="toggleExtension();"/> <!-- XXXdwh localize -->
<button disabled="true" label="Uninstall Extension" oncommand="uninstallExtension();"/> <!-- XXXdwh localize -->
</vbox>
</hbox>
<separator/>
<hbox align="start">
<html:a class="themesLink" href="http://www.mozilla.org/projects/phoenix/extensions/index.html"
style="padding-left:4px; display: block;" target="_new">Get New Extensions</html:a>
</hbox>
</vbox>
</tabpanels>
</tabbox>
</page>