bugfixes, layout
authorPierre Habouzit <madcoder@debian.org>
Fri, 12 Sep 2003 07:02:15 +0000 (07:02 +0000)
committerPierre Habouzit <madcoder@debian.org>
Fri, 12 Sep 2003 07:02:15 +0000 (07:02 +0000)
philter/philter/include/form_filter.inc.php
philter/philter/include/plugin_header.inc.php

index fdecc4e..8f5bd9b 100644 (file)
@@ -87,7 +87,7 @@ i18n('filter_help');
         </td></tr>
         <tr class="impair"><th><?php i18n('filter_rule_conf');?>
         </th></tr><tr class="impair"><td>
-            <input type="radio" value="1" id="ruleAll1" name="rule[all]" /><?php i18n('all_matches');?>
+            <input type="radio" value="1" id="ruleAll1" name="rule[all]" /><?php i18n('all_matches');?><br />
             <input type="radio" value="0" id="ruleAll0" name="rule[all]" /><?php i18n('one_match');?>
             <br />
             <input type="checkbox" checked="checked" id="ruleBlock" name="rule[block]" />
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);
 }";
     }