diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index eb4b2e637..a26617edd 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -749,26 +749,43 @@ END sub changebandwidth { &Header::openbox('100%', 'center', $Lang::tr{'bandwidthsettings'}); + if ($qossettings{'ENABLED'} eq 'on') { print "$Lang::tr{'bandwidtherror'}"; print "$Lang::tr{'back'}"; } else { - print < - - - $Lang::tr{'down and up speed'} - $Lang::tr{'downlink speed'}: - - - $Lang::tr{'uplink speed'}: - - - - $Lang::tr{'template warning'} + print < + + + + $Lang::tr{'down and up speed'} + + + $Lang::tr{'downlink speed'}: + + + + + + + + + + + + + $Lang::tr{'uplink speed'}: + + + + + + + $Lang::tr{'template warning'} END -; } + &Header::closebox(); }