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 Nvu.
18
# The Initial Developer of the Original Code is
20
# Portions created by the Initial Developer are Copyright (C) 2004
21
# the Initial Developer. All Rights Reserved.
24
# Daniel Glazman (glazman@disruptive-innovations.com), on behalf of Linspire Inc.
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 ***** -->
40
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
41
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
43
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-helpers.dtd" >
45
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
46
onload="parent.initPanel('chrome://communicator/content/pref/pref-helpers.xul');"
47
headertitle="&helpers.label;">
49
<stringbundle id="bundle_prefutilities" src="chrome://communicator/locale/pref/prefutilities.properties"/>
51
<script type="application/x-javascript">
53
var _elementIDs = [ "useSystemSettingsHelpers", "externalBrowser", "externalImageEditor", "markupLanguage", "dtdStrictness",
54
"crInPCreatesNewP", "entitiesEncoding", "spellCheckRealTime", "dontEncodeGT", "noEscaping" ];
58
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-helpers.js"/>
59
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
60
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
65
<caption label="Web browser" />
67
id = "useSystemSettingsHelpers"
69
prefstring = "editor.helpers.browser.useSystem">
73
label = "&useSystemBrowser.label;"
74
oncommand = "UseSystemBrowser()"
78
label = "&userDefinedBrower.label;"
79
oncommand = "UseOwnBrowser()"
83
<spacer class="spacer"/>
84
<textbox id="externalBrowser"
85
flex="1" disabled="true"
86
oninput="UpdateExternalBrowser()"
87
prefstring="editor.helpers.browser.external"/>
88
<button label="Choose file" accesskey=""
89
location="externalBrowser"
90
oncommand="selectFile(this);"
91
id="browserChooseFile"/>
96
<caption label="&imageEditor.label;" />
98
<textbox flex="1" id="externalImageEditor"
99
prefstring="editor.helpers.imageEditor"/>
100
<button label="Choose file" accesskey=""
101
location="externalImageEditor"
102
oncommand="selectFile(this);"
103
id="imageEditorChooseFile"/>
109
<caption label="&connection.label;" />
110
<hbox align="center">
111
<description flex="1">&connectionDescription.label;</description>
112
<button label="&connectionButton.label;"
113
accesskey="&connectionbutton.accesskey;"
114
oncommand="showConnections();"/>
118
<groupbox align="start">
119
<caption label="&dialect.label;"/>
121
<columns><column/><column flex="1"/><column flex="1"/></columns>
123
<radiogroup id="markupLanguage" orient="horizontal"
124
preftype="string" style="display: -moz-grid-line;"
126
prefstring="editor.default.doctype">
127
<label value="&markupLanguage.label;"/>
128
<radio id="htmlMarkupLanguage"
130
label="&htmlMarkupLanguage.label;"/>
131
<radio id="xtmlMarkupLanguage"
133
label="&xhtmlMarkupLanguage.label;"/>
135
<radiogroup id="dtdStrictness" orient="horizontal"
136
preftype="bool" style="display: -moz-grid-line;"
138
prefstring="editor.default.strictness">
139
<label value="&dtd.label;"/>
142
label="&looseDTD.label;"/>
143
<radio id="strictDTD"
145
label="&strictDTD.label;"/>
152
<caption label="&carriageReturns.label;" />
153
<hbox align="center">
154
<checkbox label="&crInPCreatesNewP.label;"
155
id="crInPCreatesNewP"
156
prefstring="editor.CR_creates_new_p"
162
<caption label="&realtimeSpellCheck.label;" />
163
<hbox align="center">
164
<checkbox id="spellCheckRealTime" label="&spellCheckRealTime.label;"
165
prefstring="spellchecker.enablerealtimespell"
166
accesskey="&spellCheckRealTime.accesskey;"/>
171
<caption label="&specialChars.label;" />
172
<description>&specialChars.description;</description>
173
<hbox align="center">
174
<menulist id="entitiesEncoding"
175
preftype="string" prefstring="editor.encode_entity">
177
<menuitem id="basicEntitiesEncoding"
179
label="&basicEncoding.label;"/>
180
<menuitem id="latin1EntitiesEncoding"
182
label="&latin1EntitiesEncoding.label;"/>
183
<menuitem id="htmlEntitiesEncoding"
185
label="&htmlEntitiesEncoding.label;"/>
186
<menuitem id="allEntitiesEncoding"
188
label="&allEntitiesEncoding.label;"/>
192
<checkbox class="indent" id="dontEncodeGT"
193
prefstring="editor.encode.noGT"
195
label="&noGTEncoding.label;"/>
196
<checkbox class="indent" id="noEscaping"
197
prefstring="editor.encode.noEscaping"
199
label="&noEscaping.label;"/>