3
<!-- ***** BEGIN LICENSE BLOCK *****
4
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
6
- The contents of this file are subject to the Mozilla Public License Version
7
- 1.1 (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
- http://www.mozilla.org/MPL/
11
- Software distributed under the License is distributed on an "AS IS" basis,
12
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13
- for the specific language governing rights and limitations under the
16
- The Original Code is Diggler.
18
- The Initial Developer of the Original Code is Adam Lock.
19
- Portions created by the Initial Developer are Copyright (C) 2002
20
- the Initial Developer. All Rights Reserved.
24
- Adam Lock <adamlock@netscape.com>
26
- Alternatively, the contents of this file may be used under the terms of
27
- either the GNU General Public License Version 2 or later (the "GPL"), or
28
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29
- in which case the provisions of the GPL or the LGPL are applicable instead
30
- of those above. If you wish to allow use of your version of this file only
31
- under the terms of either the GPL or the LGPL, and not to allow others to
32
- use your version of this file under the terms of the MPL, indicate your
33
- decision by deleting the provisions above and replace them with the notice
34
- and other provisions required by the LGPL or the GPL. If you do not delete
35
- the provisions above, a recipient may use your version of this file under
36
- the terms of any one of the MPL, the GPL or the LGPL.
38
- ***** END LICENSE BLOCK ***** -->
41
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
43
<!DOCTYPE window SYSTEM "chrome://diggler/locale/diggler.dtd">
45
<dialog buttons="accept, cancel"
46
id="diggler-settings-dialog"
47
ondialogaccept="digglerFBSaveSettings()"
48
ondialogcancel="window.close()"
49
onload="digglerFBInitSettings()"
51
title="&digglerPrefTitle.label;"
52
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
53
xmlns:html="http://www.w3.org/1999/xhtml">
55
<script type="application/x-javascript" src="diggler-fb-settings.js"/>
56
<script type="application/x-javascript">
58
var _elementIDs = ["digglerButton", "digglerShowPopupControls", "digglerShowTabControls", "digglerShowImageControls"];
59
// "digglerShowTools"];
63
<vbox id="pref-diggler-buttons">
64
<groupbox id="prefDigglerShowButtonsbox">
65
<caption label="&digglerPrefGeneral.label;"/>
67
<!-- <checkbox id="digglerButton"
68
label="&digglerPrefEnabled.label;"
69
prefstring="browser.toolbars.showbutton.diggler"/> -->
70
<listbox flex="1" rows="5">
71
<listitem type="checkbox" id="digglerShowPopupControls"
72
label="&digglerShowPopupControls.label;"
73
prefstring="diggler.popup_controls" preftype="bool"/>
74
<listitem type="checkbox" id="digglerShowTabControls"
75
label="&digglerShowTabControls.label;"
76
prefstring="diggler.tab_controls" preftype="bool"/>
77
<listitem type="checkbox" id="digglerShowImageControls"
78
label="&digglerShowImageControls.label;"
79
prefstring="diggler.image_controls" preftype="bool"/>
86
<caption label="&digglerPrefTools.label;"/>
87
<checkbox id="digglerShowTools"
88
label="&digglerShowTools.label;"
89
prefstring="diggler.tools"/>
91
<listbox flex="1" rows="5">
92
<listitem type="checkbox" id="tool1" label="11"/>
93
<listitem type="checkbox" id="tool2" label="22"/>
94
<listitem type="checkbox" id="tool3" label="33"/>
97
<button label="Move Up" oncommand="alert('move up was invoked!');"/>
98
<button label="Move Down" oncommand="alert('move down was invoked!');"/>
100
<button label="Add..." oncommand="alert('add was invoked!');"/>
101
<button label="Delete" oncommand="alert('delete was invoked!');"/>
107
<description>&digglerAboutBlurb.label;</description>
108
<html:a class="digglerLink" id="themesLink" href="&digglerURL.href;"
109
style="display: block;" target="_new">&digglerURL.label;</html:a>