gecko-dev/editor/ui/composer/content/pref-composer.xul

202 строки
6.1 KiB
Plaintext
Исходник Обычный вид История

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-2000 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Ryan Cassin (rcassin@supernova.org)
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/pref-composer.dtd" >
<page xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="parent.initPanel('chrome://editor/content/pref-composer.xul');">
<script type="application/x-javascript">
<!-- Add "shouldAutoSave", "autoSaveAmount" to _elementIDs when implemented -->
<![CDATA[
var _elementIDs = ["maintainTableStructure", "tableDeleteKey", "preserveFormatting", "recentFiles"];
]]>
</script>
<popupset id="aTooltipSet" />
<hbox class="box-smallheader" title="&lHeader;"/>
<!-- Recent files menu -->
<groupbox orient="vertical">
<caption label="&recentFiles.title;"/>
<hbox align="center">
<text value="&documentsInMenu;"/>
<textbox
id="recentFiles"
name="recent string"
type="text"
size="3"
value="10"
pref="true"
preftype="int"
prefstring="editor.history.url_maximum"
prefattribute="value"
/>
</hbox>
</groupbox>
<!-- HTML formatting on output -->
<groupbox orient="vertical">
<caption label="&savingFiles.title;"/>
<spacer class="spacer"/>
<radiogroup orient="vertical" align="start"
id = "preserveFormatting"
pref = "true"
preftype = "bool"
prefstring = "editor.prettyprint"
prefattribute = "value">
<radio
group = "preserveFormatting"
value = "false"
label = "&preserveExistingFormatting;"
accesskey = "&preserveExistingFormatting.accesskey;"
tooltip = "aTooltip"
tooltiptext= "&preserveExistingFormatting.tooltip;"
/>
<radio
group = "preserveFormatting"
value = "true"
label = "&reformat.label;"
accesskey = "&reformat.accesskey;"
tooltip = "aTooltip"
tooltiptext= "&reformat.tooltip;"
/>
</radiogroup>
</groupbox>
<groupbox orient="vertical" align="start">
<caption label="&tableEditing.label;"/>
<checkbox
label = "&maintainTableStructure.label;"
id = "maintainTableStructure"
accesskey = "&maintainStructure.accesskey;"
tooltip = "aTooltip" tooltiptext="&maintainTableStructure.tooltip;"
pref = "true"
preftype = "bool"
prefstring= "editor.table.maintain_structure"
prefattribute="checked"
/>
<separator class = "thin"/>
<hbox align="start">
<text class="label"
value="&pressingTheDeleteKey.label;"
tooltip = "aTooltip" tooltiptext="&pressingTheDeleteKey.tooltip;"
for="tableDeleteKey"
/>
<radiogroup orient="vertical" align="start"
id = "tableDeleteKey"
pref = "true"
preftype = "int"
prefstring="editor.table.delete_key"
prefattribute="value">
<radio group="tableDeleteKey" value="0" label="&deleteCell.label;" accesskey="&deleteCell.accesskey;"/>
<radio group="tableDeleteKey" value="1" label="&deleteContent.label;" accesskey="&deleteContent.accesskey;" />
</radiogroup>
</hbox>
</groupbox>
<!-- Take out Auto-Save; not supported at this time
<groupbox orient="vertical">
<caption label="&saving;"/>
<hbox align="center">
<checkbox
label = "&AutoSaveCheck;"
id = "shouldAutoSave"
pref = "true"
preftype = "bool"
prefstring = "editor.auto_save"
name = "autosave"
prefattribute="checked"
/>
<textbox
id="autoSaveAmount"
name="time"
type="text"
size="3"
value="5"
pref="true"
preftype="int"
prefstring="editor.auto_save_delay"
prefattribute="value"
/>
<text value="&minText;" />
</hbox>
</groupbox>
-->
<!-- External Editors are not supported at this time
<groupbox orient="vertical">
<caption label="&exterLegend.label;"/>
<hbox>
<checkbox
name = "htmlSourceEditorCheckbox"
label = "&htmlSource;"
pref = "true"
preftype = "int"
prefindex = "0"
prefstring = "editor.use_html_editor"
/>
<textbox
name = "&chooseButton.label;"
pref = "true"
preftype = "string"
prefstring = "editor.html_editor"
/>
<button
class = "dialog"
name = ""
label = "&chooseButton.label;"
/>
</hbox>
<hbox>
<checkbox
name = "htmlImageEditorCheckbox"
label = "&imageeditor;"
pref = "true"
preftype = "int"
prefindex = "0"
prefstring ="editor.use_image_editor"
/>
<textbox
name="chooseButton.label"
pref = "true"
preftype = "string"
prefstring = "editor.image_editor"
/>
<button label="&chooseButton.label;" />
</hbox>
</groupbox>
-->
</page>