Opera7 compatibility cvs upcvs upcvs upcvs up! some IE ameliorations, still
[old-projects.git] / philter / philter / index.php
index fa5b890..5f4ab09 100644 (file)
@@ -73,17 +73,17 @@ echo "</td></tr>\n</table>\n";
 <table width="100%">
 <tr><th colspan="2">Filtering rules</th></tr>
 <tr><td width="25%" valign="top">
-        <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" name="order" onsubmit="return false;">
+        <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" id="order" name="order" onsubmit="return false;">
         <table width="100%">
         <tr><td>
 <?php
             foreach($filter->rules as $id=>$rule)
-                echo "<input type=\"hidden\" name=\"order[$id]\" value=\"{$rule->rank}\" />\n";
+                echo "<input type=\"hidden\" id=\"order[$id]\" name=\"order[$id]\" value=\"{$rule->rank}\" />\n";
            
             $presel = (isset($_POST['rule']['id']) ? $_POST['rule']['id']
                         : (isset($_POST['order']['select']) ? $_POST['order']['select'] : 0));
                 
-            echo "<select size=\"16\" name=\"order[select]\" onchange=\"createRuleForm()\">\n";
+            echo "<select size=\"16\" id=\"order[select]\" name=\"order[select]\" onchange=\"createRuleForm()\">\n";
             echo "<option value=\"0\" ".($presel ? "" : " selected=\"selected\"")
                 .">[ new rule ]</option>\n";
             
@@ -104,23 +104,23 @@ echo "</td></tr>\n</table>\n";
         </form>
     </td>
     <td valign="top">
-        <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" name="rule" onsubmit="return false;">
+        <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" id="rule" name="rule" onsubmit="return false;">
         <table width="100%">
         <tr><th>Rule Configuration
         </th></tr><tr><td>
-            <input type="hidden" value="0" name="rule[id]" />
+            <input type="hidden" value="0" id="rule[id]" name="rule[id]" />
             Name of this rule :
-            <input type="text" size="60" value="" name="rule[name]"
+            <input type="text" size="60" value="" id="rule[name]" name="rule[name]"
                 onfocus="text_onfocus(this,'[ new rule ]')" onblur="text_onblur(this,'[ new rule ]')" />
             <br />
-            <input type="radio" value="1" name="rule[all]">All matches</input>
-            <input type="radio" value="0" name="rule[all]">One match</input>
+            <input type="radio" value="1" id="rule[all1]" name="rule[all]">All matches</input>
+            <input type="radio" value="0" id="rule[all0]" name="rule[all]">One match</input>
             <br />
-            <input type="checkbox" checked="checked" name="rule[block]">Blocking Rule</input>
+            <input type="checkbox" checked="checked" id="rule[block]" name="rule[block]">Blocking Rule</input>
         </td></tr><tr><th>Matches List
-        </th></tr><tr><td name="matches_row">
+        </th></tr><tr><td id="matchesRow" name="matches_row">
         </td></tr><tr><th>Actions List
-        </th></tr><tr><td name="actions_row">
+        </th></tr><tr><td id="actionsRow" name="actions_row">
         </td></tr><tr><td>
             <input type="submit" value="New Match" name="rule[new_match]" onclick="newMatch() "/>
             <input type="submit" value="New Action" name="rule[new_action]" onclick="newAction()" />