1999-06-05 03:28:56 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-10 06:48:56 +04:00
|
|
|
<!--
|
|
|
|
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):
|
2006-05-17 06:26:59 +04:00
|
|
|
Ben Goodger <ben@netscape.com>
|
1999-08-10 06:48:56 +04:00
|
|
|
-->
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:24:52 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 06:24:27 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
2006-05-17 06:26:59 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/pref/platformPrefOverlay.xul"?>
|
1999-11-19 00:05:43 +03:00
|
|
|
|
2006-05-17 06:24:35 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-colors.dtd" >
|
2006-05-17 06:24:52 +04:00
|
|
|
|
2006-05-17 06:25:47 +04:00
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
2006-05-17 06:22:45 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 06:24:52 +04:00
|
|
|
class="color-dialog"
|
|
|
|
title="&window.title;"
|
|
|
|
orient="vertical"
|
2006-05-17 06:28:51 +04:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-colors.xul');">
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript">
|
2006-05-17 06:24:52 +04:00
|
|
|
<![CDATA[
|
2006-05-17 06:29:00 +04:00
|
|
|
var _elementIDs = ["foregroundText", "background", "browserUseSystemColors", "unvisitedLinks", "visitedLinks", "browserUnderlineAnchors", "browserUseDocumentColors", "syntaxHighlight"];
|
2006-05-17 06:24:52 +04:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-colors.js"/>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:24:57 +04:00
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
1999-11-19 00:05:43 +03:00
|
|
|
|
2006-05-17 06:24:52 +04:00
|
|
|
<box>
|
2006-05-17 06:28:51 +04:00
|
|
|
<titledbox orient="vertical" flex="1" id="pageColours">
|
|
|
|
<label value="&color;"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
<box>
|
|
|
|
<text class="label" value="&textColor.label;" accesskey="&textColor.accesskey;" for="foregroundtextmenu"/>
|
|
|
|
<spring flex="1"/>
|
2006-05-17 06:27:01 +04:00
|
|
|
<colorpicker type="button" id="foregroundtextmenu" palettename="standard" onchange="setColorWell(this)"/>
|
2006-05-17 06:25:22 +04:00
|
|
|
<data id="foregroundText" pref="true" preftype="color" prefstring="browser.display.foreground_color" prefattribute="value" wsm_attributes="value"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
</box>
|
2006-05-17 06:27:01 +04:00
|
|
|
<box style="margin-top: 5px">
|
2006-05-17 06:28:36 +04:00
|
|
|
<text class="label" value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" for="backgroundmenu"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
<spring flex="1"/>
|
2006-05-17 06:27:01 +04:00
|
|
|
<colorpicker type="button" id="backgroundmenu" palettename="standard" onchange="setColorWell(this)"/>
|
2006-05-17 06:25:22 +04:00
|
|
|
<data id="background" pref="true" preftype="color" prefstring="browser.display.background_color" prefattribute="value" wsm_attributes="value"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
</box>
|
2006-05-17 06:26:59 +04:00
|
|
|
<separator class="thin"/>
|
2006-05-17 06:28:35 +04:00
|
|
|
<box autostretch="never">
|
2006-05-17 06:28:51 +04:00
|
|
|
<checkbox id="browserUseSystemColors" label="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;"
|
2006-05-17 06:28:34 +04:00
|
|
|
pref="true" preftype="bool" prefstring="browser.display.use_system_colors" prefattribute="checked"/>
|
|
|
|
</box>
|
2006-05-17 06:24:52 +04:00
|
|
|
</titledbox>
|
2006-05-17 06:23:32 +04:00
|
|
|
|
2006-05-17 06:24:52 +04:00
|
|
|
<titledbox orient="vertical" flex="1">
|
2006-05-17 06:28:51 +04:00
|
|
|
<label value="&links;"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
<box>
|
|
|
|
<text class="label" value="&linkColor.label;" accesskey="&linkColor.accesskey;" for="unvisitedlinkmenu"/>
|
|
|
|
<spring flex="1"/>
|
2006-05-17 06:27:01 +04:00
|
|
|
<colorpicker type="button" id="unvisitedlinkmenu" palettename="standard" onchange="setColorWell(this)"/>
|
2006-05-17 06:24:57 +04:00
|
|
|
<data id="unvisitedLinks" pref="true" preftype="string" prefstring="browser.anchor_color" prefattribute="value" wsm_attributes="value"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
</box>
|
2006-05-17 06:27:01 +04:00
|
|
|
<box style="margin-top: 5px">
|
2006-05-17 06:24:52 +04:00
|
|
|
<text class="label" value="&visitedLinkColor.label;" accesskey="&visitedLinkColor.accesskey;" for="visitedlinkmenu"/>
|
|
|
|
<spring flex="1"/>
|
2006-05-17 06:27:01 +04:00
|
|
|
<colorpicker type="button" id="visitedlinkmenu" palettename="standard" onchange="setColorWell(this)"/>
|
2006-05-17 06:24:57 +04:00
|
|
|
<data id="visitedLinks" pref="true" preftype="string" prefstring="browser.visited_color" prefattribute="value" wsm_attributes="value"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
</box>
|
2006-05-17 06:26:59 +04:00
|
|
|
<separator class="thin"/>
|
|
|
|
<box autostretch="never">
|
2006-05-17 06:28:51 +04:00
|
|
|
<checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;"
|
2006-05-17 06:26:59 +04:00
|
|
|
pref="true" preftype="bool" prefstring="browser.underline_anchors" prefattribute="checked"/>
|
|
|
|
</box>
|
2006-05-17 06:24:09 +04:00
|
|
|
</titledbox>
|
2006-05-17 06:24:52 +04:00
|
|
|
</box>
|
|
|
|
|
|
|
|
<titledbox orient="vertical">
|
2006-05-17 06:28:51 +04:00
|
|
|
<html>&someProvColors;</html>
|
2006-05-17 06:24:52 +04:00
|
|
|
|
|
|
|
<radiogroup id="browserUseDocumentColors" orient="vertical" autostretch="never"
|
2006-05-17 06:25:22 +04:00
|
|
|
pref="true" preftype="bool" prefstring="browser.display.use_document_colors"
|
2006-05-17 06:28:51 +04:00
|
|
|
prefattribute="value">
|
|
|
|
<radio group="browserUseDocumentColors" value="true" label="&alwaysUseDocumentColors.label;" accesskey="&alwaysUseDocumentColors.accesskey;"/>
|
2006-05-17 06:29:00 +04:00
|
|
|
<radio group="browserUseDocumentColors" value="false" label="&useMyColors.label;" accesskey="&useMyColors.accesskey;"/>
|
2006-05-17 06:24:52 +04:00
|
|
|
</radiogroup>
|
|
|
|
|
|
|
|
</titledbox>
|
2006-05-17 06:24:09 +04:00
|
|
|
|
2006-05-17 06:29:00 +04:00
|
|
|
<titledbox orient="vertical">
|
|
|
|
<label value="&viewsource;"/>
|
|
|
|
<box autostretch="never">
|
|
|
|
<checkbox id="syntaxHighlight" label="&syntaxHighlight.label;" accesskey="&syntaxHighlight.accesskey;"
|
2006-05-17 06:29:01 +04:00
|
|
|
pref="true" preftype="bool" prefstring="view_source.syntax_highlight" prefattribute="checked"/>
|
2006-05-17 06:29:00 +04:00
|
|
|
</box>
|
|
|
|
</titledbox>
|
|
|
|
|
1999-10-06 03:40:07 +04:00
|
|
|
</window>
|