2002-08-05 08:50:42 +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"?>
|
|
|
|
|
2002-08-06 07:19:05 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/pref-fonts.dtd" >
|
2002-08-05 08:50:42 +04:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2002-08-06 07:19:05 +04:00
|
|
|
onload="parent.initPanel('chrome://browser/content/pref/pref-fonts.xul');"
|
2002-08-05 08:50:42 +04:00
|
|
|
headertitle="&lHeader;">
|
|
|
|
|
|
|
|
<stringbundle id="bundle_prefutilities"
|
|
|
|
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
|
|
|
<script type="application/x-javascript"
|
2002-08-06 07:19:05 +04:00
|
|
|
src="chrome://browser/content/pref/pref-fonts.js"/>
|
2002-08-05 08:50:42 +04:00
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
2002-08-10 06:40:38 +04:00
|
|
|
var _elementIDs = ["selectLangs"];
|
2002-08-05 08:50:42 +04:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<groupbox>
|
|
|
|
<caption>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&language.label;"
|
|
|
|
accesskey="&language.accesskey;"
|
|
|
|
control="selectLangs"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="selectLangs" oncommand="selectLanguage();"
|
|
|
|
preftype="localizedstring" prefstring="font.language.group"
|
|
|
|
wsm_attributes="value">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="x-western" label="&font.langGroup.latin1;"/>
|
|
|
|
<menuitem value="x-central-euro" label="&font.langGroup.latin2;"/>
|
|
|
|
<menuitem value="ja" label="&font.langGroup.japanese;"/>
|
|
|
|
<menuitem value="zh-TW" label="&font.langGroup.trad-chinese;"/>
|
|
|
|
<menuitem value="zh-CN" label="&font.langGroup.simpl-chinese;"/>
|
|
|
|
<menuitem value="ko" label="&font.langGroup.korean;"/>
|
|
|
|
<menuitem value="x-cyrillic" label="&font.langGroup.cyrillic;"/>
|
|
|
|
<menuitem value="x-baltic" label="&font.langGroup.baltic;"/>
|
|
|
|
<menuitem value="el" label="&font.langGroup.el;"/>
|
|
|
|
<menuitem value="tr" label="&font.langGroup.turkish;"/>
|
|
|
|
<menuitem value="x-unicode" label="&font.langGroup.unicode;"/>
|
|
|
|
<menuitem value="x-user-def" label="&font.langGroup.user-def;"/>
|
|
|
|
<menuitem value="th" label="&font.langGroup.thai;"/>
|
|
|
|
<menuitem value="he" label="&font.langGroup.hebrew;"/>
|
|
|
|
<menuitem value="ar" label="&font.langGroup.arabic;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</caption>
|
|
|
|
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
<column/>
|
2002-08-10 03:21:19 +04:00
|
|
|
<column/>
|
2002-08-05 08:50:42 +04:00
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<separator class="thin"/>
|
|
|
|
</row>
|
|
|
|
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&proportional.label;"
|
|
|
|
accesskey="&proportional.accesskey;"
|
|
|
|
control="proportionalFont"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="proportionalFont" flex="1" style="width: 0px;"
|
|
|
|
preftype="string" prefstring="font.default">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="serif"
|
|
|
|
label="&useDefaultFontSerif.label;"/>
|
|
|
|
<menuitem value="sans-serif"
|
|
|
|
label="&useDefaultFontSansSerif.label;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2002-08-10 03:21:19 +04:00
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&sizes.label;"/>
|
|
|
|
</hbox>
|
2002-08-05 08:50:42 +04:00
|
|
|
<menulist id="sizeVar" class="small-margin">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="8" label="8"/>
|
|
|
|
<menuitem value="9" label="9"/>
|
|
|
|
<menuitem value="10" label="10"/>
|
|
|
|
<menuitem value="11" label="11"/>
|
|
|
|
<menuitem value="12" label="12"/>
|
|
|
|
<menuitem value="13" label="13"/>
|
|
|
|
<menuitem value="14" label="14"/>
|
|
|
|
<menuitem value="15" label="15"/>
|
|
|
|
<menuitem value="16" label="16"/>
|
|
|
|
<menuitem value="18" label="18"/>
|
|
|
|
<menuitem value="20" label="20"/>
|
|
|
|
<menuitem value="24" label="24"/>
|
|
|
|
<menuitem value="26" label="26"/>
|
|
|
|
<menuitem value="28" label="28"/>
|
|
|
|
<menuitem value="32" label="32"/>
|
|
|
|
<menuitem value="36" label="36"/>
|
|
|
|
<menuitem value="40" label="40"/>
|
|
|
|
<menuitem value="48" label="48"/>
|
|
|
|
<menuitem value="56" label="56"/>
|
|
|
|
<menuitem value="64" label="64"/>
|
|
|
|
<menuitem value="72" label="72"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&serif.label;"
|
|
|
|
accesskey="&serif.accesskey;"
|
|
|
|
control="serif"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="serif" flex="1" style="width: 0px;">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
|
|
|
<spacer/>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&sans-serif.label;"
|
|
|
|
accesskey="&sans-serif.accesskey;"
|
|
|
|
control="sans-serif"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="sans-serif" flex="1" style="width: 0px;">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
|
|
|
<spacer/>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&monospace.label;"
|
|
|
|
accesskey="&monospace.accesskey;"
|
|
|
|
control="monospace"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="monospace"
|
|
|
|
flex="1" style="width: 0px;" crop="right">
|
|
|
|
<menupopup/>
|
|
|
|
</menulist>
|
2002-08-10 03:21:19 +04:00
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&sizes.label;"/>
|
|
|
|
</hbox>
|
2002-08-05 08:50:42 +04:00
|
|
|
<menulist id="sizeMono">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="8" label="8"/>
|
|
|
|
<menuitem value="9" label="9"/>
|
|
|
|
<menuitem value="10" label="10"/>
|
|
|
|
<menuitem value="11" label="11"/>
|
|
|
|
<menuitem value="12" label="12"/>
|
|
|
|
<menuitem value="13" label="13"/>
|
|
|
|
<menuitem value="14" label="14"/>
|
|
|
|
<menuitem value="15" label="15"/>
|
|
|
|
<menuitem value="16" label="16"/>
|
|
|
|
<menuitem value="18" label="18"/>
|
|
|
|
<menuitem value="20" label="20"/>
|
|
|
|
<menuitem value="24" label="24"/>
|
|
|
|
<menuitem value="26" label="26"/>
|
|
|
|
<menuitem value="28" label="28"/>
|
|
|
|
<menuitem value="32" label="32"/>
|
|
|
|
<menuitem value="36" label="36"/>
|
|
|
|
<menuitem value="40" label="40"/>
|
|
|
|
<menuitem value="48" label="48"/>
|
|
|
|
<menuitem value="56" label="56"/>
|
|
|
|
<menuitem value="64" label="64"/>
|
|
|
|
<menuitem value="72" label="72"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</row>
|
2002-08-10 03:21:19 +04:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<hbox flex="1">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&resolution.label;"
|
|
|
|
accesskey="&resolution.accesskey;"
|
|
|
|
control="screenResolution"/>
|
|
|
|
<menulist id="screenResolution"
|
|
|
|
oncommand="changeScreenResolution()"
|
|
|
|
dpi="&resolution.dpival;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value=""
|
|
|
|
label="&resolution.dpival;"
|
|
|
|
id="otherResolution"/>
|
|
|
|
<menuitem value=""
|
|
|
|
label="&resolution.dpival;"
|
|
|
|
id="defaultResolution"/>
|
|
|
|
<menuitem value="0"
|
|
|
|
label="&resolution.system.label;"
|
|
|
|
id="systemResolution"
|
|
|
|
hidden="true"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem id="userResolution" hidden="true"/>
|
|
|
|
<menuitem value="other" label="&resolution.other;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
<spacer flex="1"/>
|
2002-08-05 08:50:42 +04:00
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&minSize.label;"
|
|
|
|
accesskey="&minSize.accesskey;"
|
|
|
|
control="minSize"/>
|
|
|
|
<menulist id="minSize">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="0" label="&minSize.none;"/>
|
|
|
|
<menuitem value="6" label="6"/>
|
|
|
|
<menuitem value="7" label="7"/>
|
|
|
|
<menuitem value="8" label="8"/>
|
|
|
|
<menuitem value="9" label="9"/>
|
|
|
|
<menuitem value="10" label="10"/>
|
|
|
|
<menuitem value="11" label="11"/>
|
|
|
|
<menuitem value="12" label="12"/>
|
|
|
|
<menuitem value="13" label="13"/>
|
|
|
|
<menuitem value="14" label="14"/>
|
|
|
|
<menuitem value="15" label="15"/>
|
|
|
|
<menuitem value="16" label="16"/>
|
|
|
|
<menuitem value="18" label="18"/>
|
|
|
|
<menuitem value="20" label="20"/>
|
|
|
|
<menuitem value="22" label="22"/>
|
|
|
|
<menuitem value="24" label="24"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2002-08-10 03:21:19 +04:00
|
|
|
</hbox>
|
|
|
|
</hbox>
|
2002-08-05 08:50:42 +04:00
|
|
|
</groupbox>
|
|
|
|
|
2002-08-06 07:17:24 +04:00
|
|
|
<hbox>
|
|
|
|
<groupbox flex="1" id="pageColours">
|
|
|
|
<caption label="&color;"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/>
|
|
|
|
<spacer flex="1"/>
|
2002-08-10 06:40:38 +04:00
|
|
|
<colorpicker type="button" id="foregroundtextmenu" palettename="standard"/>
|
2002-08-06 07:17:24 +04:00
|
|
|
<data id="foregroundText" preftype="color" prefstring="browser.display.foreground_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
|
|
|
<label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/>
|
|
|
|
<spacer flex="1"/>
|
2002-08-10 06:40:38 +04:00
|
|
|
<colorpicker type="button" id="backgroundmenu" palettename="standard"/>
|
2002-08-06 07:17:24 +04:00
|
|
|
<data id="background" preftype="color" prefstring="browser.display.background_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</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 value="&linkColor.label;" accesskey="&linkColor.accesskey;" control="unvisitedlinkmenu"/>
|
|
|
|
<spacer flex="1"/>
|
2002-08-10 06:40:38 +04:00
|
|
|
<colorpicker type="button" id="unvisitedlinkmenu" palettename="standard"/>
|
2002-08-06 07:17:24 +04:00
|
|
|
<data id="unvisitedLinks" preftype="string" prefstring="browser.anchor_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
|
|
|
<label value="&visitedLinkColor.label;" accesskey="&visitedLinkColor.accesskey;" control="visitedlinkmenu"/>
|
|
|
|
<spacer flex="1"/>
|
2002-08-10 06:40:38 +04:00
|
|
|
<colorpicker type="button" id="visitedlinkmenu" palettename="standard"/>
|
2002-08-06 07:17:24 +04:00
|
|
|
<data id="visitedLinks" preftype="string" prefstring="browser.visited_color" prefattribute="value" wsm_attributes="value"/>
|
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;"
|
|
|
|
prefstring="browser.underline_anchors"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</hbox>
|
2002-08-15 04:36:11 +04:00
|
|
|
<hbox align="center">
|
2002-09-29 22:25:42 +04:00
|
|
|
<label value="&alwaysUseMy.label;"/>
|
2002-08-15 04:36:11 +04:00
|
|
|
<!-- Unchecking this removes the ability to select dynamic fonts -->
|
|
|
|
<checkbox id="useMyFonts"
|
|
|
|
label="&useMyFonts.label;"
|
|
|
|
accesskey="&useMyFonts.accesskey;"/>
|
|
|
|
<checkbox id="useMyColors" label="&useMyColors.label;"
|
|
|
|
accesskey="&useMyColors.accesskey;"/>
|
|
|
|
</hbox>
|
2002-08-05 08:50:42 +04:00
|
|
|
</page>
|