FIxed ntopng versions inconsistency

This commit is contained in:
Luca 2017-06-15 22:23:10 -04:00
parent 7332cc7c53
commit c89fda21b5
2 changed files with 21 additions and 12 deletions

View file

@ -3321,6 +3321,25 @@ function getSafeChildIcon()
return("&nbsp;<font color='#5cb85c'><i class='fa fa-lg fa-child' aria-hidden='true'></i></font>")
end
-- ###########################################
function printntopngRelease(info)
if(info["version.enterprise_edition"]) then
print(" Enterprise")
elseif(info["pro.release"]) then
print(" Pro [Small Business Edition]")
else
print(" Community")
end
if(info["version.embedded_edition"] == true) then
print("/Embedded")
end
print(" Edition</td></tr>\n")
end
-- ###########################################
--
-- IMPORTANT