Forward Firewall: little changes in ruletable layout. (Headline)
authorAlexander Marx <amarx@ipfire.org>
Mon, 8 Apr 2013 13:32:49 +0000 (15:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:12:39 +0000 (14:12 +0200)
html/cgi-bin/forwardfw.cgi
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl

index 68a18b428bf6e544c7ed5e4aff286f86dfd08e7a..584f7f093adc6702ecd95ad3fcd0c90e83165788 100755 (executable)
@@ -77,7 +77,7 @@ my %aliases=();
 my %optionsfw=();
 my %ifaces=();
 
-my $VERSION='0.9.9.2';
+my $VERSION='0.9.9.3';
 my $color;
 my $confignet          = "${General::swroot}/fwhosts/customnetworks";
 my $confighost         = "${General::swroot}/fwhosts/customhosts";
@@ -593,7 +593,7 @@ sub addrule
        if (-f "${General::swroot}/forward/reread"){
                print "<table border='0'><form method='post'><td><div style='font-size:11pt; font-weight: bold;vertical-align: middle; '><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-face: Comic Sans MS; color: red; font-weight: bold; font-size: 14pt; text-decoration: blink;'>&nbsp &nbsp $Lang::tr{'fwhost reread'}</div</td></tr></table></form><hr><br>";
        }
-       &Header::openbox('100%', 'left', $Lang::tr{'firewall'});
+       &Header::openbox('100%', 'left', "");
        print "<form method='post'>";
        print "<table border='0'>";
        print "<tr><td><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw newrule'}'></td>";
@@ -1622,11 +1622,7 @@ sub newrule
                }       
        }
        &Header::openbox('100%', 'left', $Lang::tr{'fwdfw addrule'});
-       if ($fwdfwsettings{'TIME'} eq 'ON'){    
-               $fwdfwsettings{'TIME_FROM'} = &timeconvert($fwdfwsettings{'TIME_FROM'},'');
-               $fwdfwsettings{'TIME_TO'} = &timeconvert($fwdfwsettings{'TIME_TO'},'');
-       }
-print "<form method='post'>";
+       print "<form method='post'>";
        &Header::closebox();
        &Header::openbox('100%', 'left', $Lang::tr{'fwdfw source'});
        #------SOURCE-------------------------------------------------------
@@ -2241,11 +2237,11 @@ sub validremark
 sub viewtablerule
 {
        &General::readhash("/var/ipfire/ethernet/settings", \%netsettings);
-       &viewtablenew(\%configdmzfw,$configdmz,$Lang::tr{'fwdfw rules'},"DMZ" );
+       &viewtablenew(\%confignatfw,$confignat,"$Lang::tr{'fwdfw rules'}","Portforward / SNAT" );
        &viewtablenew(\%configfwdfw,$configfwdfw,"","Forward" );
-       &viewtablenew(\%configinputfw,$configinput,"",$Lang::tr{'external access'} );
        &viewtablenew(\%configoutgoingfw,$configoutgoing,"","Outgoing" );
-       &viewtablenew(\%confignatfw,$confignat,"","NAT" );
+       &viewtablenew(\%configinputfw,$configinput,"",$Lang::tr{'fwdfw xt access'} );
+       &viewtablenew(\%configdmzfw,$configdmz,"","DMZ" );
 }
 sub viewtablenew
 {
index 865a9348f8714ae6aebffef4cefdb28b352aeae8..485c9ff4e0c207acd541a63045cab87419e30f93 100644 (file)
 'fwdfw additional'             => 'Zusätzlich',
 'fwdfw action'                 => 'Aktion',
 'fwdfw menu'                   => 'Firewall',
-'fwdfw addrule'                => 'Neue Regel hinzufügen:',
+'fwdfw addrule'                => 'Regel hinzufügen/ändern:',
 'fwdfw addr grp'               => 'Adressgruppen:',
 'fwdfw change'                 => 'Aktualisieren',
 'fwdfw cust addr'              => 'Custom Adressen:',
 'fwdfw wd_fri'                 => 'Fr',
 'fwdfw wd_sat'                 => 'Sa',
 'fwdfw wd_sun'                 => 'So',
+'fwdfw xt access'              => 'Zugriff auf Firewall',
 'fwhost addgrp'                => 'Gruppe:',
 'fwhost addgrpname'            => 'Gruppenname:',
 'fwhost addhost'               => 'Adresse:',
 'fwhost addnet'                => 'Netzwerk:',
-'fwhost addrule'               => 'Neue Regel hinzufügen:',
+'fwhost addrule'               => 'Regel hinzufügen/ändern:',
 'fwhost any'                   => 'Alle',
 'fwhost attention'             => 'ACHTUNG',
 'fwhost back'                  => 'Zurück',
index f3ce76bf722583aabc696c45cecf43125ba691c2..bf730ff681639a865caaf148ba47925fd16ab4dc 100644 (file)
 'fwdfw additional'             => 'Additional',
 'fwdfw action'                 => 'Action',
 'fwdfw menu'                   => 'Firewall',
-'fwdfw addrule'                => 'Add new rule:',
+'fwdfw addrule'                => 'Add/Edit rule:',
 'fwdfw addr grp'               => 'Adress groups:',
 'fwdfw change'                 => 'Update',
 'fwdfw cust addr'              => 'Custom addresses:',
 'fwdfw togglelog'              => 'Activate or deactivate logging',
 'fwdfw use nat'                        => 'Use NAT',
 'fwdfw useless rule'   => 'This rule is rejected (useless).',
-'fwdfw use srcport'            => 'Use sourceport',
-'fwdfw use srv'                        => 'Use targetport',
+'fwdfw use srcport'            => 'Use source port',
+'fwdfw use srv'                        => 'Use target port',
 'fwdfw natport used'   => 'The NAT port is already used by another DNAT rule',
 'fwdfw newrule'                => 'New rule',
 'fwdfw wd_mon'                 => 'Mon',
 'fwdfw wd_fri'                 => 'Fri',
 'fwdfw wd_sat'                 => 'Sat',
 'fwdfw wd_sun'                 => 'Sun',
+'fwdfw xt access'              => 'Access to firewall',
 'fwhost addgrp'                => 'Group:',
 'fwhost addgrpname'            => 'Groupname:',
 'fwhost addhost'               => 'Address:',
 'fwhost addnet'                => 'Network:',
-'fwhost addrule'               => 'Add new rule:',
+'fwhost addrule'               => 'Add/Edit rule:',
 'fwhost any'                   => 'Any',
 'fwhost attention'             => 'ATTENTION',
 'fwhost back'                  => 'back',