mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Adds missing quotes to href attributes
This commit is contained in:
parent
696137ca0b
commit
05d4956fbd
22 changed files with 91 additions and 91 deletions
|
|
@ -239,7 +239,7 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if(value["systemhost"] == true) then print(" <i class='fa fa-flag'></i>") end
|
||||
|
||||
if((value["country"] ~= nil) and (value["country"] ~= "")) then
|
||||
print(" <a href=".. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country="..value["country"].."><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(value["country"]) .."'></a>")
|
||||
print(" <a href='".. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country="..value["country"].."'><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(value["country"]) .."'></a>")
|
||||
end
|
||||
|
||||
print(" ")
|
||||
|
|
@ -310,7 +310,7 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if(value["asn"] == 0) then
|
||||
print(", \"column_asn\" : 0")
|
||||
else
|
||||
print(", \"column_asn\" : \"<A HREF=" .. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?asn=".. value["asn"] ..">"..value["asname"].."</A>\"")
|
||||
print(", \"column_asn\" : \"<A HREF='" .. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?asn=".. value["asn"] .."'>"..value["asname"].."</A>\"")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue