Files
tubestation/browser/components/prefwindow/content/pref-features.xul
2003-09-12 07:23:36 +00:00

131 lines
5.9 KiB
XML

<?xml version="1.0"?>
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# 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.org Code.
#
# The Initial Developer of the Original Code is
# Doron Rosenberg.
# Portions created by the Initial Developer are Copyright (C) 2001
# 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 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://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/pref-features.dtd">
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://browser/content/pref/pref-features.xul');"
headertitle="&lHeader;">
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-features.js"/>
<script type="application/x-javascript" src="chrome://browser/content/pref/permissions.js"/>
<script src="chrome://browser/content/cookieviewer/treeUtils.js"/>
<stringbundle id="stringBundle" src="chrome://browser/locale/pref/addPopup.properties"/>
<groupbox flex="1">
<checkbox label="&popupReject.label;"
prefstring="dom.disable_open_during_load"
accesskey="&popupReject.accesskey;"
id="popupPolicy"/>
<vbox id="servers" class="indent" flex="1">
<label id="popupDescription" value="&div.blessedservers.label;"/>
<separator class="thin"/>
<tree id="permissionsTree" flex="1"
seltype="multiple" hidecolumnpicker="true"
onkeypress="HandlePermissionKeyPress(event)"
onselect="PermissionSelected();">
<treecols>
<treecol id="siteCol" hideheader="true" flex="1"/>
</treecols>
<treechildren/>
</tree>
<hbox>
<button id="addPermission"
label="&addpermission.label;"
oncommand="AddPermission();"/>
<button id="removePermission" disabled="true"
label="&removepermission.label;"
oncommand="DeletePermission();"/>
<button id="removeAllPermissions"
label="&removeallpermissions.label;"
oncommand="DeleteAllPermissions();"/>
</hbox>
</vbox>
</groupbox>
<groupbox>
<checkbox id="advancedJavaAllow" label="&enbJavaCheck.label;" accesskey="&enbJavaCheck.accesskey;"
prefstring="security.enable_java"/>
<hbox>
<checkbox id="enableJavaScript" label="&enableJavaScript.label;" accesskey="&enableJavaScript.accesskey;"
prefstring="javascript.enabled"
oncommand="javascriptEnabledChange();"/>
<spring flex="1"/>
<checkbox id="allowWindowMoveResize" prefstring="dom.disable_window_move_resize" hidden="true"/>
<checkbox id="allowWindowFlip" prefstring="dom.disable_window_flip" hidden="true"/>
<checkbox id="allowHideStatusBar" prefstring="dom.disable_window_open_feature.status" hidden="true"/>
<checkbox id="allowWindowStatusChange" prefstring="dom.disable_window_status_change" hidden="true"/>
<checkbox id="allowImageSrcChange" prefstring="dom.disable_image_src_set" hidden="true"/>
<button id="advancedJavascript" label="&advancedJavaScript.label;" accesskey="&advancedJavaScript.accesskey;"
oncommand="advancedJavaScript();" class="uniWidthButton"/>
</hbox>
</groupbox>
<groupbox>
<hbox>
<vbox flex="1">
<checkbox id="enableImages"
oncommand="updateImagePref()"
label="&enableImages.label;"
accesskey="&enableImages.accesskey;"/>
<checkbox id="enableRestricted"
label="&forOriginatingSiteOnly.label;"
accesskey="&forOriginatingSiteOnly.accesskey;"
oncommand="updateImagePref()"
style="margin-left: 23px;"/>
<data id="enableImagePref" preftype="int" prefstring="network.image.imageBehavior" prefattribute="value" wsm_attributes="value"/>
</vbox>
<vbox>
<button id="manageImages" class="uniWidthButton"
label="&manageImages.label;" accesskey="&manageImages.accesskey;"
oncommand="viewImages();"
prefstring="pref.advanced.images.disable_button.view_image"/>
</vbox>
</hbox>
</groupbox>
</page>