'bandwith*' => 'bandwidth*'
Plus: Image button for going back...
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org --- html/cgi-bin/qos.cgi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index e3b3eefb4..faf8a4745 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -777,10 +777,10 @@ END }
sub changebandwidth { - &Header::openbox('100%', 'center', $Lang::tr{'bandwithsettings'}); + &Header::openbox('100%', 'center', $Lang::tr{'bandwidthsettings'}); if ($qossettings{'ENABLED'} eq 'on') { - print "$Lang::tr{'bandwitherror'}"; - print "<a href='/cgi-bin/qos.cgi'>$Lang::tr{'back'}</a>"; + print "$Lang::tr{'bandwidtherror'}"; + print "<table width='100%'><tr><td align='center'><a href='/cgi-bin/qos.cgi'><img src='/images/back.png' alt='$Lang::tr{'back'}' title='$Lang::tr{'back'}' /></a></td></tr></table>"; } else { print <<END <form method='post' action='$ENV{'SCRIPT_NAME'}'> @@ -871,10 +871,10 @@ END print <<END </select> <td width='33%' align='center'> - <tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwith'}: + <tr><td width='33%' align='right'>$Lang::tr{'guaranteed bandwidth'}: <td width='33%' align='left'><input type='text' size='20' name='MINBWDTH' maxlength='8' required='1' value="$qossettings{'MINBWDTH'}" /> <td width='33%' align='center'> - <tr><td width='33%' align='right'>$Lang::tr{'max bandwith'} <img src='/blob.gif' alt='*' />: + <tr><td width='33%' align='right'>$Lang::tr{'max bandwidth'} <img src='/blob.gif' alt='*' />: <td width='33%' align='left'><input type='text' size='20' name='MAXBWDTH' maxlength='8' required='1' value="$qossettings{'MAXBWDTH'}" /> <td width='33%' align='center'> <tr><td width='33%' align='right'>Burst: @@ -1036,8 +1036,8 @@ sub showclasses { <tr><td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'interface'}</b> <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'>$Lang::tr{'guaranteed bandwidth'} + <td bgcolor='$color{'color20'}' width='10%' align='center'>$Lang::tr{'max bandwidth'} <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 @@ -1248,7 +1248,7 @@ sub validminbwdth { } unless ( ( $qossettings{'MINBWDTH'} >= 1 ) && ( $qossettings{'MINBWDTH'} <= $qossettings{'SPD'} ) ) { $qossettings{'VALID'} = 'no'; - $message = "$Lang::tr{'false min bandwith'}"; + $message = "$Lang::tr{'false min bandwidth'}"; } $qossettings{'SPD'} = ''; } @@ -1263,7 +1263,7 @@ sub validmaxbwdth { } unless ( ( $qossettings{'MAXBDWTH'} >= 0 ) && ($qossettings{'MAXBDWTH'} >= $qossettings{'MINBDWTH'}) &&( $qossettings{'MAXBDWTH'} <= $qossettings{'SPD'} ) ) { $qossettings{'VALID'} = 'no'; - $message = "$Lang::tr{'false max bandwith'}"; + $message = "$Lang::tr{'false max bandwidth'}"; } $qossettings{'SPD'} = ''; }