home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / pref / pref-scripts.xul < prev    next >
Extensible Markup Language  |  2002-10-31  |  2KB  |  42 lines

  1. <?xml version="1.0"?><!-- -*- Mode: HTML -*- -->
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <!DOCTYPE window SYSTEM "chrome://browser/locale/pref/pref-scripts.dtd">
  5.  
  6. <page id="scriptsAndWindowPanel" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.       onload="parent.initPanel('chrome://browser/content/pref/pref-scripts.xul');"
  8.       headertitle="&lHeader;">
  9.   <script type="application/x-javascript" src="chrome://browser/content/pref/pref-scripts.js"/>
  10.   <script type="application/x-javascript">
  11.     <![CDATA[
  12.       var panel = "chrome://browser/content/pref/pref-scripts.xul";
  13.       var _elementIDs = ["enableJavascript",
  14.                          "allowWindowMoveResize",
  15.                          "allowWindowFlip",
  16.                          "allowWindowStatusChange",
  17.                          "allowImageSrcChange",
  18.                          "allowHideStatusBar"];
  19.     ]]>
  20.   </script>
  21.  
  22.   <groupbox flex="1">
  23.     <caption>
  24.       <hbox>
  25.         <checkbox id="enableJavascript" label="&enableJavaScript.label;" accesskey="&enableJavaScript.accesskey;"
  26.                   prefstring="javascript.enabled"
  27.                   oncommand="javascriptEnabledChange(!this.checked);"/>
  28.       </hbox>
  29.     </caption>
  30.  
  31.     <label id="allowScripts" value="&allowScripts.label;"/>
  32.  
  33.     <listbox id="AllowList" flex="1">
  34.       <listitem type="checkbox" id="allowWindowMoveResize" label="&allowWindowMoveResize.label;"/>          
  35.       <listitem type="checkbox" id="allowWindowFlip" label="&allowWindowFlip.label;"/>          
  36.       <listitem type="checkbox" id="allowHideStatusBar" label="&allowHideStatusBar.label;"/>          
  37.       <listitem type="checkbox" id="allowWindowStatusChange" label="&allowWindowStatusChange.label;"/>   
  38.       <listitem type="checkbox" id="allowImageSrcChange" label="&allowWindowImageSrcChange.label;"/>     
  39.     </listbox>
  40.   </groupbox>
  41. </page>
  42.