зеркало из https://github.com/mozilla/pjs.git
116 строки
5.1 KiB
XML
116 строки
5.1 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-1999
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Ben Goodger <ben@netscape.com>
|
|
|
|
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://communicator/content/pref/platformPrefOverlay.xul"?>
|
|
|
|
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-colors.dtd" >
|
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-colors.xul');"
|
|
headertitle="&pref.colors.title;">
|
|
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var _elementIDs = ["foregroundText", "background", "browserUseSystemColors", "unvisitedLinks", "activeLinks", "visitedLinks", "browserUnderlineAnchors", "browserUseDocumentColors"];
|
|
]]>
|
|
</script>
|
|
|
|
<hbox>
|
|
<groupbox flex="1" id="pageColours">
|
|
<caption label="&color;"/>
|
|
<hbox align="center">
|
|
<label control="foregroundText" value="&textColor.label;"
|
|
accesskey="&textColor.accesskey;" flex="1"/>
|
|
<colorpicker type="button" id="foregroundText" palettename="standard"
|
|
prefstring="browser.display.foreground_color"/>
|
|
</hbox>
|
|
<hbox align="center" style="margin-top: 5px">
|
|
<label control="background" value="&backgroundColor.label;"
|
|
accesskey="&backgroundColor.accesskey;" flex="1"/>
|
|
<colorpicker type="button" id="background" palettename="standard"
|
|
prefstring="browser.display.background_color"/>
|
|
</hbox>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<checkbox id="browserUseSystemColors" label="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;"
|
|
prefstring="browser.display.use_system_colors"/>
|
|
</hbox>
|
|
</groupbox>
|
|
|
|
<groupbox flex="1">
|
|
<caption label="&links;"/>
|
|
<hbox align="center">
|
|
<label control="unvisitedLinks" value="&linkColor.label;"
|
|
accesskey="&linkColor.accesskey;" flex="1"/>
|
|
<colorpicker type="button" id="unvisitedLinks" palettename="standard"
|
|
prefstring="browser.anchor_color"/>
|
|
</hbox>
|
|
<hbox align="center" style="margin-top: 5px">
|
|
<label control="activeLinks" value="&activeLinkColor.label;"
|
|
accesskey="&activeLinkColor.accesskey;" flex="1"/>
|
|
<colorpicker type="button" id="activeLinks" palettename="standard"
|
|
prefstring="browser.active_color"/>
|
|
</hbox>
|
|
<hbox align="center" style="margin-top: 5px">
|
|
<label control="visitedLinks" value="&visitedLinkColor.label;"
|
|
accesskey="&visitedLinkColor.accesskey;" flex="1"/>
|
|
<colorpicker type="button" id="visitedLinks" palettename="standard"
|
|
prefstring="browser.visited_color"/>
|
|
</hbox>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;"
|
|
prefstring="browser.underline_anchors"/>
|
|
</hbox>
|
|
</groupbox>
|
|
</hbox>
|
|
|
|
<groupbox>
|
|
<caption label="&someProvColors;"/>
|
|
|
|
<radiogroup id="browserUseDocumentColors"
|
|
preftype="bool" prefstring="browser.display.use_document_colors">
|
|
<radio value="true" label="&alwaysUseDocumentColors.label;" accesskey="&alwaysUseDocumentColors.accesskey;"/>
|
|
<radio value="false" label="&useMyColors.label;" accesskey="&useMyColors.accesskey;"/>
|
|
</radiogroup>
|
|
|
|
</groupbox>
|
|
</page>
|