2005-02-25 12:07:58 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2005-09-13 22:40:56 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2005-02-25 12:07:58 +03:00
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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/
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# The Original Code is the Firefox Preferences System.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Ben Goodger.
|
2005-02-25 12:07:58 +03:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# Contributor(s):
|
|
|
|
# Ben Goodger <ben@mozilla.org>
|
2006-07-06 02:41:03 +04:00
|
|
|
# Jeff Walden <jwalden+code@mit.edu>
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
2006-07-06 02:41:03 +04:00
|
|
|
<!DOCTYPE overlay [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
|
|
<!ENTITY % contentDTD SYSTEM "chrome://browser/locale/preferences/content.dtd">
|
|
|
|
%brandDTD;
|
|
|
|
%contentDTD;
|
|
|
|
]>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
<overlay id="ContentPaneOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2008-03-24 20:18:38 +03:00
|
|
|
<prefpane id="paneContent"
|
|
|
|
onpaneload="gContentPane.init();"
|
|
|
|
helpTopic="prefs-content">
|
2005-06-17 02:16:26 +04:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
<preferences id="contentPreferences">
|
2006-07-06 02:41:03 +04:00
|
|
|
<!--XXX buttons prefs -->
|
|
|
|
|
|
|
|
<!-- POPUPS, IMAGES, JAVASCRIPT -->
|
2005-02-25 12:07:58 +03:00
|
|
|
<preference id="dom.disable_open_during_load" name="dom.disable_open_during_load" type="bool"/>
|
|
|
|
<preference id="permissions.default.image" name="permissions.default.image" type="int"/>
|
|
|
|
<preference id="javascript.enabled" name="javascript.enabled" type="bool"/>
|
2006-07-06 02:41:03 +04:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
<preference id="pref.advanced.images.disable_button.view_image"
|
|
|
|
name="pref.advanced.images.disable_button.view_image"
|
|
|
|
type="bool"/>
|
2005-08-14 02:51:50 +04:00
|
|
|
<preference id="pref.advanced.javascript.disable_button.advanced"
|
|
|
|
name="pref.advanced.javascript.disable_button.advanced"
|
|
|
|
type="bool"/>
|
2006-07-06 02:41:03 +04:00
|
|
|
|
|
|
|
<!-- FONTS -->
|
|
|
|
<preference id="font.language.group"
|
|
|
|
name="font.language.group"
|
|
|
|
type="wstring"
|
|
|
|
onchange="gContentPane._rebuildFonts();"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</preferences>
|
|
|
|
|
2009-11-05 16:53:26 +03:00
|
|
|
<script type="application/javascript" src="chrome://mozapps/content/preferences/fontbuilder.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/content.js"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2006-07-21 21:42:26 +04:00
|
|
|
<stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
|
|
|
|
|
2006-07-06 02:41:03 +04:00
|
|
|
<!-- various checkboxes, font-fu -->
|
|
|
|
<groupbox id="miscGroup">
|
2005-06-01 15:48:32 +04:00
|
|
|
<grid id="contentGrid">
|
2005-02-25 12:07:58 +03:00
|
|
|
<columns>
|
|
|
|
<column flex="1"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
2005-06-01 15:48:32 +04:00
|
|
|
<rows id="contentRows-1">
|
|
|
|
<row id="popupPolicyRow">
|
2005-02-25 12:07:58 +03:00
|
|
|
<vbox align="start">
|
|
|
|
<checkbox id="popupPolicy" preference="dom.disable_open_during_load"
|
2006-07-06 02:41:03 +04:00
|
|
|
label="&blockPopups.label;" accesskey="&blockPopups.accesskey;"
|
2005-06-29 00:08:56 +04:00
|
|
|
onsyncfrompreference="return gContentPane.updateButtons('popupPolicyButton',
|
2005-02-25 12:07:58 +03:00
|
|
|
'dom.disable_open_during_load');"/>
|
|
|
|
</vbox>
|
2006-07-06 02:41:03 +04:00
|
|
|
<button id="popupPolicyButton" label="&popupExceptions.label;"
|
|
|
|
oncommand="gContentPane.showPopupExceptions();"
|
|
|
|
accesskey="&popupExceptions.accesskey;"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</row>
|
2005-06-01 15:48:32 +04:00
|
|
|
<row id="enableImagesRow">
|
2005-02-25 12:07:58 +03:00
|
|
|
<vbox align="start">
|
2006-07-06 02:41:03 +04:00
|
|
|
<checkbox id="loadImages"
|
|
|
|
label="&loadImages.label;"
|
|
|
|
accesskey="&loadImages.accesskey;"
|
2005-02-25 12:07:58 +03:00
|
|
|
preference="permissions.default.image"
|
2006-07-06 02:41:03 +04:00
|
|
|
onsyncfrompreference="return gContentPane.readLoadImages();"
|
|
|
|
onsynctopreference="return gContentPane.writeLoadImages();"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</vbox>
|
|
|
|
<vbox>
|
2006-07-21 21:42:26 +04:00
|
|
|
<button label="&exceptions.label;"
|
|
|
|
accesskey="&exceptions.accesskey;"
|
2006-07-06 02:41:03 +04:00
|
|
|
oncommand="gContentPane.showImageExceptions();"
|
2005-02-25 12:07:58 +03:00
|
|
|
preference="pref.advanced.images.disable_button.view_image"/>
|
|
|
|
</vbox>
|
|
|
|
</row>
|
2005-06-01 15:48:32 +04:00
|
|
|
<row id="enableJavaScriptRow">
|
2005-02-25 12:07:58 +03:00
|
|
|
<vbox align="start">
|
|
|
|
<checkbox id="enableJavaScript" preference="javascript.enabled"
|
|
|
|
label="&enableJavaScript.label;" accesskey="&enableJavaScript.accesskey;"
|
2005-08-14 02:51:50 +04:00
|
|
|
onsyncfrompreference="return gContentPane.updateButtons('advancedJSButton',
|
2005-02-25 12:07:58 +03:00
|
|
|
'javascript.enabled');"/>
|
2005-08-10 09:50:54 +04:00
|
|
|
</vbox>
|
|
|
|
<vbox>
|
|
|
|
<button id="advancedJSButton" label="&advancedJS.label;"
|
|
|
|
accesskey="&advancedJS.accesskey;"
|
|
|
|
oncommand="gContentPane.showAdvancedJS();"
|
|
|
|
preference="pref.advanced.javascript.disable_button.advanced"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</vbox>
|
|
|
|
</row>
|
2006-07-21 21:42:26 +04:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</groupbox>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2006-07-21 21:42:26 +04:00
|
|
|
<!-- Fonts and Colors -->
|
2006-08-17 00:22:06 +04:00
|
|
|
<groupbox id="fontsGroup">
|
2006-07-21 21:42:26 +04:00
|
|
|
<caption label="&fontsAndColors.label;"/>
|
2006-07-06 02:41:03 +04:00
|
|
|
|
2006-07-21 21:42:26 +04:00
|
|
|
<grid id="fontsGrid">
|
|
|
|
<columns>
|
|
|
|
<column flex="1"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows id="fontsRows">
|
|
|
|
<row id="fontRow">
|
|
|
|
<hbox align="center">
|
|
|
|
<label control="defaultFont" accesskey="&defaultFont.accesskey;">&defaultFont.label;</label>
|
|
|
|
<menulist id="defaultFont" flex="1"/>
|
|
|
|
<label control="defaultFontSize" accesskey="&defaultSize.accesskey;">&defaultSize.label;</label>
|
|
|
|
<menulist id="defaultFontSize">
|
|
|
|
<menupopup>
|
|
|
|
<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="17" label="17"/>
|
|
|
|
<menuitem value="18" label="18"/>
|
|
|
|
<menuitem value="20" label="20"/>
|
|
|
|
<menuitem value="22" label="22"/>
|
|
|
|
<menuitem value="24" label="24"/>
|
|
|
|
<menuitem value="26" label="26"/>
|
|
|
|
<menuitem value="28" label="28"/>
|
|
|
|
<menuitem value="30" label="30"/>
|
|
|
|
<menuitem value="32" label="32"/>
|
|
|
|
<menuitem value="34" label="34"/>
|
|
|
|
<menuitem value="36" label="36"/>
|
|
|
|
<menuitem value="40" label="40"/>
|
|
|
|
<menuitem value="44" label="44"/>
|
|
|
|
<menuitem value="48" label="48"/>
|
|
|
|
<menuitem value="56" label="56"/>
|
|
|
|
<menuitem value="64" label="64"/>
|
|
|
|
<menuitem value="72" label="72"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
<button id="advancedFonts" icon="select-font"
|
|
|
|
label="&advancedFonts.label;"
|
|
|
|
accesskey="&advancedFonts.accesskey;"
|
2006-07-06 02:41:03 +04:00
|
|
|
oncommand="gContentPane.configureFonts();"/>
|
2006-07-21 21:42:26 +04:00
|
|
|
</row>
|
|
|
|
<row id="colorsRow">
|
|
|
|
<hbox/>
|
|
|
|
<button id="colors" icon="select-color"
|
2006-07-06 02:41:03 +04:00
|
|
|
label="&colors.label;"
|
|
|
|
accesskey="&colors.accesskey;"
|
|
|
|
oncommand="gContentPane.configureColors();"/>
|
2006-07-21 21:42:26 +04:00
|
|
|
</row>
|
2005-02-25 12:07:58 +03:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</groupbox>
|
2006-07-06 02:41:03 +04:00
|
|
|
|
2007-10-09 21:24:35 +04:00
|
|
|
<!-- Languages -->
|
|
|
|
<groupbox id="languagesGroup">
|
|
|
|
<caption label="&languages.label;"/>
|
|
|
|
|
|
|
|
<hbox id="languagesBox" align="center">
|
|
|
|
<description flex="1" control="chooseLanguage">&chooseLanguage.label;</description>
|
|
|
|
<button id="chooseLanguage"
|
|
|
|
label="&chooseButton.label;"
|
|
|
|
accesskey="&chooseButton.accesskey;"
|
|
|
|
oncommand="gContentPane.showLanguages();"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
</prefpane>
|
|
|
|
|
|
|
|
</overlay>
|