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-hotlinks.xul < prev    next >
Extensible Markup Language  |  2007-04-23  |  4KB  |  103 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/css" href="chrome://global/skin/"?>
  3. <?xml-stylesheet type="text/css" href="chrome://kmprefs/skin/"?>
  4. <!DOCTYPE page SYSTEM "chrome://kmprefs/locale/pref-hotlinks.dtd">
  5. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  6. id="prefHotlinks" onload="init()">
  7.  
  8. <stringbundle id="pref_bundle" src="chrome://kmprefs/locale/pref.properties"/>
  9. <stringbundle id="brws_bundle" src="chrome://kmprefs/locale/pref-browsing.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 off = !kPlugin.load("macros");
  16.     var bndl = document.getElementById("brws_bundle");
  17.     document.getElementById("open").value = (kPlugin.load("layers")?bndl.getString("layer_new"):bndl.getString("window_new")) + document.getElementById("open").value;
  18.     for(var j=0,t=document.getElementsByTagName("textbox");j<t.length;j++) {
  19.         t[j].id = "kmeleon.plugins.macros.hotlink" + t[j].id;
  20.         t[j].nextSibling.id = "kmeleon.plugins.macros.hotlink" + t[j].nextSibling.id;
  21.         t[j].disabled = t[j].nextSibling.disabled = off;
  22.         initTextbox(t[j].id,false);
  23.         initCheckbox(t[j].nextSibling.id);
  24.     }
  25. }
  26. ]]>
  27. </script>
  28.  
  29. <vbox flex="1" style="overflow:auto">
  30.   <dialogheader title="&hotlinks.header;"/>
  31.   <separator class="thin"/>
  32.   <grid style="padding:0 1ex">
  33.     <columns>
  34.       <column/>
  35.       <column flex="1"/>
  36.       <column/>
  37.     </columns>
  38.     <rows>
  39.       <row align="center">
  40.         <label value="&whenPressing;"/>
  41.         <label value="&hotlinks.url;"/>
  42.         <label value="&hotlinks.open;" id="open"/>
  43.       </row>
  44.       <row>
  45.         <separator class="thin"/>
  46.       </row>
  47.       <row align="center">
  48.         <label value="&hotlinks.key0;"/>
  49.         <textbox id="0.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  50.         <checkbox id="0.new" oncommand="toggleCheckbox(this.id)"/>
  51.       </row>
  52.       <row align="center">
  53.         <label value="&hotlinks.key1;"/>
  54.         <textbox id="1.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  55.         <checkbox id="1.new" oncommand="toggleCheckbox(this.id)"/>
  56.       </row>
  57.       <row align="center">
  58.         <label value="&hotlinks.key2;"/>
  59.         <textbox id="2.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  60.         <checkbox id="2.new" oncommand="toggleCheckbox(this.id)"/>
  61.       </row>
  62.       <row align="center">
  63.         <label value="&hotlinks.key3;"/>
  64.         <textbox id="3.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  65.         <checkbox id="3.new" oncommand="toggleCheckbox(this.id)"/>
  66.       </row>
  67.       <row align="center">
  68.         <label value="&hotlinks.key4;"/>
  69.         <textbox id="4.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  70.         <checkbox id="4.new" oncommand="toggleCheckbox(this.id)"/>
  71.       </row>
  72.       <row align="center">
  73.         <label value="&hotlinks.key5;"/>
  74.         <textbox id="5.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  75.         <checkbox id="5.new" oncommand="toggleCheckbox(this.id)"/>
  76.       </row>
  77.       <row align="center">
  78.         <label value="&hotlinks.key6;"/>
  79.         <textbox id="6.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  80.         <checkbox id="6.new" oncommand="toggleCheckbox(this.id)"/>
  81.       </row>
  82.       <row align="center">
  83.         <label value="&hotlinks.key7;"/>
  84.         <textbox id="7.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  85.         <checkbox id="7.new" oncommand="toggleCheckbox(this.id)"/>
  86.       </row>
  87.       <row align="center">
  88.         <label value="&hotlinks.key8;"/>
  89.         <textbox id="8.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  90.         <checkbox id="8.new" oncommand="toggleCheckbox(this.id)"/>
  91.       </row>
  92.       <row align="center">
  93.         <label value="&hotlinks.key9;"/>
  94.         <textbox id="9.url" flex="1" class="uri-element" oninput="setCharPref(this.id,this.value)"/>
  95.         <checkbox id="9.new" oncommand="toggleCheckbox(this.id)"/>
  96.       </row>
  97.     </rows>
  98.   </grid>
  99.   <separator class="thick"/>
  100.   <description>¯osNote;</description>
  101. </vbox>
  102.  
  103. </page>