home *** CD-ROM | disk | FTP | other *** search
- <?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" >
-
- <window xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- class="color-dialog"
- 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">
- <label value="&recentFiles.title;"/>
- <hbox autostretch="never" valign="middle">
- <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">
- <label value="&savingFiles.title;"/>
- <spring class="spacer"/>
- <radiogroup orient="vertical" autostretch="never"
- 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" autostretch="never">
- <label value="&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 autostretch="never" valign="top">
- <text class="label"
- value="&pressingTheDeleteKey.label;"
- tooltip = "aTooltip" tooltiptext="&pressingTheDeleteKey.tooltip;"
- for="tableDeleteKey"
- />
- <radiogroup orient="vertical" autostretch="never"
- 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">
- <label value="&saving;"/>
- <hbox valign="middle">
- <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">
- <label value="&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 class="dialog" label="&chooseButton.label;" />
- </hbox>
-
- </groupbox>
- -->
- </window>
-