X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=philter%2Fphilter%2Finclude%2Fplugin_header.inc.php;h=96dad0f64a84c3bed23b0372c5a477ceb65fabbc;hb=f1abd4dd938fed7583f80b23e79842b68ad29319;hp=9771eaa50689184c87589dbc7022a595dadc66a5;hpb=ee524d70d9083918d000ca7e4ff8709a4e2f3b4d;p=old-projects.git diff --git a/philter/philter/include/plugin_header.inc.php b/philter/philter/include/plugin_header.inc.php index 9771eaa..96dad0f 100644 --- a/philter/philter/include/plugin_header.inc.php +++ b/philter/philter/include/plugin_header.inc.php @@ -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); }"; }