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
7
- Version 1.1 (the "License"); you may not use this file except in
8
- compliance with 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 Chatzilla
18
- Alternatively, the contents of this file may be used under the
19
- terms of the GNU Public License (the "GPL"), in which case the
20
- provisions of the GPL are applicable instead of those above.
21
- If you wish to allow use of your version of this file only
22
- under the terms of the GPL and not to allow others to use your
23
- version of this file under the MPL, indicate your decision by
24
- deleting the provisions above and replace them with the notice
25
- and other provisions required by the GPL. If you do not delete
26
- the provisions above, a recipient may use your version of this
27
- file under either the MPL or the GPL.
30
- James Ross, <twpol@aol.com>, original author
32
- ***** END LICENSE BLOCK ***** -->
34
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
35
<!DOCTYPE page SYSTEM "chrome://chatzilla/locale/pref-irc.dtd">
37
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
39
headertitle="&startup.window.title;">
41
<script src="chrome://global/content/strres.js"/>
42
<script src="chrome://chatzilla/content/prefpanel/pref-irc.js"/>
43
<script src="chrome://chatzilla/content/prefpanel/startup.js"/>
44
<script type="application/x-javascript">
46
var _elementIDs = ["czInitialScripts", "czInitialURLs"];
50
<label>&startupOrder.label;</label>
53
<caption><label value="&autoScripts.title;" control="czInitialScripts"
54
accesskey="&autoScripts.accesskey;"/></caption>
57
<listbox id="czInitialScripts" flex="1" prefdefval=""
58
style="width: 0px; height: 0px;" crop="center"
59
prefstring="extensions.irc.initialScripts" preftype="string"
60
prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
61
onselect="listUpdateButtons('Scripts');"/>
63
<button id="czUpScripts" label="&list.up.label;" class="up"
64
accesskey="&list.up.script.accesskey;"
65
oncommand="listMoveUp('Scripts');"/>
66
<button id="czDnScripts" label="&list.dn.label;" class="down"
67
accesskey="&list.dn.script.accesskey;"
68
oncommand="listMoveDown('Scripts');"/>
72
<button id="czAddScripts" label="&list.add.label;"
73
accesskey="&list.add.script.accesskey;"
74
oncommand="listAdd('Scripts');"/>
75
<button id="czDelScripts" label="&list.del.label;"
76
accesskey="&list.del.script.accesskey;"
77
oncommand="listDelete('Scripts');"/>
81
<caption><label value="&autoURLs.title;" control="czInitialURLs"
82
accesskey="&autoURLs.accesskey;"/></caption>
85
<listbox id="czInitialURLs" flex="1" prefdefval="irc://"
86
style="width: 0px; height: 0px;"
87
prefstring="extensions.irc.initialURLs" preftype="string"
88
prefvalue="" prefattribute="prefvalue" wsm_attributes="prefvalue"
89
onselect="listUpdateButtons('URLs');" ondblclick="listEdit('URLs');"/>
91
<button id="czUpURLs" label="&list.up.label;" class="up"
92
accesskey="&list.up.server.accesskey;"
93
oncommand="listMoveUp('URLs');"/>
94
<button id="czDnURLs" label="&list.dn.label;" class="down"
95
accesskey="&list.dn.server.accesskey;"
96
oncommand="listMoveDown('URLs');"/>
100
<button id="czAddURLs" label="&list.add.label;"
101
accesskey="&list.add.server.accesskey;"
102
oncommand="listAdd('URLs');"/>
103
<button id="czEditURLs" label="&list.edit.label;"
104
accesskey="&list.edit.accesskey;"
105
oncommand="listEdit('URLs');"/>
106
<button id="czDelURLs" label="&list.del.label;"
107
accesskey="&list.del.server.accesskey;"
108
oncommand="listDelete('URLs');"/>