@ -373,17 +373,15 @@ window.addEvent('load', function () {
@@ -373,17 +373,15 @@ window.addEvent('load', function () {
}
var processServerState = function ( ) {
var transfer _info = "" ;
var transfer _info = friendlyUnit ( serverState . dl _info _speed , true ) ;
if ( serverState . dl _rate _limit > 0 )
transfer _info += "[" + friendlyUnit ( serverState . dl _rate _limit , true ) + "] " ;
transfer _info += friendlyUnit ( serverState . dl _info _speed , true ) ;
transfer _info += " (" + friendlyUnit ( serverState . dl _info _data , false ) + ")"
transfer _info += " [" + friendlyUnit ( serverState . dl _rate _limit , true ) + "]" ;
transfer _info += " (" + friendlyUnit ( serverState . dl _info _data , false ) + ")" ;
$ ( "DlInfos" ) . set ( 'html' , transfer _info ) ;
transfer _info = "" ;
transfer _info = friendlyUnit ( serverState . up _info _speed , true ) ;
if ( serverState . up _rate _limit > 0 )
transfer _info += "[" + friendlyUnit ( serverState . up _rate _limit , true ) + "] " ;
transfer _info += friendlyUnit ( serverState . up _info _speed , true )
transfer _info += " (" + friendlyUnit ( serverState . up _info _data , false ) + ")"
transfer _info += " [" + friendlyUnit ( serverState . up _rate _limit , true ) + "]" ;
transfer _info += " (" + friendlyUnit ( serverState . up _info _data , false ) + ")" ;
$ ( "UpInfos" ) . set ( 'html' , transfer _info ) ;
if ( speedInTitle ) {
document . title = "QBT_TR([D:%1 U:%2])QBT_TR" . replace ( "%1" , friendlyUnit ( serverState . dl _info _speed , true ) ) . replace ( "%2" , friendlyUnit ( serverState . up _info _speed , true ) ) ;