RetroZilla/editor/ui/composer/content/pref-composer.xul
2015-10-20 23:03:22 -04:00

194 lines
6.2 KiB
XML

<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla 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/MPL/
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 the Initial Developer are Copyright (C) 1998-2000
the Initial Developer. All Rights Reserved.
Contributor(s):
Ryan Cassin (rcassin@supernova.org)
Alternatively, the contents of this file may be used under the terms of
either of the GNU General Public License Version 2 or later (the "GPL"),
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
in which case the provisions of the GPL or the LGPL are applicable instead
of those above. If you wish to allow use of your version of this file only
under the terms of either the GPL or the LGPL, and not to allow others to
use your version of this file under the terms of the MPL, indicate your
decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL.
***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE page SYSTEM "chrome://editor/locale/pref-composer.dtd" >
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://editor/content/pref-composer.xul');"
headertitle="&pref.composer.title;">
<script type="application/x-javascript">
<!-- Add "shouldAutoSave", "autoSaveAmount" to _elementIDs when implemented -->
<![CDATA[
var _elementIDs = ["maintainTableStructure", "preserveFormatting", "saveAssociatedFiles", "showPublishDialog", "recentFiles", "useCSS", "crInPCreatesNewP"];
]]>
</script>
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
<!-- Recent files menu -->
<groupbox>
<caption label="&recentFiles.title;"/>
<hbox align="center">
<label value = "&documentsInMenu.label;"
accesskey = "&documentsInMenu.accesskey;"
control = "recentFiles"/>
<textbox
id="recentFiles"
name="recent string"
size="3"
value="10"
preftype="int"
prefstring="editor.history.url_maximum"
oninput=" ValidateNumber(this, null, 0, 99); LimitStringLength('recentFiles',2);"
/>
</hbox>
</groupbox>
<!-- HTML formatting on output -->
<groupbox>
<caption label="&savingFiles.title;"/>
<spacer class="spacer"/>
<checkbox
label = "&preserveExisting.label;"
id = "preserveFormatting"
accesskey = "&preserveExisting.accesskey;"
tooltiptext = "&preserveExisting.tooltip;"
preftype = "bool"
prefstring = "editor.prettyprint"
reversed = "true"
/>
<checkbox
label = "&saveAssociatedFiles.label;"
id = "saveAssociatedFiles"
accesskey = "&saveAssociatedFiles.accesskey;"
preftype = "bool"
prefindex = "0"
prefstring = "editor.save_associated_files"
/>
<checkbox
label = "&showPublishDialog.label;"
id = "showPublishDialog"
accesskey = "&showPublishDialog.accesskey;"
preftype = "bool"
prefindex = "0"
prefstring = "editor.always_show_publish_dialog"
/>
</groupbox>
<groupbox align="start">
<caption label = "&composerEditing.label;"/>
<checkbox
label = "&maintainStructure.label;"
id = "maintainTableStructure"
accesskey = "&maintainStructure.accesskey;"
tooltiptext = "&maintainStructure.tooltip;"
prefstring = "editor.table.maintain_structure"
/>
<checkbox
label = "&useCSS.label;"
id = "useCSS"
accesskey = "&useCSS.accesskey;"
prefstring = "editor.use_css"
/>
<checkbox
label = "&crInPCreatesNewP.label;"
id = "crInPCreatesNewP"
accesskey = "&crInPCreatesNewP.accesskey;"
prefstring = "editor.CR_creates_new_p"
/>
</groupbox>
<!-- Take out Auto-Save; not supported at this time
<groupbox>
<caption label="&saving;"/>
<hbox align="center">
<checkbox
label = "&AutoSaveCheck;"
id = "shouldAutoSave"
prefstring = "editor.auto_save"
name = "autosave"
/>
<textbox
id="autoSaveAmount"
name="time"
size="3"
value="5"
preftype="int"
prefstring="editor.auto_save_delay"
/>
<label value="&minText;" />
</hbox>
</groupbox>
-->
<!-- External Editors are not supported at this time
<groupbox>
<caption label="&exterLegend.label;"/>
<hbox>
<checkbox
name = "htmlSourceEditorCheckbox"
label = "&htmlSource;"
preftype = "int"
prefindex = "0"
prefstring = "editor.use_html_editor"
/>
<textbox
name = "&chooseButton.label;"
preftype = "string"
/>
<button
name = ""
label = "&chooseButton.label;"
/>
</hbox>
<hbox>
<checkbox
name = "htmlImageEditorCheckbox"
label = "&imageeditor;"
preftype = "int"
prefindex = "0"
prefstring ="editor.use_image_editor"
/>
<textbox
name="chooseButton.label"
prefstring = "editor.image_editor"
/>
<button label="&chooseButton.label;" />
</hbox>
</groupbox>
-->
</page>