home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / pref / pref-scripts.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  5KB  |  96 lines

  1. <?xml version="1.0"?><!-- -*- Mode: HTML -*- -->
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Mozilla.org Code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Doron Rosenberg.
  19.    - Portions created by the Initial Developer are Copyright (C) 2001
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -
  24.    - Alternatively, the contents of this file may be used under the terms of
  25.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  26.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.    - in which case the provisions of the GPL or the LGPL are applicable instead
  28.    - of those above. If you wish to allow use of your version of this file only
  29.    - under the terms of either the GPL or the LGPL, and not to allow others to
  30.    - use your version of this file under the terms of the MPL, indicate your
  31.    - decision by deleting the provisions above and replace them with the notice
  32.    - and other provisions required by the LGPL or the GPL. If you do not delete
  33.    - the provisions above, a recipient may use your version of this file under
  34.    - the terms of any one of the MPL, the GPL or the LGPL.
  35.    -
  36.    - ***** END LICENSE BLOCK ***** -->
  37.  
  38. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  39. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  40.  
  41. <!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-scripts.dtd">
  42.  
  43. <page id="scriptsAndWindowPanel" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  44.       onload="parent.initPanel('chrome://communicator/content/pref/pref-scripts.xul');"
  45.       headertitle="&lHeader;">
  46.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-scripts.js"/>
  47.   <script type="application/x-javascript">
  48.     <![CDATA[
  49.       var panel = "chrome://communicator/content/pref/pref-scripts.xul";
  50.       var _elementIDs = ["javascriptAllowNavigator",
  51.                          "allowWindowMoveResize",
  52.                          "allowWindowFlip",
  53.                          "allowWindowStatusChange",
  54.                          "allowImageSrcChange",
  55.                          "allowDocumentCookieSet",
  56.                          "allowDocumentCookieGet",
  57.                          "allowHideStatusBar"];
  58.     ]]>
  59.   </script>
  60.  
  61.   <groupbox id="javascriptPreferences" flex="1">
  62.     <caption label="&enableJavaScript.label;"/>
  63.  
  64.     <checkbox id="javascriptAllowNavigator" label="&navigator.label;" accesskey="&navigator.accesskey;"
  65.                   pref="true" preftype="bool" prefstring="javascript.enabled"
  66.                   prefattribute="checked" oncommand="javascriptEnabledChange();"/>
  67.  
  68.     <separator/>
  69.   
  70.     <label id="allowScripts" value="&allowScripts.label;"/>
  71.  
  72.     <listbox id="AllowList" flex="1">
  73.       <listitem type="checkbox" id="allowWindowMoveResize" label="&allowWindowMoveResize.label;"/>          
  74.       <listitem type="checkbox" id="allowWindowFlip" label="&allowWindowFlip.label;"/>          
  75.       <listitem type="checkbox" id="allowHideStatusBar" label="&allowHideStatusBar.label;"/>          
  76.       <listitem type="checkbox" id="allowWindowStatusChange" label="&allowWindowStatusChange.label;"/>   
  77.       <listitem type="checkbox" id="allowImageSrcChange" label="&allowWindowImageSrcChange.label;"/>     
  78.       <listitem type="checkbox" id="allowDocumentCookieSet" label="&allowDocumentCookieSet.label;"/>          
  79.       <listitem type="checkbox" id="allowDocumentCookieGet" label="&allowDocumentCookieGet.label;"/>          
  80.     </listbox>
  81.   </groupbox>
  82.  
  83.   <groupbox id="pluginPreferences">
  84.     <caption label="&enablePlugin.label;"/>
  85.     
  86.     <!-- mailnews will add its checkbox here using overlay (mailPrefOverlay.xul).
  87.          The day we add a checkbox for plugins in browser, please do the following:
  88.          1) make sure that doesn't break the mailnews overlay, we'll probably have to add an
  89.             insertafter command to insure the proper order of the checkboxes
  90.          2) remove the js code in pref-scripts.js that hide this groupbox when not checkbox
  91.             has been defined (function Startup)
  92.     -->
  93.   </groupbox>
  94.   
  95. </page>
  96.