]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Qosgraphen in das Standardschema gepackt
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 28 Jul 2007 17:03:50 +0000 (17:03 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 28 Jul 2007 17:03:50 +0000 (17:03 +0000)
Qosgraph CGI komplett neu
Qos CGI multilingual
(ich hoffe das geht ueberhaupt noch was :D )

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@724 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/cfgroot/graphs.pl
config/rootfiles/common/apache2
doc/language_issues.de
doc/language_issues.en
html/cgi-bin/qos.cgi
html/cgi-bin/qosgraph.cgi [new file with mode: 0644]
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl

index 3390811157425eddebad7410bc7829678799c113..82b8d1dfca48bf9cf28854ba6aaeed8249186ed5 100644 (file)
@@ -1,6 +1,8 @@
+#!/usr/bin/perl
 # Generate Graphs exported from Makegraphs to minimize system load an only generate the Graphs when displayed
 # This is part of the IPFire Firewall
 
+
 package Graphs;
 
 use strict;
@@ -502,3 +504,69 @@ sub updatevoltgraph
     $ERROR = RRDs::error;
     print("Error in RRD::graph for temp: $ERROR\n")if $ERROR;
 }
+
+sub overviewgraph {
+
+  my $period = $_[0];
+  my $periodstring;
+  my $description;
+  my %qossettings = ();
+  &General::readhash("${General::swroot}/qos/settings", \%qossettings);
+  my $classentry = "";
+  my @classes = ();
+  my @classline = ();
+  my $classfile = "/var/ipfire/qos/classes";
+  
+       $qossettings{'DEV'} = $_[1];
+       if ( $qossettings{'DEV'} eq $qossettings{'RED_DEV'} ) { 
+               $qossettings{'CLASSPRFX'} = '1';
+       } else { 
+               $qossettings{'CLASSPRFX'} = '2';
+       }
+       
+  if ( $period ne '3240' ){ $periodstring = "-1$period";}else{ $periodstring = "-".$period;}
+  if ( $period ne '3240' ){ $description = "-t $Lang::tr{'Utilization on'} ($qossettings{'DEV'}) ($Lang::tr{'graph per'} $Lang::tr{$period})";}else{ $description = "-t $Lang::tr{'Utilization on'} ($qossettings{'DEV'})";}
+       
+       my $ERROR="";
+       my $count="1";
+       my $color="#000000";
+       my @command=("/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'DEV'}-$period.png",
+               "--start", $periodstring, "-aPNG", "-i", "-z",
+               "--alt-y-grid", "-w 600", "-h 150", "-r",
+    "--color", "SHADEA".$color{"color19"},
+    "--color", "SHADEB".$color{"color19"},
+    "--color", "BACK".$color{"color21"},
+               $description
+       );
+       open( FILE, "< $classfile" ) or die "Unable to read $classfile";
+       @classes = <FILE>;
+       close FILE;
+       foreach $classentry (sort @classes)
+       {
+               @classline = split( /\;/, $classentry );
+               if ( $classline[0] eq $qossettings{'DEV'} )
+               {
+                       $color=random_hex_color(6);
+                       push(@command, "DEF:$classline[1]=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$classline[1]_$qossettings{'DEV'}.rrd:bits:AVERAGE");
+
+                       if ($count eq "1") {
+                               push(@command, "AREA:$classline[1]$color:Klasse $classline[1] - $classline[8]\\j");
+                       } else {
+                               push(@command, "STACK:$classline[1]$color:Klasse $classline[1] - $classline[8]\\j");
+                       }
+                       $count++;
+               }
+       }
+       RRDs::graph (@command);
+       $ERROR = RRDs::error;
+       print "$ERROR";
+}
+
+sub random_hex_color {
+    my $size = shift;
+    $size = 6 if $size !~ /^3|6$/;
+    my @hex = ( 0 .. 9, 'a' .. 'f' );
+    my @color;
+    push @color, @hex[rand(@hex)] for 1 .. $size;
+    return join('', '#', @color);
+}
index f2a534152bfe3cf7ac62590c8df34cdd9b8e1382..04fa07b34849bc86b01c60aa5f9d9a0c31751f3b 100644 (file)
@@ -1309,6 +1309,7 @@ srv/web/ipfire/cgi-bin/pppsetup.cgi
 srv/web/ipfire/cgi-bin/proxy.cgi
 srv/web/ipfire/cgi-bin/proxygraphs.cgi
 srv/web/ipfire/cgi-bin/qos.cgi
+srv/web/ipfire/cgi-bin/qosgraph.cgi
 srv/web/ipfire/cgi-bin/remote.cgi
 srv/web/ipfire/cgi-bin/services.cgi
 srv/web/ipfire/cgi-bin/speed.cgi
index 843fd288ba2cf2580daae804bd922eea21b92610..02415de62d3df281d228682946f3dc1f9b1c08bf 100644 (file)
@@ -100,7 +100,6 @@ WARNING: translation string unused: disconnect
 WARNING: translation string unused: display traffic at home
 WARNING: translation string unused: dns server
 WARNING: translation string unused: do not log this port list
-WARNING: translation string unused: downlink speed
 WARNING: translation string unused: dynamic dns client
 WARNING: translation string unused: eciadsl help
 WARNING: translation string unused: eciadsl upload
@@ -335,7 +334,6 @@ WARNING: translation string unused: update transcript
 WARNING: translation string unused: updates
 WARNING: translation string unused: updates is old1
 WARNING: translation string unused: updates is old2
-WARNING: translation string unused: uplink speed
 WARNING: translation string unused: upload file
 WARNING: translation string unused: upload static key
 WARNING: translation string unused: upload successful
index 5eb881c3268a263c632a182da2b915823447c4ae..8d21491335198eca7817160a2aa7e3b0057ad526 100644 (file)
@@ -124,7 +124,6 @@ WARNING: translation string unused: display traffic at home
 WARNING: translation string unused: dns server
 WARNING: translation string unused: do not log this port list
 WARNING: translation string unused: done
-WARNING: translation string unused: downlink speed
 WARNING: translation string unused: dynamic dns client
 WARNING: translation string unused: eciadsl help
 WARNING: translation string unused: eciadsl upload
@@ -367,7 +366,6 @@ WARNING: translation string unused: update transcript
 WARNING: translation string unused: updates
 WARNING: translation string unused: updates is old1
 WARNING: translation string unused: updates is old2
-WARNING: translation string unused: uplink speed
 WARNING: translation string unused: upload fcdsl.o
 WARNING: translation string unused: upload file
 WARNING: translation string unused: upload static key
index 5e600ed569c3da949f3bcf5db4164c39ef568f69..396f88195fe2df74c7b871b6c1c7a16dd4149e2c 100644 (file)
@@ -16,6 +16,7 @@ use CGI::Carp 'fatalsToBrowser';
 require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
+require "${General::swroot}/graphs.pl";
 
 my %qossettings = ();
 my %checked = ();
@@ -186,7 +187,7 @@ elsif ($qossettings{'DOCLASS'} eq 'Loeschen')
                }
        }
        close FILE;
-       $message = "Klasse $qossettings{'CLASS'} wurde mit eventuell vorhandenen Unterklassen geloescht.";
+       $message = "$Lang::tr{'Class'} $qossettings{'CLASS'} $Lang::tr{'Class was deleted'}";
 }
 
 ############################################################################################################################
@@ -221,7 +222,7 @@ END
                }
        }
        close FILE;
-       $message = "Unterklasse $qossettings{'CLASS'} wurde geloescht.";
+       $message = "$Lang::tr{'Subclass'} $qossettings{'CLASS'} $Lang::tr{'was deleted'}.";
 }
 
 ############################################################################################################################
@@ -350,7 +351,7 @@ END
                }
        }
        close FILE;
-       $message = "Port-Regel ($qossettings{'CLASS'} - $qossettings{'PPROT'}) wurde geloescht.";
+       $message = "$Lang::tr{'Port Rule'} ($qossettings{'CLASS'} - $qossettings{'PPROT'}) $Lang::tr{'was deleted'}.";
 }  elsif ($qossettings{'DOPORT'} eq 'Bearbeiten')
 {
        open( FILE, "< $portfile" ) or die "Unable to read $portfile";
@@ -408,7 +409,7 @@ elsif ($qossettings{'DOTOS'} eq 'Loeschen')
                }
        }
        close FILE;
-       $message = "TOS-Regel ($qossettings{'CLASS'} - $qossettings{'TOS'}) wurde geloescht.";
+       $message = "$Lang::tr{'TOS Rule'} ($qossettings{'CLASS'} - $qossettings{'TOS'}) $Lang::tr{'was deleted'}.";
 } elsif ($qossettings{'DOTOS'} eq 'Bearbeiten')
 {
        open( FILE, "< $tosfile" ) or die "Unable to read $tosfile";
@@ -482,7 +483,7 @@ elsif ($qossettings{'ACTION'} eq 'Statusinformationen')
                $output = `/usr/local/bin/qosctrl status`;
                $output = &Header::cleanhtml($output,"y");
                print "<pre>$output</pre>\n";
-       } else { print "QoS ist nicht aktiviert!"; }
+       } else { print "$Lang::tr{'QoS not enabled'}"; }
        &Header::closebox();
        &Header::closebigbox();
        &Header::closepage();
