Subversion Repositories ALCASAR

Rev

Rev 859 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 859 Rev 861
Line 18... Line 18...
18
			// if the line is commented -> protocol is not allowed
18
			// if the line is commented -> protocol is not allowed
19
			if (preg_match('/^#/',$line, $r)) {
19
			if (preg_match('/^#/',$line, $r)) {
20
				echo ">";}
20
				echo ">";}
21
			else {
21
			else {
22
				echo "checked>";}
22
				echo "checked>";}
-
 
23
			echo "<td>";
-
 
24
			if ($name_svc != "icmp") {
23
			if ($name_svc != "icmp") {echo "<td><input type='checkbox' name='del-$name_svc'>";}
25
				echo "<input type='checkbox' name='del-$name_svc'>";}
-
 
26
			else {
-
 
27
				echo "&nbsp;";}		
24
			echo "</tr>";
28
			echo "</tr>";
25
			}
29
			}
26
		}
30
		}
27
	}
31
	}
28
?>
32
?>
29
</table>
33
</table>
30
<input type='hidden' name='choix' value='change_port'>
34
<input type='hidden' name='choix' value='change_port'>
31
<input type='submit' value='<?echo"$l_save_modif";?>'>
35
<input type='submit' value='<?echo"$l_save";?>'>
32
</form></td><td valign='middle' align='center'>
36
</form></td><td valign='middle' align='center'>
33
<form action='net_filter.php' method='POST'>
37
<form action='net_filter.php' method='POST'>
34
<table cellspacing=2 cellpadding=3 border=1>
38
<table cellspacing=2 cellpadding=3 border=1>
35
<tr><th><?echo"$l_port<th>$l_proto"?></tr>
39
<tr><th><?echo"$l_port<th>$l_proto"?></tr>
36
<tr><td><input type='text' name='add_port' size='5'></td>
40
<tr><td><input type='text' name='add_port' size='5'></td>