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="&interface.window.title;">
41
<script src="chrome://chatzilla/content/prefpanel/interface.js"/>
42
<script type="application/x-javascript">
44
var _elementIDs = ["czPMTabLimit", "czFocusPMs", "czConL",
45
"czScrollback1", "czScrollback2", "czScrollback3",
50
<groupbox align="start">
51
<caption label="&tabs.title;"/>
54
<checkbox id="czCreateTabsForPMs" label="&tabs.createForPMs.label;"
55
accesskey="&tabs.createForPMs.accesskey;" oncommand="updatePMTabPref();"/>
57
<checkbox id="czLimitPMTabs" label="&tabs.limitPMTabs.label;"
58
accesskey="&tabs.limitPMTabs.accesskey;" oncommand="updatePMTabPref();"/>
59
<textbox id="csPMTabLimitUser" size="5" oninput="updatePMTabPref();"/>
60
<textbox id="czPMTabLimit" hidden="true" prefdefval="15"
61
preftype="int" prefattribute="value"
62
prefstring="extensions.irc.newTabLimit"/>
63
<!-- Set to 0 for unlimited tabs, and 1 for no PM tabs. -->
66
<checkbox id="czFocusPMs" label="&tabs.focusPMs.label;"
67
accesskey="&tabs.focusPMs.accesskey;" prefdefval="false"
68
prefstring="extensions.irc.raiseNewTab"/>
69
<checkbox id="czConL" label="&tabs.closeOnLeave.label;"
70
accesskey="&tabs.closeOnLeave.accesskey;" prefdefval="true"
71
prefstring="extensions.irc.deleteOnPart"/>
75
<caption label="&scrollback.title;"/>
77
<label>&scrollback.label;</label>
81
<column/><column flex="1"/>
85
<label value="&scrollback.1.label;" control="czScrollback1"
86
accesskey="&scrollback.1.accesskey;"/><hbox>
87
<textbox id="czScrollback1" size="5" preftype="int"
88
prefattribute="value" prefdefval="200"
89
prefstring="extensions.irc.views.client.maxlines"
93
<label value="&scrollback.2.label;" control="czScrollback2"
94
accesskey="&scrollback.2.accesskey;"/><hbox>
95
<textbox id="czScrollback2" size="5" preftype="int"
96
prefattribute="value" prefdefval="100"
97
prefstring="extensions.irc.views.network.maxlines"/><spacer/></hbox>
100
<label value="&scrollback.3.label;" control="czScrollback3"
101
accesskey="&scrollback.3.accesskey;"/><hbox>
102
<textbox id="czScrollback3" size="5" preftype="int"
103
prefattribute="value" prefdefval="300"
104
prefstring="extensions.irc.views.channel.maxlines"/><spacer/></hbox>
107
<label value="&scrollback.4.label;" control="czScrollback4"
108
accesskey="&scrollback.4.accesskey;"/><hbox>
109
<textbox id="czScrollback4" size="5" preftype="int"
110
prefattribute="value" prefdefval="200"
111
prefstring="extensions.irc.views.chanuser.maxlines"/><spacer/></hbox>