1
<?xml version="1.0"?> <!-- -*- Mode: HTML; indent-tabs-mode: nil; -*- -->
4
The contents of this file are subject to the Netscape Public License
5
Version 1.1 (the "NPL"); you may not use this file except in
6
compliance with the NPL. You may obtain a copy of the NPL at
7
http://www.mozilla.org/NPL/
9
Software distributed under the NPL is distributed on an "AS IS" basis,
10
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
11
for the specific language governing rights and limitations under the
14
The Initial Developer of this code under the NPL is Netscape
15
Communications Corporation. Portions created by Netscape are
16
Copyright (C) 1999 Netscape Communications Corporation. All Rights
22
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
23
<?xml-stylesheet href="chrome://communicator/skin/sidebar/customize.css"
27
<!ENTITY % customizeDTD SYSTEM "chrome://communicator/locale/sidebar/customize.dtd" >
29
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
34
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
36
title="&sidebar.customize.title.label;"
37
windowtype="sidebar:customize"
39
persist="screenX screenY width height"
40
ondialogaccept="return Save();">
42
<script type="application/x-javascript"
43
src="chrome://communicator/content/sidebar/customize.js"/>
47
<label value="&sidebar.customize.additional.label;" crop="right"/>
49
<tree id="other-panels" flex="1"
50
datasources="rdf:null" hidecolumnpicker="true"
51
containment="http://home.netscape.com/NC-rdf#panel-list"
52
onselect="SelectChangeForOtherPanels(event, event.target.parentNode.parentNode);"
53
onclick="if (event.detail == 2) { AddPanel(); } ClickOnOtherPanels(event);">
59
<triple subject="?uri" object="?panel-list"
60
predicate="http://home.netscape.com/NC-rdf#panel-list"/>
61
<member container="?panel-list" child="?panel"/>
65
<binding subject="?panel" object="?title"
66
predicate="http://home.netscape.com/NC-rdf#title"/>
67
<binding subject="?panel" object="?link"
68
predicate="http://home.netscape.com/NC-rdf#link"/>
73
<treeitem uri="?panel" link="?link">
75
<treecell label="?title"/>
84
<treecol id="AvailNameCol" flex="1" primary="true" hideheader="true"/>
88
<!-- xxxslamm Need to add descriptive panel text here -->
89
<hbox class="button-group">
90
<button id="add_button" oncommand="AddPanel()"
91
label="&sidebar.customize.add.label;"
94
<button id="preview_button" oncommand="PreviewPanel()"
95
label="&sidebar.customize.preview.label;"
100
<separator orient="vertical"/>
102
<!-- The panels that the user currently has chosen -->
104
<label value="&sidebar.customize.current.label;"
106
<tree id="current-panels" flex="1" hidecolumnpicker="true"
107
onselect="SelectChangeForCurrentPanels();">
109
<treecol id="CurrentNameCol" flex="1" hideheader="true"/>
115
<hbox class="button-group">
116
<button id="customize-button" oncommand="CustomizePanel();"
117
label="&sidebar.customize.customize.label;" disabled="true"/>
118
<button id="remove-button" oncommand="RemovePanel()"
119
label="&sidebar.customize.remove.label;" disabled="true"/>
123
<separator orient="vertical" class="thin"/>
125
<!-- The 'reorder' buttons -->
128
<button oncommand="MoveUp();" id="up" disabled="true"
129
label="&sidebar.customize.up.label;"/>
130
<button oncommand="MoveDown();" id="down" disabled="true"
131
label="&sidebar.customize.down.label;"/>
140
<button id="more-panels-link" label="&sidebar.more.label;" oncommand="BrowseMorePanels()"/>
142
<button dlgtype="accept"/>
143
<button dlgtype="cancel"/>