</div>
<div id="PROTOCOL_ICMP_TYPES">
- <table width='30%' border='0' style="float:left;">
+ <table width='50%' border='0' style="float:left;">
<tr>
- <td>$Lang::tr{'fwhost icmptype'}</td>
+ <td width='20%'>$Lang::tr{'fwhost icmptype'}</td>
<td colspan='2'>
<select name='ICMP_TYPES' style='min-width:230px;'>
END
// Check if we are dealing with a protocol, that knows ports.
if (\$.inArray(protocol, PROTOCOLS_WITH_PORTS) >= 0) {
\$("#PORT").show();
+ \$("#PROTOKOLL").hide();
} else {
\$("#PORT").hide();
- }
-
- // Handle ICMP.
- if (protocol === "ICMP") {
\$("#PROTOKOLL").show();
- } else {
- \$("#PROTOKOLL").hide();
}
};
\$(document).ready(function() {
var protocol = \$("#protocol").val();
-
- // Handle ICMP.
- if (protocol === "ICMP") {
- \$("#PROTOKOLL").show();
- \$("#PORT").hide();
- } else {
- \$("#PROTOKOLL").hide();
- \$("#PORT").show();
- }
\$("#protocol").change(update_protocol);
update_protocol();
});
'fw settings dropdown' => 'Alle Netzwerke auf Regelerstellungsseite anzeigen',
'fw settings remark' => 'Anmerkungen in Regeltabelle anzeigen',
'fw settings ruletable' => 'Leere Regeltabellen anzeigen',
+'fwdfw all icmp' => 'Alle ICMP-Typen',
'fwdfw ACCEPT' => 'Akzeptieren (ACCEPT)',
'fwdfw DROP' => 'Verwerfen (DROP)',
'fwdfw MODE1' => 'Alle Pakete verwerfen',
'fwdfw action' => 'Aktion',
'fwdfw additional' => 'Weitere Einstellungen',
'fwdfw addrule' => 'Regel hinzufügen/ändern:',
-'fwdfw all icmp' => 'Alle ICMP-Typen',
'fwdfw change' => 'Aktualisieren',
'fwdfw copy' => 'Kopieren',
'fwdfw delete' => 'Löschen',
'fw settings dropdown' => 'Show all networks on rulecreation site',
'fw settings remark' => 'Show remarks in ruletable',
'fw settings ruletable' => 'Show empty ruletables',
+'fwdfw all icmp' => 'All ICMP types',
'fwdfw ACCEPT' => 'ACCEPT',
'fwdfw DROP' => 'DROP',
'fwdfw MODE1' => 'Drop all packets',
'fwdfw action' => 'Action',
'fwdfw additional' => 'Additional settings',
'fwdfw addrule' => 'Add/Edit rule:',
-'fwdfw all icmp' => 'All ICMP-Types',
'fwdfw change' => 'Update',
'fwdfw copy' => 'Copy',
'fwdfw delete' => 'Delete',