Adds missing quotes to href attributes

This commit is contained in:
emanuele-f 2017-02-02 15:52:09 +01:00
parent 696137ca0b
commit 05d4956fbd
22 changed files with 91 additions and 91 deletions

View file

@ -235,7 +235,7 @@ function printAlerts()
false, nil, nil, showElements)
toggleTableButtonPrefs("Enable Hosts Malware Blacklists",
"Enable alerts generated by traffic sent/received by <A HREF=https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt>malware-marked hosts</A>. Overnight new blacklist rules are refreshed.",
"Enable alerts generated by traffic sent/received by <A HREF=\"https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt\">malware-marked hosts</A>. Overnight new blacklist rules are refreshed.",
"On", "enabled", "success",
"Off","disabled", "danger",
"toggle_malware_probing", "ntopng.prefs.host_blacklist", "1",
@ -252,7 +252,7 @@ function printAlerts()
local elementToSwitchSlack = {"row_slack_notification_severity_preference", "sender_username", "slack_webhook"}
toggleTableButtonPrefs("Enable <A HREF=http://www.slack.com>Slack</A> Notification",
toggleTableButtonPrefs("Enable <A HREF=\"http://www.slack.com\">Slack</A> Notification",
"Toggle the alert notification via slack.",
"On", "1", "success", -- On means alerts enabled and thus disable_alerts_generation == 0
"Off", "0", "danger", -- Off for enabled alerts implies 1 for disable_alerts_generation