Dropbox code cleanup

This commit is contained in:
Simone Mainardi 2019-12-13 10:43:08 +01:00
parent 37f54a5090
commit 0ce4ebad97
11 changed files with 0 additions and 157 deletions

View file

@ -246,9 +246,6 @@ for _key, _value in pairsByKeys(vals, funct) do
if value["childSafe"] then column_ip = column_ip .. getSafeChildIcon() end
local host = interface.getHostInfo(hosts_stats[key].ip, hosts_stats[key].vlan)
if((host ~= nil) and (host.has_dropbox_shares == true)) then
column_ip = column_ip .." <i class='fab fa-dropbox fa-lg'></i> "
end
if((host ~= nil) and (host.country ~= nil) and (host.country ~= "")) then
column_ip = column_ip .."&nbsp;<a href='".. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country="..host.country.."'><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(host.country) .."'></a> "