diff --git a/lsp/functions.js b/lsp/functions.js index e9892782..56427740 100644 --- a/lsp/functions.js +++ b/lsp/functions.js @@ -389,7 +389,10 @@ "capabilities": {}, "log": {}, "statistics": {} - }, d); + }, d) + if (settings.settings.LTS != 1) { + $('.LTSonly').remove(); + } } if(callback) { diff --git a/lsp/main.js b/lsp/main.js index da1d1ccb..e6dfc978 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -31,14 +31,15 @@ ['kb_total', 'Total bandwidth'], ['kbps_max', 'Current bandwidth'], ['users', 'Concurrent users'], - ['streams', 'Cocurrent streams'], ['geo', 'Geolimited'], - ['host', 'Hostlimited'], - ['time', 'Timelimited'], + ['host', 'Hostlimited'] + ]; + + /* Not currently supported but may return at a later time: ['duration', 'Duration'], ['str_kbps_min', 'Minimum bitrate'], ['str_kbps_max', 'Maximum bitrate'] - ]; + /* /** @@ -63,9 +64,6 @@ showTab($(this).text()); }); - if (($(this).text() == "limits") && (settings.settings.LTS != 1)) { - $(this).remove(); - } }); // show login 'tab' and hide menu diff --git a/lsp/server.html b/lsp/server.html index 8051707e..9aefd675 100644 --- a/lsp/server.html +++ b/lsp/server.html @@ -38,7 +38,7 @@