@@ -504,10 +505,10 @@ elsif ($qossettings{'ACTION'} eq 'Unterklasse hinzufuegen')
 }
 elsif ($qossettings{'ACTION'} eq 'Regel hinzufuegen')
 {
-       &Header::openbox('100%', 'center', 'Regel hinzufuegen');
+       &Header::openbox('100%', 'center', $Lang::tr{'Add Rule'});
        print <<END
                <table>
-               <tr><td align='center'>Waehlen sie <u>eine</u> der untenstehenden Regeln aus.
+               <tr><td align='center'>$Lang::tr{'Choose Rule'}
                <tr><td align='center'>
                        <input type="button" onClick="swapVisibility('l7rule')" value='Level7-Regel' />
                        <input type="button" onClick="swapVisibility('portrule')" value='Port-Regel' />
@@ -610,9 +611,9 @@ END
     <form method='post' action='$ENV{'SCRIPT_NAME'}'>
          <table width='66%'>
                <tr><td colspan='3'>&nbsp;
-               <tr><td width='40%' align='right'>Downloadgeschwindigkeit:      <td width='40%' align='left'>$qossettings{'INC_SPD'} kbps
+               <tr><td width='40%' align='right'>$Lang::tr{'downlink speed'}:  <td width='40%' align='left'>$qossettings{'INC_SPD'} kbps
                    <td width='20%' rowspan='2' align='center' valign='middle'><input type='submit' name='ACTIONBW' value='Andern' />
-               <tr><td width='40%' align='right'>Uploadgeschwindigkeit:        <td width='40%' align='left'>$qossettings{'OUT_SPD'} kbps
+               <tr><td width='40%' align='right'>$Lang::tr{'uplink speed'}:    <td width='40%' align='left'>$qossettings{'OUT_SPD'} kbps
                </table></form>
 END
 ;
@@ -622,9 +623,9 @@ END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
                <tr><td colspan='3'><hr />
-               <tr><td width='40%' align='right'>Downloadstandardklasse:       <td width='40%' align='left'>$qossettings{'DEFCLASS_INC'}       
+               <tr><td width='40%' align='right'>$Lang::tr{'downlink std class'}:      <td width='40%' align='left'>$qossettings{'DEFCLASS_INC'}       
                    <td width='20%' rowspan='3' align='center' valign='middle'><input type='submit' name='ACTIONDEF' value='Andern' />
-               <tr><td width='40%' align='right'>Uploadstandardklasse:         <td width='40%' align='left'>$qossettings{'DEFCLASS_OUT'}
+               <tr><td width='40%' align='right'>$Lang::tr{'uplink std class'}:        <td width='40%' align='left'>$qossettings{'DEFCLASS_OUT'}
                <tr><td width='40%' align='right'>ACKs:                         <td width='40%' align='left'>$qossettings{'ACK'}
                <tr><td colspan='3' width='100%'><hr />
                <tr><td colspan='3' width='100%' align='center'>
@@ -657,20 +658,24 @@ if ( ($qossettings{'DEFCLASS_INC'} eq '') || ($qossettings{'DEFCLASS_OUT'} eq ''
 }
 
 &Header::openbox('100%', 'center', $Lang::tr{'info'});
-&overviewgraph($qossettings{'RED_DEV'});
-&overviewgraph($qossettings{'IMQ_DEV'});
+&Graphs::overviewgraph("3240",$qossettings{'RED_DEV'});
+&Graphs::overviewgraph("3240",$qossettings{'IMQ_DEV'});
 print <<END
        <table>
-               <tr><td colspan='9' align='center' valign='middle'><img alt="" src='/images/addblue.gif' />&nbsp;Unterklasse hinzufuegen | <img alt="" src='/images/addgreen.gif' />&nbsp;Regel hinzufuegen | <img alt="" src='/images/edit.gif' />&nbsp;Bearbeiten | <img alt="" src='/images/delete.gif' />&nbsp;Loeschen &nbsp;
-               <tr><td colspan='9' align='right' valign='middle'><b>TOS-Bits:</b>&nbsp;&nbsp;<b>0</b> - Deaktiviert | <b>8</b> - Minimale Verzoegerung | <b>4</b> - Maximaler Durchsatz | <b>2</b> - Maximale Zuverlaessigkeit | <b>1</b> - Minimale Kosten &nbsp;
+               <tr><td colspan='9' align='center' valign='middle'><img alt="" src='/images/addblue.gif' />&nbsp;$Lang::tr{'add subclass'} | <img alt="" src='/images/addgreen.gif' />&nbsp;$Lang::tr{'Add Rule'} | <img alt="" src='/images/edit.gif' />&nbsp;$Lang::tr{'edit'} | <img alt="" src='/images/delete.gif' />&nbsp;$Lang::tr{'delete'} &nbsp;
+               <tr><td colspan='9' align='right' valign='middle'><b>$Lang::tr{'TOS Bits'}:</b>&nbsp;&nbsp;<b>0</b> - $Lang::tr{'disabled'} | <b>8</b> - $Lang::tr{'min delay'} | <b>4</b> - $Lang::tr{'max throughput'} | <b>2</b> - $Lang::tr{'max reliability'} | <b>1</b> - $Lang::tr{'min costs'} &nbsp;
 END
 ;
-if (( -e "/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'RED_DEV'}.png") && ( -e "/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'IMQ_DEV'}.png")) {
+if (( -e "/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'RED_DEV'}-3240.png") && ( -e "/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'IMQ_DEV'}-3240.png")) {
        print <<END
-               <tr><td colspan='9' align='center'><img alt="" src="/graphs/qos-graph-$qossettings{'RED_DEV'}.png" />
-               <tr><td colspan='9' align='center'><img alt="" src="/graphs/qos-graph-$qossettings{'IMQ_DEV'}.png" />
+               <tr><td colspan='9' align='center'><a href='/cgi-bin/qosgraph.cgi?graph=$qossettings{'RED_DEV'}'><img alt="" src="/graphs/qos-graph-$qossettings{'RED_DEV'}-3240.png" border='0' /></a></td></tr>
+               <tr><td colspan='9' align='center'><a href='/cgi-bin/qosgraph.cgi?graph=$qossettings{'IMQ_DEV'}'><img alt="" src="/graphs/qos-graph-$qossettings{'IMQ_DEV'}-3240.png" border='0' /></a></td></tr>
 END
 ;}
+else 
+{
+print $Lang::tr{'no information available'};
+}
 print "\t</table>";
 
 &Header::closebox();
@@ -685,11 +690,11 @@ print "\t</table>";
 ############################################################################################################################
 
 sub changedefclasses {
-       &Header::openbox('100%', 'center', 'Standardklassen:');
+       &Header::openbox('100%', 'center', $Lang::tr{'std classes'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
-               <tr><td width='100%' colspan='3'>Legen sie hier die Standardklassen fest durch die nicht-gefilterte Pakete gehen.
+               <tr><td width='100%' colspan='3'>$Lang::tr{'no filter pass'}
                <tr><td width='33%' align='right'>Download:<td width='33%' align='left'><select name='DEFCLASS_INC'>
 END
 ;
@@ -715,7 +720,7 @@ END
                </table>
                <hr />
                <table width='66%'>
-               <tr><td width='100%' colspan='3'>Legen sie hier die ACK-Klasse fest <br /> und klicken Sie danach auf <i>Speichern</i>.
+               <tr><td width='100%' colspan='3'>$Lang::tr{'enter ack class'}
                <tr><td width='33%' align='right'>ACKs:<td width='33%' align='left'><select name='ACK'>
 END
 ;
@@ -735,20 +740,20 @@ END
 }
 
 sub changebandwidth {
-       &Header::openbox('100%', 'center', 'Bandbreiteneinstellungen');
+       &Header::openbox('100%', 'center', $Lang::tr{'bandwithsettings'});
        if ($qossettings{'ENABLED'} eq 'on') {
-               print "Sie koennen die Bandbreiteneinstellungen nicht bearbeiten, wenn QoS eingeschaltet ist. Schalten sie es zuerst dazu aus.<p>";
-               print "<a href='/cgi-bin/qos.cgi'>Zurueck</a>";
+               print "$Lang::tr{'bandwitherror'}";
+               print "<a href='/cgi-bin/qos.cgi'>$Lang::tr{'back'}</a>";
        } else {
                print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <input type='hidden' name='DEF_OUT_SPD' value='' /><input type='hidden' name='DEF_INC_SPD' value='' />
                <table width='66%'>
-               <tr><td width='100%' colspan='3'>Geben Sie bitte hier ihre Download- bzw. Upload-Geschwindigkeit ein <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='33%' align='right'>Download-Geschwindigkeit:
+               <tr><td width='100%' colspan='3'>$Lang::tr{'down and up speed'}
+               <tr><td width='33%' align='right'>$Lang::tr{'downlink speed'}:
                    <td width='33%' align='left'><input type='text' name='INC_SPD' maxlength='8' value="$qossettings{'INC_SPD'}" /> &nbsp; kbps
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Upload-Geschwindigkeit:
+               <tr><td width='33%' align='right'>$Lang::tr{'uplink speed'}:
                    <td width='33%' align='left'><input type='text' name='OUT_SPD' maxlength='8' value="$qossettings{'OUT_SPD'}" /> &nbsp; kbps
                    <td width='33%' align='center'><input type='submit' name='ACTION' value="$Lang::tr{'save'}" />&nbsp;<input type='reset' name='ACTION' value="$Lang::tr{'reset'}" />
                </table>
@@ -760,7 +765,7 @@ END
 }
 
 sub parentclass {
-       &Header::openbox('100%', 'center', 'Parentklasse');
+       &Header::openbox('100%', 'center', $Lang::tr{'parentclass'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
@@ -774,8 +779,8 @@ END
                print "<input type='hidden' name='DEVICE' value='$qossettings{'DEVICE'}' />";
        }
        print <<END
-               <tr><td width='100%' colspan='3'>Geben sie die Daten ein <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='33%' align='right'>Interface:
+               <tr><td width='100%' colspan='3'>$Lang::tr{'enter data'}
+               <tr><td width='33%' align='right'>$Lang::tr{'interface'}:
                    <td width='33%' align='left'>
 END
 ;
@@ -793,7 +798,7 @@ END
                        <option value='$qossettings{'RED_DEV'}' $qossettings{'RED_DEV_SEL'}>$qossettings{'RED_DEV'}</option>
                        <option value='$qossettings{'IMQ_DEV'}' $qossettings{'IMQ_DEV_SEL'}>$qossettings{'IMQ_DEV'}</option></select>
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Klasse:<td width='33%' align='left'>
+               <tr><td width='33%' align='right'>$Lang::tr{'Class'}:<td width='33%' align='left'>
 END
 ;
                if ( $qossettings{'EDIT'} eq 'yes' ) { 
@@ -816,7 +821,7 @@ END
                print <<END
                </select>
                <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Prioritaet:<td width='33%' align='left'><select name='PRIO'>
+               <tr><td width='33%' align='right'>$Lang::tr{'priority'}:<td width='33%' align='left'><select name='PRIO'>
 END
 ;
                for ( $c = 1 ; $c <= 7 ; $c++ )
@@ -829,10 +834,10 @@ END
                print <<END
                </select>
                <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Garantierte Bandbreite:
+               <tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwith'}:
                    <td width='33%' align='left'><input type='text' size='20' name='MINBWDTH' maxlength='8' required='1' value="$qossettings{'MINBWDTH'}" />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Maximale Bandbreite:
+               <tr><td width='33%' align='right'>$Lang::tr{'max bandwith'}:
                    <td width='33%' align='left'><input type='text' size='20' name='MAXBWDTH' maxlength='8' required='1' value="$qossettings{'MAXBWDTH'}" />
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>Burst:
@@ -843,11 +848,11 @@ END
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>TOS-Bit:
                    <td width='33%' align='left'><select name='TOS'>
-                               <option value='0'>Ausgeschaltet (0)</option>
-                               <option value='8'>Minimale Verzoegerung (8)</option>
-                               <option value='4'>Maximaler Durchsatz (4)</option>
-                               <option value='2'>Maximale Zuverlaessigkeit (2)</option>
-                               <option value='1'>Minimale Kosten (1)</option></select>
+                               <option value='0'>$Lang::tr{'disabled'} (0)</option>
+                               <option value='8'>$Lang::tr{'min delay'} (8)</option>
+                               <option value='4'>$Lang::tr{'max throughput'} (4)</option>
+                               <option value='2'>$Lang::tr{'max reliability'} (2)</option>
+                               <option value='1'>$Lang::tr{'min costs'} (1)</option></select>
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>$Lang::tr{'remark'}:
                    <td width='66%' colspan='2' align='left'><input type='text' name='REMARK' size='40' maxlength='40' value="$qossettings{'REMARK'}" /> <img alt="" alt='blob' src='/blob.gif' />
@@ -861,7 +866,7 @@ END
 }
 
 sub subclass {
-       &Header::openbox('100%', 'center', 'Unterklasse');
+       &Header::openbox('100%', 'center', $Lang::tr{'Subclass'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
@@ -871,9 +876,9 @@ END
                print "<tr><td colspan='3' align='center'>$message";
        }
        print <<END
-               <tr><td colspan='3' width='100%'>Aktuelle Klasse: $qossettings{'CLASS'}
-               <tr><td width='100%' colspan='3'>Geben sie die Daten ein <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='33%' align='right'>Unterklasse:<td width='33%' align='left'><select name='SCLASS'>
+               <tr><td colspan='3' width='100%'>$Lang::tr{'current class'}: $qossettings{'CLASS'}
+               <tr><td width='100%' colspan='3'>$Lang::tr{'enter data'}
+               <tr><td width='33%' align='right'>$Lang::tr{'Subclass'}:<td width='33%' align='left'><select name='SCLASS'>
 END
 ;
        if ($qossettings{'CLASS'} >= 100 && $qossettings{'CLASS'} < 121) {
@@ -896,7 +901,7 @@ END
        print <<END
                </select>
                <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Prioritaet:<td width='33%' align='left'><select name='PRIO'>
+               <tr><td width='33%' align='right'>$Lang::tr{'priority'}:<td width='33%' align='left'><select name='PRIO'>
 END
 ;
                for ( $c = 1 ; $c <= 7 ; $c++ )
@@ -907,10 +912,10 @@ END
                }
                print <<END
                <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Garantierte Bandbreite:
+               <tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwith'}:
                    <td width='33%' align='left'><input type='text' name='MINBWDTH' maxlength='8' required='1' value="$qossettings{'MINBWDTH'}" />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Maximale Bandbreite:
+               <tr><td width='33%' align='right'>$Lang::tr{'max bandwith'}:
                    <td width='33%' align='left'><input type='text' name='MAXBWDTH' maxlength='8' required='1' value="$qossettings{'MAXBWDTH'}" />
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>Burst:
@@ -921,11 +926,11 @@ END
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>TOS-Bit:
                    <td width='33%' align='left'><select name='TOS'>
-                               <option value='0'>Ausgeschaltet (0)</option>
-                               <option value='8'>Minimale Verzoegerung (8)</option>
-                               <option value='4'>Maximaler Durchsatz (4)</option>
-                               <option value='2'>Maximale Zuverlaessigkeit (2)</option>
-                               <option value='1'>Minimale Kosten (1)</option></select>
+                               <option value='0'>$Lang::tr{'disabled'} (0)</option>
+                               <option value='8'>$Lang::tr{'min delay'} (8)</option>
+                               <option value='4'>$Lang::tr{'max throughput'} (4)</option>
+                               <option value='2'>$Lang::tr{'max reliability'} (2)</option>
+                               <option value='1'>$Lang::tr{'min costs'} (1)</option></select>
                    <td width='33%' align='center'><input type='hidden' name='CLASS' value="$qossettings{'CLASS'}" />
                                                        <input type='hidden' name='DEVICE' value="$qossettings{'DEVICE'}" />
                                                        <input type='submit' name='DOSCLASS' value='$Lang::tr{'save'}' />&nbsp;<input type='reset' value='$Lang::tr{'reset'}' />
@@ -936,7 +941,7 @@ END
 }
 
 sub level7rule {
-       &Header::openbox('100%', 'center', 'Level7-Regel');
+       &Header::openbox('100%', 'center', $Lang::tr{'Level7 Rule'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
@@ -946,9 +951,9 @@ END
                print "<tr><td colspan='3' align='center'><font color='red'>$message</font>";
        }
        print <<END
-               <tr><td colspan='3' width='100%'>Aktuelle Klasse: $qossettings{'CLASS'}
-               <tr><td width='100%' colspan='3'>Geben sie die Daten ein <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='33%' align='right'>Protokoll:
+               <tr><td colspan='3' width='100%'>$Lang::tr{'current class'}: $qossettings{'CLASS'}
+               <tr><td width='100%' colspan='3'>$Lang::tr{'enter data'}
+               <tr><td width='33%' align='right'>$Lang::tr{'protocol'}:
                    <td width='33%' align='left'><select name='L7PROT'>
 END
 ;
@@ -968,10 +973,10 @@ END
                closedir DIR;
        print <<END
                    </select><td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Quell-IP-Adresse:
+               <tr><td width='33%' align='right'>$Lang::tr{'source ip'}:
                    <td width='33%' align='left'><input type='text' name='QIP' maxlength='15' value='$qossettings{'QIP'}' />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Ziel-IP-Adresse:
+               <tr><td width='33%' align='right'>$Lang::tr{'destination ip'}:
                    <td width='33%' align='left'><input type='text' name='DIP' maxlength='15' value='$qossettings{'DIP'}' />
                    <td width='33%' align='center'><input type='hidden' name='CLASS' value='$qossettings{'CLASS'}' /><input type='submit' name='DOLEVEL7' value='$Lang::tr{'save'}' />
                </table></form>
@@ -981,12 +986,12 @@ END
 }
 
 sub portrule {
-       &Header::openbox('100%', 'center', 'Port-Regel hinzufuegen');
+       &Header::openbox('100%', 'center', $Lang::tr{'Add Port Rule'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
-               <tr><td width='100%' colspan='3'>Geben sie die Daten ein <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='33%' align='right'>Protokoll:
+               <tr><td width='100%' colspan='3'>$Lang::tr{'enter data'}
+               <tr><td width='33%' align='right'>$Lang::tr{'protocol'}:
                    <td width='33%' align='left'><select name='PPROT'>
 END
 ;
@@ -1005,16 +1010,16 @@ END
                        }
        print <<END
                    </select><td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Quell-Port:
+               <tr><td width='33%' align='right'>$Lang::tr{'source port'}:
                    <td width='33%' align='left'><input type='text' name='QPORT' maxlength='5' value='$qossettings{'QPORT'}' />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Ziel-Port:
+               <tr><td width='33%' align='right'>$Lang::tr{'destination port'}:
                    <td width='33%' align='left'><input type='text' name='DPORT' maxlength='5' value='$qossettings{'DPORT'}' />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Quell-IP-Adresse:
+               <tr><td width='33%' align='right'>$Lang::tr{'source ip'}:
                    <td width='33%' align='left'><input type='text' name='QIP' maxlength='15' value='$qossettings{'QIP'}' />
                    <td width='33%' align='center'>&nbsp;
-               <tr><td width='33%' align='right'>Ziel-IP-Adresse:
+               <tr><td width='33%' align='right'>$Lang::tr{'destination ip'}:
                    <td width='33%' align='left'><input type='text' name='DIP' maxlength='15' value='$qossettings{'DIP'}' />
                    <td width='33%' align='center'><input type='hidden' name='CLASS' value='$qossettings{'CLASS'}' /><input type='submit' name='DOPORT' value='$Lang::tr{'save'}' />
                </table></form>
@@ -1024,9 +1029,9 @@ END
 }
 
 sub tosrule {
-       &Header::openbox('100%', 'center', 'TOS-Regel');
+       &Header::openbox('100%', 'center', $Lang::tr{'TOS Rule'});
        if ($qossettings{'TOS'}) {
-               $checked[$qossettings{'TOS'}] = "checked";
+               $checked{$qossettings{'TOS'}} = "checked";
        }
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
@@ -1037,12 +1042,12 @@ END
                print "<tr><td colspan='3' align='center'><font color='red'>$message</font>";
        }
        print <<END
-               <tr><td colspan='2' width='100%'>Aktuelle Klasse: $qossettings{'CLASS'}
-               <tr><td width='100%' colspan='2'>Aktivieren oder deaktivieren sie die TOS-Bits <br /> und klicken Sie danach auf <i>Speichern</i>.
-               <tr><td width='50%' align='left'>Minimale Verzoegerung (8)              <td width='50%'><input type="radio" name="TOS" value="8" $checked[8] />
-               <tr><td width='50%' align='left'>Maximaler Durchsatz (4)                <td width='50%'><input type="radio" name="TOS" value="4" $checked[4] />
-               <tr><td width='50%' align='left'>Maximale Zuverlaessigkeit (2)  <td width='50%'><input type="radio" name="TOS" value="2" $checked[2] />
-               <tr><td width='50%' align='left'>Minimale Kosten (1)                    <td width='50%'><input type="radio" name="TOS" value="1" $checked[1] />
+               <tr><td colspan='2' width='100%'>$Lang::tr{'current class'}: $qossettings{'CLASS'}
+               <tr><td width='100%' colspan='2'>$Lang::tr{'Enter TOS'}
+               <tr><td width='50%' align='left'>$Lang::tr{'min delay'} (8)             <td width='50%'><input type="radio" name="TOS" value="8" $checked[8] />
+               <tr><td width='50%' align='left'>$Lang::tr{'max throughput'} (4)                <td width='50%'><input type="radio" name="TOS" value="4" $checked[4] />
+               <tr><td width='50%' align='left'>$Lang::tr{'max reliability'} (2)       <td width='50%'><input type="radio" name="TOS" value="2" $checked[2] />
+               <tr><td width='50%' align='left'$Lang::tr{'min costs'} (1)                      <td width='50%'><input type="radio" name="TOS" value="1" $checked[1] />
                <tr><td width='100%' align='right' colspan='2'><input type='hidden' name='CLASS' value='$qossettings{'CLASS'}' /><input type='submit' name='DOTOS' value='$Lang::tr{'save'}' />
                </table></form>
 END
@@ -1077,14 +1082,14 @@ sub showclasses {
                                print <<END
                                <table border='0' width='100%' cellspacing='0'>
                                <tr><td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'interface'}</b>
-                                   <td bgcolor='$color{'color20'}' width='10%' align='center'><b>Klasse</b>
-                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>Prioritaet
-                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>Garantierte Bandbreite
-                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>Maximale Bandbreite
+                                   <td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'Class'}</b>
+                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'priority'}
+                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'guaranteed bandwith'}
+                                   <td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'max bandwith'}
                                    <td bgcolor='$color{'color20'}' width='10%' align='center'>Burst
                                    <td bgcolor='$color{'color20'}' width='10%' align='center'>Ceil Burst
                                    <td bgcolor='$color{'color20'}' width='10%' align='center'>TOS
-                                   <td bgcolor='$color{'color20'}' width='20%' align='center'>Aktionen
+                                   <td bgcolor='$color{'color20'}' width='20%' align='center'>$Lang::tr{'action'}
                                <tr><td align='center' bgcolor='$color{'color22'}'>$classline[0]</td>
                                    <td align='center' bgcolor='$color{'color22'}'>$classline[1]</td>
                                    <td align='center' bgcolor='$color{'color22'}'>$classline[2]</td>
@@ -1098,22 +1103,22 @@ sub showclasses {
                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='CLASS' value='$classline[1]' />
                                                <input type='hidden' name='ACTION' value='Unterklasse hinzufuegen' />
-                                               <input type='image' alt='Unterklasse hinzufuegen' src='/images/addblue.gif' />
+                                               <input type='image' alt='$Lang::tr{'add subclass'}' src='/images/addblue.gif' />
                                        </form>
                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='CLASS' value='$classline[1]' />
                                                <input type='hidden' name='ACTION' value='Regel hinzufuegen' />
-                                               <input type='image' alt='Regel hinzufuegen' src='/images/addgreen.gif' />
+                                               <input type='image' alt='$Lang::tr{'Add Rule'}' src='/images/addgreen.gif' />
                                        </form>
                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='CLASS' value='$classline[1]' />
                                                <input type='hidden' name='DOCLASS' value='Bearbeiten' />
-                                               <input type='image' alt='Bearbeiten' src='/images/edit.gif' />
+                                               <input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
                                        </form>
                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='CLASS' value='$classline[1]' />
                                                <input type='hidden' name='DOCLASS' value='Loeschen' />
-                                               <input type='image' alt='Loeschen' src='/images/delete.gif' />
+                                               <input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
                                        </form>
                                        </table>
                                    </td>
@@ -1130,7 +1135,7 @@ END
                                                if ( $l7ruleline[0] eq $classline[1] )
                                                {
                                                        print <<END
-                               <tr><td align='right' colspan='2'><b>Level7-Protokoll:</b>
+                               <tr><td align='right' colspan='2'><b>$Lang::tr{'Level7 Protocol'}:</b>
                                    <td align='center' colspan='6'>$l7ruleline[2]
                                    <td align='right' >
                                        <table border='0'><tr>
@@ -1152,8 +1157,8 @@ END
                                                        if (($l7ruleline[3] ne "") || ($l7ruleline[4] ne "")){
                                                                print <<END
                                <tr><td align='center'>&nbsp;
-                                   <td align='right' colspan='3'><b>Quell-IP:</b> $l7ruleline[3]
-                                   <td align='right' colspan='3'><b>Ziel-IP:</b> $l7ruleline[4]
+                                   <td align='right' colspan='3'><b>$Lang::tr{'source ip'}:</b> $l7ruleline[3]
+                                   <td align='right' colspan='3'><b>$Lang::tr{'destination ip'}:</b> $l7ruleline[4]
 END
 ;
                                                        }
@@ -1173,7 +1178,7 @@ END
                                                if ( $portruleline[0] eq $classline[1] )
                                                {
                                                        print <<END
-                               <tr><td align='right' colspan='2'><b>Port-Regel:</b>
+                               <tr><td align='right' colspan='2'><b>$Lang::tr{'Port Rule'}:</b>
                                    <td align='center'>($portruleline[2])
                                    <td align='center' colspan='2'>
 END
@@ -1203,7 +1208,7 @@ END
                                                <input type='hidden' name='DIP' value='$portruleline[5]' />
                                                <input type='hidden' name='DPORT' value='$portruleline[6]' />
                                                <input type='hidden' name='DOPORT' value='Bearbeiten' />
-                                               <input type='image' alt='Bearbeiten' src='/images/edit.gif' />
+                                               <input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
                                        </form>
                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='CLASS' value='$portruleline[0]' />
@@ -1213,7 +1218,7 @@ END
                                                <input type='hidden' name='DIP' value='$portruleline[5]' />
                                                <input type='hidden' name='DPORT' value='$portruleline[6]' />
                                                <input type='hidden' name='DOPORT' value='Loeschen' />
-                                               <input type='image' alt='Loeschen' src='/images/delete.gif' />
+                                               <input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
                                        </form>
                                    </table>
 END
@@ -1221,8 +1226,8 @@ END
                                                        if (($portruleline[3] ne "") || ($portruleline[5] ne "")){
                                                                print <<END
                                <tr><td align='center'>&nbsp;
-                                   <td align='right' colspan='3'><b>Quell-IP:</b> $portruleline[3]
-                                   <td align='right' colspan='3'><b>Ziel-IP:</b> $portruleline[5]
+                                   <td align='right' colspan='3'><b>$Lang::tr{'source ip'}:</b> $portruleline[3]
+                                   <td align='right' colspan='3'><b>$Lang::tr{'destination ip'}:</b> $portruleline[5]
 END
 ;
                                                        }
@@ -1243,13 +1248,13 @@ END
 END
 ;
                                                        if ( $tosruleline[2] eq "8") {
-                                                               print "Minimale Verzoegerung\n";
+                                                               print "$Lang::tr{'min delay'}\n";
                                                        } elsif ( $tosruleline[2] eq "4") {
-                                                               print "Maximaler Durchsatz\n";
+                                                               print "$Lang::tr{'max throughput'}\n";
                                                        } elsif ( $tosruleline[2] eq "2") {
-                                                               print "Maximaler Durchsatz\n";
+                                                               print "$Lang::tr{'max reliability'}\n";
                                                        } elsif ( $tosruleline[2] eq "1") {
-                                                               print "Minimale Kosten\n";
+                                                               print "$Lang::tr{'min costs'}\n";
                                                        } else { print "&nbsp;\n"; }
 
                                                        print <<END
@@ -1261,14 +1266,14 @@ END
                                                                <input type='hidden' name='DEV' value='$tosruleline[1]' />
                                                                <input type='hidden' name='TOS' value='$tosruleline[2]' />
                                                                <input type='hidden' name='DOTOS' value='Bearbeiten' />
-                                                               <input type='image' alt='Bearbeiten' src='/images/edit.gif' />
+                                                               <input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
                                                        </form>
                                                        <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                                <input type='hidden' name='CLASS' value='$tosruleline[0]' />
                                                                <input type='hidden' name='DEV' value='$tosruleline[1]' />
                                                                <input type='hidden' name='TOS' value='$tosruleline[2]' />
                                                                <input type='hidden' name='DOTOS' value='Loeschen' />
-                                                               <input type='image' alt='Loeschen' src='/images/delete.gif' />
+                                                               <input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
                                                        </form>
                                                </table>
 END
@@ -1283,7 +1288,7 @@ END
                                        @subclassline = split( /\;/, $subclassentry );
                                        if ( $subclassline[1] eq $classline[1] ) {
                                                print <<END
-                                                       <tr><td align='center' bgcolor='#FAFAFA'>Subklasse:
+                                                       <tr><td align='center' bgcolor='#FAFAFA'>$Lang::tr{'Subclass'}:
                                                            <td align='center' bgcolor='#FAFAFA'>$subclassline[2]
                                                            <td align='center' bgcolor='#FAFAFA'>$subclassline[3]
                                                            <td align='center' bgcolor='#FAFAFA'>$subclassline[4]
@@ -1296,17 +1301,17 @@ END
                                                <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                        <input type='hidden' name='CLASS' value='$subclassline[2]' />
                                                        <input type='hidden' name='ACTION' value='Regel hinzufuegen' />
-                                                       <input type='image' alt='Regel hinzufuegen' src='/images/addgreen.gif' />
+                                                       <input type='image' alt='$Lang::tr{'Add Rule'}' src='/images/addgreen.gif' />
                                                </form>
                                                <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                        <input type='hidden' name='CLASS' value='$subclassline[2]' />
                                                        <input type='hidden' name='DOSCLASS' value='Bearbeiten' />
-                                                       <input type='image' alt='Bearbeiten' src='/images/edit.gif' />
+                                                       <input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
                                                </form>
                                                <td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                        <input type='hidden' name='CLASS' value='$subclassline[2]' />
                                                        <input type='hidden' name='DOSCLASS' value='Loeschen' />
-                                                       <input type='image' alt='Loeschen' src='/images/delete.gif' />
+                                                       <input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
                                                </form>
                                                </table>
 END
@@ -1325,14 +1330,14 @@ END
 
 sub expert
 {
-       &Header::openbox('100%', 'center', 'Expertenoptionen:');
+       &Header::openbox('100%', 'center', $Lang::tr{'expertoptions'});
        print <<END
                <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                <table width='66%'>
                <tr><td width='33%' align='right'>MTU:<td width='33%' align='left'>
                        <input type='text' name='MTU' maxlength='8' required='4' value='$qossettings{'MTU'}' />
-                   <td width='33%' align='center'>Diese Einstellung aendert die MTU nicht global sondern nur fuer das QoS.
-               <tr><td width='33%' align='right'>Queue Laenge:<td width='33%' align='left'>
+                   <td width='33%' align='center'>$Lang::tr{'mtu QoS'}
+               <tr><td width='33%' align='right'>$Lang::tr{'Queuelenght'}:<td width='33%' align='left'>
                        <input type='text' name='QLENGTH' maxlength='8' required='2' value='$qossettings{'QLENGTH'}' />
                    <td width='33%' align='center'>&nbsp;
                <tr><td width='33%' align='right'>SFQ Perturb:<td width='33%' align='left'>
@@ -1354,7 +1359,7 @@ sub validminbwdth {
                }
                unless ( ( $qossettings{'MINBWDTH'} >= 1 ) && ( $qossettings{'MINBWDTH'} <= $qossettings{'SPD'} ) ) {
                        $qossettings{'VALID'} = 'no';
-                       $message = "Mindestbandbreite ist ungueltig.";
+                       $message = "$Lang::tr{'false min bandwith'}";
                }
                $qossettings{'SPD'} = '';
        }
@@ -1369,7 +1374,7 @@ sub validmaxbwdth {
                }
                unless ( ( $qossettings{'MAXBDWTH'} >= 0 ) && ($qossettings{'MAXBDWTH'} >= $qossettings{'MINBDWTH'}) &&( $qossettings{'MAXBDWTH'} <= $qossettings{'SPD'} ) ) {
                        $qossettings{'VALID'} = 'no';
-                       $message = "Mamimalbandbreite ist ungueltig.";
+                       $message = "$Lang::tr{'false max bandwith'}";
                }
                $qossettings{'SPD'} = '';
        }
@@ -1380,7 +1385,7 @@ sub validclass {
                if ( $qossettings{'DEVICE'} eq $qossettings{'RED_DEV'} ) {
                        if ($qossettings{'CLASS'} lt 100 || $qossettings{'CLASS'} ge 121) {
                                $qossettings{'VALID'} = 'no';
-                               $message = "Die Klassennummer passt nicht zum angegebenen Interface.";
+                               $message = "$Lang::tr{'false classnumber'}";
                        }
                } elsif ( $qossettings{'DEVICE'} eq $qossettings{'IMQ_DEV'} ) {
                        if ($qossettings{'CLASS'} lt 200 || $qossettings{'CLASS'} ge 221) {
@@ -1397,7 +1402,7 @@ sub validclass {
                        if ( $tmpline[1] eq $qossettings{'CLASS'} )
                        {
                                $qossettings{'VALID'} = 'no';
-                               $message = "Die aktuelle Klasse wird bereits verwendet.";
+                               $message = "$Lang::tr{'false classnumber'}";
                                last
                        }
                }
@@ -1415,60 +1420,9 @@ sub validsubclass {
                        if ( $tmpline[2] eq $qossettings{'SCLASS'} )
                        {
                                $qossettings{'VALID'} = 'no';
-                               $message = "Die aktuelle Klasse wird bereits verwendet.";
+                               $message = "$Lang::tr{'class in use'}";
                                last
                        }
                }
        }
 }
-
-sub overviewgraph {
-       $qossettings{'DEV'} = shift;
-       if ( $qossettings{'DEV'} eq $qossettings{'RED_DEV'} ) { 
-               $qossettings{'CLASSPRFX'} = '1';
-       } else { 
-               $qossettings{'CLASSPRFX'} = '2';
-       }
-       my $ERROR="";
-       my $count="1";
-       my $color="#000000";
-       my @command=("/srv/web/ipfire/html/graphs/qos-graph-$qossettings{'DEV'}.png",
-               "--start", "-3240", "-aPNG", "-i", "-z",
-               "--alt-y-grid", "-w 600", "-h 150", "-r",
-               "--color", "SHADEA#EAE9EE",
-               "--color", "SHADEB#EAE9EE",
-               "--color", "BACK#FFFFFF",
-               "-t Auslastung auf ($qossettings{'DEV'})"
-       );
-       open( FILE, "< $classfile" ) or die "Unable to read $classfile";
-       @classes = <FILE>;
-       close FILE;
-       foreach $classentry (sort @classes)
-       {
-               @classline = split( /\;/, $classentry );
-               if ( $classline[0] eq $qossettings{'DEV'} )
-               {
-                       $color=random_hex_color(6);
-                       push(@command, "DEF:$classline[1]=/var/log/rrd/class_$qossettings{'CLASSPRFX'}-$classline[1]_$qossettings{'DEV'}.rrd:bits:AVERAGE");
-
-                       if ($count eq "1") {
-                               push(@command, "AREA:$classline[1]$color:Klasse $classline[1] - $classline[8]\\j");
-                       } else {
-                               push(@command, "STACK:$classline[1]$color:Klasse $classline[1] - $classline[8]\\j");
-                       }
-                       $count++;
-               }
-       }
-       RRDs::graph (@command);
-       $ERROR = RRDs::error;
-       print "$ERROR";
-}
-
-sub random_hex_color {
-    my $size = shift;
-    $size = 6 if $size !~ /^3|6$/;
-    my @hex = ( 0 .. 9, 'a' .. 'f' );
-    my @color;
-    push @color, @hex[rand(@hex)] for 1 .. $size;
-    return join('', '#', @color);
-}
diff --git a/html/cgi-bin/qosgraph.cgi b/html/cgi-bin/qosgraph.cgi
new file mode 100644 (file)
index 0000000..f4964f6
--- /dev/null
@@ -0,0 +1,80 @@
+#!/usr/bin/perl
+#
+# SmoothWall CGIs
+#
+# This code is distributed under the terms of the GPL
+#
+# (c) The SmoothWall Team
+#
+#
+
+use strict;
+
+# enable only the following on debugging purpose
+use warnings;
+use CGI::Carp 'fatalsToBrowser';
+
+require '/var/ipfire/general-functions.pl';
+require "${General::swroot}/lang.pl";
+require "${General::swroot}/header.pl";
+require "${General::swroot}/graphs.pl";
+
+my @cgigraph=();
+my $errormessage = "";
+
+&Header::showhttpheaders();
+
+$ENV{'QUERY_STRING'} =~ s/&//g;
+@cgigraph = split(/graph=/,$ENV{'QUERY_STRING'});
+$cgigraph[1] = '' unless defined $cgigraph[1];
+
+&Graphs::overviewgraph("day",$cgigraph[1]);
+&Graphs::overviewgraph("week",$cgigraph[1]);
+&Graphs::overviewgraph("month",$cgigraph[1]);
+&Graphs::overviewgraph("year",$cgigraph[1]);
+
+&Header::openpage('QoS', 1, '');
+&Header::openbigbox('100%', 'left', '', $errormessage);
+&Header::openbox('100%', 'left', $cgigraph[1]);
+
+       if (-e "/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-day.png") {
+               my $ftime = localtime((stat("/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-day.png"))[9]);
+               print "<center>";
+               print "<b>$Lang::tr{'the statistics were last updated at'}: $ftime</b></center><br />\n";
+               print "<img alt='' src='/graphs/qos-graph-$cgigraph[1]-day.png' border='0' /><hr />";
+       } else {
+               print $Lang::tr{'no information available'};
+       }
+
+       if (-e "/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-week.png") {
+               my $ftime = localtime((stat("/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-week.png"))[9]);
+               print "<center>";
+               print "<b>$Lang::tr{'the statistics were last updated at'}: $ftime</b></center><br />\n";
+               print "<img alt='' src='/graphs/qos-graph-$cgigraph[1]-week.png' border='0' /><hr />";
+       } else {
+               print $Lang::tr{'no information available'};
+       }
+
+       if (-e "/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-month.png") {
+               my $ftime = localtime((stat("/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-month.png.png"))[9]);
+               print "<center>";
+               print "<b>$Lang::tr{'the statistics were last updated at'}: $ftime</b></center><br />\n";
+               print "<img alt='' src='/graphs/qos-graph-$cgigraph[1]-month.png' border='0' /><hr />";
+       } else {
+               print $Lang::tr{'no information available'};
+       }
+       
+       if (-e "/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-year.png") {
+               my $ftime = localtime((stat("/srv/web/ipfire/html/graphs/qos-graph-$cgigraph[1]-year.png"))[9]);
+               print "<center>";
+               print "<b>$Lang::tr{'the statistics were last updated at'}: $ftime</b></center><br />\n";
+               print "<img alt='' src='/graphs/qos-graph-$cgigraph[1]-year.png' border='0' /><hr />";
+       } else {
+               print $Lang::tr{'no information available'};
+       }
+       
+       print"<div align='center'><br/><a href='/cgi-bin/qos.cgi'>$Lang::tr{'back'}</a></div>";
+
+&Header::closebox();
+&Header::closebigbox();
+&Header::closepage();
index 70b1247ba7b5aa6d45a5ec586cd318fa3ad8ff06..ba638327e2594df4ea7a8a62333af7adc29bc0a3 100644 (file)
@@ -2,6 +2,11 @@
 %tr,
 
 'Act as' => 'Konfiguriert als',
+'Add Port Rule' => 'Port Regel hinzufügen',
+'Add Rule' => 'Regel hinzufügen',
+'Choose Rule' => 'Waehlen sie <u>eine</u> der untenstehenden Regeln aus.',
+'Class' => 'Klasse',
+'Class was deleted' => 'wurde mit eventuell vorhandenen Unterklassen geloescht',
 'Client status and controlc' => 'Client Status und Kontrolle',
 'ConnSched action' => 'Aktion:',
 'ConnSched add action' => 'Aktion hinzufügen',
 'ConnSched time' => 'Zeit:',
 'ConnSched up' => 'Hoch',
 'ConnSched weekdays' => 'Wochentage:',
+'Enter TOS' => 'Aktivieren oder deaktivieren sie die TOS-Bits <br /> und klicken Sie danach auf <i>Speichern</i>.',
 'Existing Files' => 'Dateien in der Datenbank',
 'HDD temperature' => 'HDD-Temperatur',
+'Level7 Protocol' => 'Level7-Protokoll',
+'Level7 Rule' => 'Level7-Regel',
 'Local VPN IP' => 'Internes Netzwerk (GREEN)',
 'MTU' => 'MTU Size',
 'Number of IPs for the pie chart' => 'Anzahl der angezeigten IPs im Diagramm',
 'OpenVPN' => 'OpenVPN',
 'Pages' => 'Seiten',
 'Ping' => 'Ping ',
+'Port Rule' => 'Port-Regel',
+'QoS not enabled' => 'QoS ist nicht aktiviert!',
+'Queuelenght' => 'Warteschlangenlaenge',
 'Remote IP' => 'Entfernte IP / Hostname (DynDNS)',
 'Remote VPN IP' => 'VPN Subnetz (z.B. 10.0.10.0/255.255.255.0)',
 'Resolv' => 'Resolv-Retry',
 'Scan for Files' => 'Nach Dateien suchen',
 'Scan from Directory' => 'Scan Verzeichnis',
+'Subclass' => 'Unterklasse',
+'TOS Bits' => 'TOS-Bits',
+'TOS Rule' => 'TOS-Regel',
+'Utilization on' => 'Auslastung auf',
 'Verbose' => 'Verbose',
 'WakeOnLan' => 'Wake On LAN',
 'a ca certificate with this name already exists' => 'Ein CA-Zertifikat mit diesem Namen existiert bereits.',
@@ -59,6 +74,7 @@
 'add printer' => 'Drucker hinzufügen',
 'add service' => 'Dienst hinzufügen',
 'add share' => 'Freigabe anlegen',
+'add subclass' => 'Unterklasse hinzufügen',
 'add user' => 'Benutzer anlegen',
 'add xtaccess' => 'Externen Zugang hinzugefügt',
 'add-route' => 'Additional push route',
 'bad return code' => 'Das Hilfsprogramm hat einen Fehlercode gemeldet',
 'bad source range' => 'Der erste Wert des Quellportbereich ist größer oder gleich dem zweiten Wert.',
 'bandwidth usage' => 'Bandbreitenauslastung (extern)',
+'bandwitherror' => 'Sie koennen die Bandbreiteneinstellungen nicht bearbeiten, wenn QoS eingeschaltet ist. Schalten sie es zuerst dazu aus.<p>',
+'bandwithsettings' => 'Bandbreiteneinstellungen',
 'basic options' => 'Basisoptionen',
 'beep when ppp connects or disconnects' => 'Piepen, wenn IPFire verbindet oder trennt',
 'behind a proxy' => 'Hinter einem Proxy:',
 'choose config' => 'Konfiguration auswaehlen',
 'cipher' => 'Verschlüsselung',
 'city' => 'Stadt',
+'class in use' => 'Die aktuelle Klasse wird bereits verwendet.',
 'clear cache' => 'Zwischenspeicher löschen',
 'clear playlist' => 'leere Playlist',
 'clenabled' => 'Uhrzeit dem lokalen Netzwerk zur Verfügung stellen',
 'cron server' => 'Cron-Server',
 'current' => 'Aktuell',
 'current aliases' => 'Aktuelle Alias-Adresse:',
+'current class' => 'Aktuelle Klasse',
 'current devices' => 'Schnittstellen',
 'current dhcp leases on blue' => 'Aktuelle DHCP Zuordnungen auf Blau',
 'current dynamic leases' => 'Aktuelle dynamische Zuordnungen',
 'dialup settings' => 'Einwahl-Einstellungen',
 'directory mask' => 'UNIX Verzeichnis Rechte',
 'directory writeable' => 'Verzeichnis schreibbar',
+'disabled' => 'deaktiviert',
 'disconnect' => 'OVPN Stop / Trennen',
 'disconnects' => 'Abbrüche',
 'disk access per' => 'Plattenzugriff je',
 'domain name' => 'Domainname',
 'domain name suffix' => 'Domain-Name-Suffix:',
 'domain not set' => 'Domain nicht eingegeben.',
+'down and up speed' => 'Geben Sie bitte hier ihre Download- bzw. Upload-Geschwindigkeit ein <br /> und klicken Sie danach auf <i>Speichern</i>.',
 'downlink speed' => 'Downlink-Geschwindigkeit (kBit/sek)',
+'downlink std class' => 'Downloadstandardklasse',
 'download' => 'herunterladen',
 'download ca certificate' => 'CA Zertifikat herunterladen',
 'download certificate' => 'Zertifikate herunterladen',
 'encapsulation' => 'Encapsulation',
 'encrypted' => 'Verschlüsselt',
 'end address' => 'Endadresse:',
+'enter ack class' => 'Legen sie hier die ACK-Klasse fest <br /> und klicken Sie danach auf <i>Speichern</i>.',
+'enter data' => 'Geben sie die Daten ein <br /> und klicken Sie danach auf <i>Speichern</i>.',
 'err bk 1' => 'Fehler beim Erzeugen des Archivs',
 'err bk 10 password' => 'Fehler beim Datensicherungs-Passwort',
 'err bk 2 key' => 'Fehler beim Erzeugen der Schlüsseldatei',
 'exampel' => 'Beispiel',
 'excluding buffers and cache' => '-/+ Puffer/Zwischenspeicher',
 'expected' => 'Erwartet',
+'expertoptions' => 'Expertenoptionen',
 'expires' => 'Ablaufdatum',
 'export' => 'Export',
 'exportkey' => 'PSK exportieren',
 'external access rule changed' => 'External access Regel geaendert; Der access controller wird neu gestartet.',
 'external access rule removed' => ' Regel für externen Zugang entfernt; Starte Zugangskontroller neu',
 'external aliases configuration' => 'Externe Alias-Konfiguration',
+'false classnumber' => 'Die Klassennummer passt nicht zum angegebenen Interface.',
+'false max bandwith' => 'Maximalbandbreite ist ungueltig.',
+'false min bandwith' => 'Mindestbandbreite ist ungueltig.',
 'february' => 'Februar',
 'fetch ip from' => 'Schätze die echte öffentliche IP-Adresse mit Hilfe eines externen Servers',
 'filename' => 'Dateiname',
 'graph per' => 'Diagramm pro',
 'green' => 'GRÜN',
 'green interface' => 'Grünes Interface',
+'guaranteed bandwith' => 'Garantierte Bandbreite',
 'guest ok' => 'Gastzugang gewähren',
 'gui settings' => 'Benutzeroberfläche',
 'gz with key' => 'Nur ein verschlüsseltes Archiv kann auf dieser Maschine wiederhergestellt werden.',
 'map to guest' => 'Map to Guest',
 'march' => 'März',
 'marked' => 'Markiert',
+'max bandwith' => 'Maximale Bandbreite',
 'max incoming size' => 'Max. eingehende Größe (kB):',
 'max lease time' => 'Max. Haltezeit in min:',
 'max outgoing size' => 'Max. abgehende Größe (kB):',
+'max reliability' => 'Maximale Zuverlaessigkeit',
 'max renewal time' => 'Maximale Aktualisierungszeit',
 'max retries not set' => 'Maximale Wiederholversuche nicht angegeben.',
 'max size' => 'Max. Objektgröße (kB):',
+'max throughput' => 'Maximaler Durchsatz',
 'maximal' => 'Maximal',
 'maximum retries' => 'Maximale Wiederholversuche:',
 'may' => 'Mai',
 'memory information' => 'Speicherinformationen',
 'memory usage per' => 'Speichernutzung pro',
 'method' => 'Methode:',
+'min costs' => 'Minimale Kosten',
+'min delay' => 'Minimale Verzoegerung',
 'min size' => 'Min. Objektgröße (kB):',
 'minimal' => 'Minimal',
 'minutes' => 'Minuten',
 'mpfire scanning' => 'Nach neuen Dateien suchen',
 'mpfire songs' => 'MPFire Songliste',
 'mpfire webradio' => 'MPFire Webradio',
+'mtu QoS' => 'Diese Einstellung aendert die MTU nicht global sondern nur fuer das QoS.',
 'my new share' => 'Meine neue Freigabe',
 'name' => 'Name',
 'name is invalid' => 'Name ist ungültig',
 'no cfg upload' => 'Keine Daten wurden hochgeladen',
 'no dhcp lease' => 'Eine DHCP-Zuordnung konnte nicht empfangen werden',
 'no eciadsl synch.bin file' => 'Keine ECI ADSL Datei synch.bin vorhanden. Bitte hochladen.',
+'no filter pass' => 'Legen sie hier die Standardklassen fest durch die nicht-gefilterte Pakete gehen.',
 'no fritzdsl driver' => 'Kein Fritz!DSL-Treiber vorhanden. Bitte hochladen.',
 'no information available' => 'Keine Informationen verfügbar.',
 'no log selected' => 'kein Log ausgewählt',
 'pakfire updates' => 'Zur Verfügung stehende Updates:',
 'pakfire working' => 'Pakfire führt gerade eine Aufgabe aus... Bitte warten sie, bis diese erfolgreich beendet wurde.',
 'pap or chap' => 'PAP oder CHAP',
+'parentclass' => 'Parentklasse',
 'password' => 'Passwort:',
 'password contains illegal characters' => 'Passwort enthält ungültige(s) Zeichen.',
 'password crypting key' => 'Schlüssel wird mit dem Passwort chiffriert',
 'status' => 'Status',
 'status information' => 'Statusinformationen',
 'status ovpn' => 'OpenVPN',
+'std classes' => 'Standardklassen',
 'stop' => 'Stop',
 'stop ovpn server' => 'Stoppe OpenVPN Server',
 'stopped' => 'ANGEHALTEN',
 'updxlrtr year' => 'einem Jahr',
 'upgrade' => 'upgrade',
 'uplink speed' => 'Uplink-Geschwindigkeit (kBit/sek)',
+'uplink std class' => 'Uploadstandardklasse',
 'upload' => 'Hochladen',
 'upload a certificate' => 'Ein Zertifikat hochladen:',
 'upload a certificate request' => 'Eine Zertifikatsanfrage hochladen:',
 'waiting to synchronize clock' => 'Bitte warten, die Uhr wird synchronisiert',
 'warn when traffic reaches' => 'Warnen wenn Traffic x % erreicht',
 'warning messages' => 'Warnhinweise',
+'was deleted' => 'wurde gelöscht',
 'web hits' => 'Gesamtanzahl der Websites zum ausgewählten Kriterium',
 'web proxy' => 'Web-Proxy',
 'web proxy configuration' => 'Web-Proxy-Konfiguration',
index 47958db3552a333ab5b5ea498175ff350905f5d4..c48537bcdab15d3e283b6da9876319bb53351ff6 100644 (file)
@@ -2,6 +2,11 @@
 %tr,
 
 'Act as' => 'Act as:',
+'Add Port Rule' => 'Add port rule',
+'Add Rule' => 'Add Rule',
+'Choose Rule' => 'Choose <u>one</u> of the following rules.',
+'Class' => 'Class',
+'Class was deleted' => 'with potential Subclasses was deleted',
 'Client status and controlc' => 'Client status and control:',
 'ConnSched action' => 'Action:',
 'ConnSched add action' => 'Add action',
 'ConnSched time' => 'Time:',
 'ConnSched up' => 'Up',
 'ConnSched weekdays' => 'Days of the week:',
+'Enter TOS' => 'Activate or Deactivate TOS-Bits <br /> and then press <i>Save</i>.',
 'Existing Files' => 'Files in database',
 'HDD temperature' => 'HDD temperature',
+'Level7 Protocol' => 'Level7-Protocol',
+'Level7 Rule' => 'Level7-Rule',
 'Local VPN IP' => 'Internal Network (GREEN):',
 'MTU' => 'MTU Size:',
 'Number of IPs for the pie chart' => 'Number of IPs for the pie chart',
 'OpenVPN' => 'OpenVPN',
 'Pages' => 'Pages',
 'Ping' => 'Ping :',
+'Port Rule' => 'Port-Rule',
+'QoS not enabled' => 'QoS is not enabled!',
+'Queuelenght' => 'Queuelenght',
 'Remote IP' => 'Remote IP / Hostname (DynDNS):',
 'Remote VPN IP' => 'VPN Subnet (e.g. 10.0.10.0/255.255.255.0):',
 'Resolv' => 'Resolv-Retry:',
 'Scan for Files' => 'Scan for files',
 'Scan from Directory' => 'Scan from directory',
+'Subclass' => 'Subclass',
+'TOS Bits' => 'TOS-Bits',
+'TOS Rule' => 'TOS-Rule',
+'Utilization on' => 'Utilization on',
 'Verbose' => 'Verbose:',
 'WakeOnLan' => 'Wake On LAN',
 'a ca certificate with this name already exists' => 'A CA Certificate with this name already exists.',
@@ -59,6 +74,7 @@
 'add printer' => 'add printer',
 'add service' => 'Add service',
 'add share' => 'add share',
+'add subclass' => 'add subclass',
 'add user' => 'add User',
 'add xtaccess' => 'Add External Access',
 'add-route' => 'Additional push route',
 'bad return code' => 'Helper program returned error code',
 'bad source range' => 'The Source port range has a first value that is greater than or equal to the second value.',
 'bandwidth usage' => 'bandwidth usage (external)',
+'bandwitherror' => 'You cannot change the bandwithsettings, with Qos being enabled. First disable Qos.<p>',
+'bandwithsettings' => 'Bandwithsettings',
 'basic options' => 'Basic Options',
 'beep when ppp connects or disconnects' => 'Beep when IPFire connects or disconnects',
 'behind a proxy' => 'Behind a proxy:',
 'choose media' => 'Choose media',
 'cipher' => 'Encryption:',
 'city' => 'City',
+'class in use' => 'The class is already in use.',
 'clear cache' => 'Clear Cache',
 'clear playlist' => 'empty playlist',
 'clenabled' => 'Provide time to local network',
 'cron server' => 'CRON server',
 'current' => 'Current',
 'current aliases' => 'Current aliases:',
+'current class' => 'Current class',
 'current devices' => 'Current devices',
 'current dhcp leases on blue' => 'Current DHCP leases on Blue',
 'current dynamic leases' => 'Current dynamic leases',
 'dialup settings' => 'Dialup Settings',
 'directory mask' => 'UNIX directory rights',
 'directory writeable' => 'directory writeable',
+'disabled' => 'disabled',
 'disconnect' => 'OVPN Stop / Disconnect',
 'disconnects' => 'Disconnects',
 'disk access per' => 'Disk Access per',
 'domain name suffix' => 'Domain name suffix:',
 'domain not set' => 'Domain not set.',
 'done' => 'Do it',
+'down and up speed' => 'Enter your Down- and Uplink-Speed <br /> and then press <i>Save</i>.',
 'downlink speed' => 'Downlink speed (kbit/sec)',
+'downlink std class' => 'downlink standard class',
 'download' => 'download',
 'download ca certificate' => 'Download CA Certificate',
 'download certificate' => 'Download Certificate',
 'encapsulation' => 'Encapsulation',
 'encrypted' => 'Encrypted',
 'end address' => 'End address:',
+'enter ack class' => 'Enter the ACK- Class <br /> and then press <i>Save</i>.',
+'enter data' => 'Enter your settings <br /> and then press <i>Save</i>.',
 'err bk 1' => 'Error creating archive',
 'err bk 10 password' => 'Error with Backup Password',
 'err bk 2 key' => 'Error creating key file',
 'exampel' => 'exampel',
 'excluding buffers and cache' => '-/+ buffers/cache',
 'expected' => 'Expected',
+'expertoptions' => 'Expert options',
 'expires' => 'Expires',
 'export' => 'Export',
 'exportkey' => 'Export PSK',
 'external access rule changed' => 'External access rule changed; restarting access controller',
 'external access rule removed' => ' External access rule removed; restarting access controller',
 'external aliases configuration' => 'External aliases configuration',
+'false classnumber' => 'The Class-Number does not match the interface.',
+'false max bandwith' => 'Maximum bandwith is false.',
+'false min bandwith' => 'Minimum bandwith is false.',
 'february' => 'February',
 'fetch ip from' => 'Guess the real public IP with help of an external server',
 'filename' => 'Filename',
 'graph per' => 'Graph per',
 'green' => 'GREEN',
 'green interface' => 'Green Interface',
+'guaranteed bandwith' => 'Guaranteed bandwith',
 'guest ok' => 'allow guests to access',
 'gui settings' => 'GUI Settings',
 'gz with key' => 'Only an encrypted archive can be restored on this machine.',
 'map to guest' => 'Map to Guest',
 'march' => 'March',
 'marked' => 'Marked',
+'max bandwith' => 'Maximum bandwith',
 'max incoming size' => 'Max incoming size (KB):',
 'max lease time' => 'Max lease time (mins):',
 'max outgoing size' => 'Max outgoing size (KB):',
+'max reliability' => 'Maximum reliability',
 'max renewal time' => 'Maximum Renewal Time',
 'max retries not set' => 'Max retries not set.',
 'max size' => 'Max object size (KB):',
+'max throughput' => 'Maximum throughput',
 'maximal' => 'Maximal',
 'maximum retries' => 'Maximum retries:',
 'may' => 'May',
 'memory information' => 'memory information',
 'memory usage per' => 'Memory Usage per',
 'method' => 'Method:',
+'min costs' => 'Minimum costs',
+'min delay' => 'Minimum delay',
 'min size' => 'Min object size (KB):',
 'minimal' => 'Minimal',
 'minutes' => 'Minutes',
 'mpfire scanning' => 'Scan for new files',
 'mpfire songs' => 'MPFire songlist',
 'mpfire webradio' => 'MPFire Webradio',
+'mtu QoS' => 'This does not change the global MTU, it only sets MTU for QoS.',
 'my new share' => 'My new share',
 'name' => 'Name',
 'name is invalid' => 'Name is invalid',
 'no cfg upload' => 'No data was uploaded',
 'no dhcp lease' => 'No DHCP lease has been acquired',
 'no eciadsl synch.bin file' => 'No ECI ADSL synch.bin file. Please upload.',
+'no filter pass' => 'Enter the standard class for non-filtered packets.',
 'no fritzdsl driver' => 'No Fritz!DSL driver.  Please upload.',
 'no information available' => 'No information available.',
 'no log selected' => 'no log selected',
 'pakfire updates' => 'Available Update:',
 'pakfire working' => 'Pakfire ist working ... Please wait until everything is done successfull.',
 'pap or chap' => 'PAP or CHAP',
+'parentclass' => 'Parentclass',
 'password' => 'Password:',
 'password contains illegal characters' => 'Password contains illegal characters.',
 'password crypting key' => 'Password crypting the key',
 'status' => 'Status',
 'status information' => 'Status information',
 'status ovpn' => '4. OpenVPN Status / Configuration:',
+'std classes' => 'Standardclasses',
 'stop' => 'stop',
 'stop ovpn server' => 'Stop OpenVPN Server',
 'stopped' => 'STOPPED',
 'updxlrtr year' => 'one year',
 'upgrade' => 'upgrade',
 'uplink speed' => 'Uplink speed (kbit/sec)',
+'uplink std class' => 'uplink standard class',
 'upload' => 'Upload',
 'upload a certificate' => 'Upload a certificate:',
 'upload a certificate request' => 'Upload a certificate request:',
 'waiting to synchronize clock' => 'Waiting to synchronize clock',
 'warn when traffic reaches' => 'Warn when traffic reaches x %',
 'warning messages' => 'Warning messages',
+'was deleted' => 'was deleted',
 'web hits' => 'Total number of websites matching selected criteria for',
 'web proxy' => 'Web proxy',
 'web proxy configuration' => 'Web proxy configuration',