home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / komunikace / kmeleon / K-Meleon1.1.3en-US.exe / chrome / embed.jar / kmprefs / content / pref-kplugins.xul < prev    next >
Extensible Markup Language  |  2007-04-23  |  2KB  |  50 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/css" href="chrome://global/skin/"?>
  3. <?xul-overlay href="chrome://kmprefs/content/kplugins/fullscreen.xul"?>
  4.  
  5. <!DOCTYPE page SYSTEM "chrome://kmprefs/locale/pref-kplugins.dtd">
  6. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  7. id="prefKPlugins" onload="init()">
  8.  
  9. <stringbundle id="pref_bundle" src="chrome://kmprefs/locale/pref.properties"/>
  10.  
  11. <script type="application/x-javascript" src="chrome://kmprefs/content/pref.js"/>
  12. <script type="application/x-javascript">
  13. <![CDATA[
  14. function init() {
  15.     var p = new Array("history","macros","external","bmpmenu","toolbars","rebarmenu");
  16.     for(var j=0,e;j<p.length;j++) {
  17.         e = document.getElementById("kmeleon.plugins."+p[j]+".load");
  18.         e.checked  = kPlugin.load(p[j]);
  19.         e.disabled = kPlugin.absent(p[j]);
  20.     }
  21.     kFullscreen.init();
  22.     if(kMacrosModule.load("main"))
  23.         document.getElementById("kmeleon.plugins.macros.load").style.display = "none";
  24. }
  25. ]]>
  26. </script>
  27.  
  28. <vbox flex="1" style="overflow:auto">
  29.   <dialogheader title="&kplugins.header;"/>
  30.   <separator class="thin"/>
  31.   <groupbox>
  32.     <caption label="&kplugins.misc.label;"/>
  33.     <checkbox oncommand="toggleCheckbox(this.id)" id="kmeleon.plugins.history.load" label="&kplugins.history;"/>
  34.     <separator class="thin"/>
  35.     <checkbox oncommand="toggleCheckbox(this.id)" id="kmeleon.plugins.macros.load" label="&kplugins.macros;"/>
  36.     <checkbox oncommand="toggleCheckbox(this.id)" id="kmeleon.plugins.external.load" label="&kplugins.external;"/>
  37.     <separator class="thin"/>
  38.     <checkbox oncommand="toggleCheckbox(this.id)" id="kmeleon.plugins.bmpmenu.load" label="&kplugins.bmpmenu;"/>
  39.     <checkbox oncommand="toggleCheckbox(this.id)" id="kmeleon.plugins.toolbars.load" label="&kplugins.toolbars;"/>
  40.     <checkbox oncommand="toggleCheckbox(this.id);kFullscreen._setLabel()" id="kmeleon.plugins.rebarmenu.load" label="&kplugins.rebarmenu;"/>
  41.   </groupbox>
  42.   <vbox>
  43.     <separator class="thin"/>
  44.     <groupbox id="kFullscreenDisplay" flex="1"/>
  45.   </vbox>
  46.   <separator class="thick"/>
  47.   <description>&restartNote1;</description>
  48. </vbox>
  49.  
  50. </page>