2000-08-05 06:21:59 +04:00
|
|
|
<?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):
|
|
|
|
-->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2000-09-15 10:08:51 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
2000-08-05 06:21:59 +04:00
|
|
|
|
2000-08-11 10:17:45 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/pref-editing.dtd">
|
2000-08-05 06:21:59 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2001-12-09 11:47:31 +03:00
|
|
|
onload="parent.initPanel('chrome://editor/content/pref-editing.xul');"
|
|
|
|
headertitle="&lHeader;">
|
2000-08-05 06:21:59 +04:00
|
|
|
|
|
|
|
<script lanugage="JavaScript">
|
|
|
|
<![CDATA[
|
2000-12-24 09:40:52 +03:00
|
|
|
var _elementIDs = ["editorAuthor", "useCustomColors", "textData", "linkData", "aLinkData", "fLinkData", "backgroundColorData", "backgroundImageData"];
|
2000-08-05 06:21:59 +04:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/pref-composer.js"/>
|
2001-11-15 18:28:24 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
2001-04-01 09:02:07 +04:00
|
|
|
|
2001-05-16 18:23:47 +04:00
|
|
|
<vbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label value="&authorName.label;"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox>
|
2001-05-16 18:23:47 +04:00
|
|
|
<textbox id="editorAuthor" flex="1"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
prefstring="editor.author"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2001-05-17 03:44:56 +04:00
|
|
|
</vbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer class="smallspacer"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<groupbox align="start">
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&pageColorHeader;"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<radiogroup id="useCustomColors"
|
|
|
|
preftype="bool" prefstring="editor.use_custom_colors">
|
|
|
|
<radio id="DefaultColorsRadio"
|
2001-05-16 18:23:47 +04:00
|
|
|
value="false"
|
|
|
|
label="&defaultColorsRadio.label;"
|
|
|
|
accesskey="&defaultColors.accesskey;"
|
|
|
|
oncommand="UseDefaultColors();"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<radio id="CustomColorsRadio"
|
2001-05-16 18:23:47 +04:00
|
|
|
value="true" label="&customColorsRadio.label;"
|
|
|
|
accesskey="&customColors.accesskey;"
|
|
|
|
oncommand="UseCustomColors()"/>
|
|
|
|
</radiogroup>
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox class="big-left-margin">
|
2001-05-16 18:23:47 +04:00
|
|
|
<grid>
|
|
|
|
<columns><column/><column/></columns>
|
|
|
|
<rows>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label id="Text" value="&normalText.label;&colon.character;" />
|
2001-09-29 08:33:01 +04:00
|
|
|
<button id="TextButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
|
|
|
|
<spacer id="textCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-16 18:23:47 +04:00
|
|
|
<data id="textData" pref="true" preftype="color" prefstring="editor.text_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label id="Link" value="&linkText.label;&colon.character;" />
|
2001-09-29 08:33:01 +04:00
|
|
|
<button id="LinkButton" class="color-button" oncommand="GetColorAndUpdate('linkCW');">
|
|
|
|
<spacer id="linkCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-16 18:23:47 +04:00
|
|
|
<data id="linkData" pref="true" preftype="color" prefstring="editor.link_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label id="Active" value="&activeLinkText.label;&colon.character;" />
|
2001-09-29 08:33:01 +04:00
|
|
|
<button id="ActiveLinkButton" class="color-button" oncommand="GetColorAndUpdate('activeCW');">
|
|
|
|
<spacer id="activeCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-16 18:23:47 +04:00
|
|
|
<data id="aLinkData" pref="true" preftype="color" prefstring="editor.active_link_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
2001-09-29 08:33:01 +04:00
|
|
|
<button id="VisitedLinkButton" class="color-button" oncommand="GetColorAndUpdate('visitedCW');">
|
|
|
|
<spacer id="visitedCW" class="color-well"/>
|
|
|
|
</button>
|
|
|
|
<data id="fLinkData" pref="true" preftype="color" prefstring="editor.followed_link_color" prefattribute="value" wsm_attributes="value"/>
|
2001-05-16 18:23:47 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label id="Background" value="&background.label;" />
|
2001-09-29 08:33:01 +04:00
|
|
|
<button id="BackgroundButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
|
|
|
|
<spacer id="backgroundCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-16 18:23:47 +04:00
|
|
|
<data id="backgroundColorData" pref="true" preftype="color" prefstring="editor.background_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<vbox id="ColorPreview" flex="1">
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label class="larger" id="NormalText" value="&normalText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label class="larger" id="LinkText" value="&linkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label class="larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label class="larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-05-17 03:44:56 +04:00
|
|
|
</vbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer class="spacer"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<label value="&backgroundImage.label;" accesskey="&backgroundImage.accesskey;"/>
|
2001-10-11 00:07:06 +04:00
|
|
|
<hbox align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage();" style="min-width: 23em" flex="1">
|
2001-04-12 06:42:08 +04:00
|
|
|
<observes element="backgroundImageData" attribute="disabled"/>
|
|
|
|
</textbox>
|
2001-10-11 00:07:06 +04:00
|
|
|
<button label="&chooseFile.label;" accesskey="&chooseFile.accesskey;"
|
2001-04-12 06:42:08 +04:00
|
|
|
oncommand="ChooseImageFile()">
|
|
|
|
<observes element="backgroundImageData" attribute="disabled"/>
|
|
|
|
</button>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:06:54 +03:00
|
|
|
<data id="backgroundImageData" preftype="string" prefstring="editor.default_background_image" prefattribute="value"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2001-10-21 08:16:03 +04:00
|
|
|
</page>
|