bugfixes, layout
[old-projects.git] / philter / philter / include / plugin_header.inc.php
index 9771eaa..96dad0f 100644 (file)
@@ -36,6 +36,7 @@ class HdrPlugin extends MatchPlugin {
     hdr_s.options[9] = new Option('<"._i18n('2_daemon').">',9,false,data[1]==9);
     hdr_s.selectIndex = data[1];
     
+    Node.appendChild(document.createTextNode(' '));
     var op_s = document.createElement('select');
     op_s.setAttribute('name', Node.name+'[2]');
     Node.appendChild(op_s);
@@ -50,9 +51,11 @@ class HdrPlugin extends MatchPlugin {
     op_s.options[7] = new Option(' < ',7,false,data[2]==7);
     op_s.selectIndex = data[2];
 
+    Node.appendChild(document.createTextNode(' '));
     var txt_i = document.createElement('input');
     txt_i.setAttribute('type','text');
     txt_i.setAttribute('name', Node.name+'[3]');
+    txt_i.setAttribute('value', data[3]);
     Node.appendChild(txt_i);
 }";
     }