2000-02-11 04:26:03 +03: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-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
-->
|
|
|
|
|
2000-04-20 01:42:30 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
2000-02-11 04:26:03 +03:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
2000-06-05 10:31:41 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
2000-02-11 04:26:03 +03:00
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorColorProperties.dtd">
|
|
|
|
|
|
|
|
<window class="dialog" title="&windowTitle.label;"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-02-11 04:26:03 +03:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2001-10-11 00:07:06 +04:00
|
|
|
buttonpack="end"
|
2000-02-11 04:26:03 +03:00
|
|
|
onload="Startup()"
|
2001-10-11 00:07:06 +04:00
|
|
|
onunload="onCancel()"
|
2000-04-21 19:00:23 +04:00
|
|
|
orient="vertical">
|
2000-02-11 04:26:03 +03:00
|
|
|
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdColorProps.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
|
2000-02-11 04:26:03 +03:00
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
|
2000-02-11 04:26:03 +03:00
|
|
|
<broadcaster id="args" value=""/>
|
2001-05-30 02:23:52 +04:00
|
|
|
<keyset id="dialogKeys"/>
|
2000-05-04 18:57:43 +04:00
|
|
|
<popupset id="aTooltipSet" />
|
2000-02-15 18:54:05 +03:00
|
|
|
|
2001-10-11 00:07:06 +04:00
|
|
|
<groupbox orient="vertical" align="start">
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&pageColors.label;"/>
|
2001-10-11 00:07:06 +04:00
|
|
|
<radiogroup id="pageColorGroup" orient="vertical" align="start">
|
2001-05-23 01:22:26 +04:00
|
|
|
<radio group="pageColorGroup" id="DefaultColorsRadio" label="&defaultColorsRadio.label;" oncommand="UseDefaultColors()"
|
|
|
|
tooltip="aTooltip" tooltiptext="&defaultColorsRadio.tooltip;" />
|
|
|
|
<radio group="pageColorGroup" id="CustomColorsRadio" label="&customColorsRadio.label;" oncommand="UseCustomColors()"
|
|
|
|
tooltip="aTooltip" tooltiptext="&customColorsRadio.tooltip;" />
|
|
|
|
</radiogroup>
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox class="big-left-margin">
|
2001-05-23 01:22:26 +04:00
|
|
|
<grid>
|
|
|
|
<columns><column/><column/></columns>
|
|
|
|
<rows>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<text class="label" id="Text" value="&normalText.label;&colon.character;" />
|
2001-09-29 08:35:02 +04:00
|
|
|
<button id="TextButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
|
|
|
|
<spacer id="textCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-23 01:22:26 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<text class="label" id="Link" value="&linkText.label;&colon.character;" />
|
2001-09-29 08:35:02 +04:00
|
|
|
<button id="LinkButton" class="color-button" oncommand="GetColorAndUpdate('linkCW');">
|
|
|
|
<spacer id="linkCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-23 01:22:26 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<text class="label" id="Active" value="&activeLinkText.label;&colon.character;" />
|
2001-09-29 08:35:02 +04:00
|
|
|
<button id="ActiveLinkButton" class="color-button" oncommand="GetColorAndUpdate('activeCW');">
|
|
|
|
<spacer id="activeCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-23 01:22:26 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<text class="label" id="Visited" value ="&visitedLinkText.label;&colon.character;" />
|
2001-09-29 08:35:02 +04:00
|
|
|
<button id="VisitedLinkButton" class="color-button" oncommand="GetColorAndUpdate('visitedCW');">
|
|
|
|
<spacer id="visitedCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-23 01:22:26 +04:00
|
|
|
</row>
|
2001-10-11 00:07:06 +04:00
|
|
|
<row align="center">
|
2001-05-23 01:22:26 +04:00
|
|
|
<text class="label" id="Background" value="&background.label;" />
|
2001-09-29 08:35:02 +04:00
|
|
|
<button id="BackgroundButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
|
|
|
|
<spacer id="backgroundCW" class="color-well"/>
|
|
|
|
</button>
|
2001-05-23 01:22:26 +04:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<vbox id="ColorPreview" flex="1">
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2000-09-02 02:01:44 +04:00
|
|
|
<text class="label larger" id="NormalText" value="&normalText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2000-09-02 02:01:44 +04:00
|
|
|
<text class="label larger" id="LinkText" value="&linkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2000-09-02 02:01:44 +04:00
|
|
|
<text class="label larger" id="ActiveLinkText" value="&activeLinkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2000-09-02 02:01:44 +04:00
|
|
|
<text class="label larger" id="VisitedLinkText" value="&visitedLinkText.label;"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-05-23 01:22:26 +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"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</groupbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer class="spacer"/>
|
2000-08-30 06:44:18 +04:00
|
|
|
<text class="label" value="&backgroundImage.label;"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
<hbox>
|
|
|
|
<textbox id="BackgroundImageInput" oninput="ChangeBackgroundImage()"
|
|
|
|
tooltip="aTooltip" tooltiptext="&backgroundImage.tooltip;"
|
|
|
|
style="min-width : 21em"/>
|
|
|
|
<!-- from EdDialogOverlay.xul -->
|
2001-10-11 00:07:06 +04:00
|
|
|
<button id="ChooseFile"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
</hbox>
|
|
|
|
<!-- from EdDialogOverlay.xul 'for' identifies the textfield to get URL from -->
|
|
|
|
<checkbox id="MakeRelativeCheckbox" for="BackgroundImageInput"/>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer class="smallspacer"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
<hbox>
|
2001-09-19 01:47:32 +04:00
|
|
|
<spacer flex="1"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
<!-- from EdDialogOverlay.xul -->
|
2001-10-11 00:07:06 +04:00
|
|
|
<button id="AdvancedEditButton"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
</hbox>
|
2001-08-07 05:53:44 +04:00
|
|
|
<separator class="groove"/>
|
2001-09-17 23:31:19 +04:00
|
|
|
<hbox id="okCancelButtonsRight"/>
|
2000-02-11 04:26:03 +03:00
|
|
|
</window>
|